What's a blank rule? Do you mean an empty line in your console or something else?
Try running php artisan migrate -vvv to run it at maximum verbosity.
Also, check your logs in storage\logs, there might be a clue there.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello everybody. Laravel newbie here. Since I changed my job, they want me to learn Laravel. I've been following the Laracasts, but with the database migration, I stumble upon a problem.
The line "php artisan migrate", does not do anything. It leaves a blank rule and then it stops. I assume there is an error. Though I cannot find anything to turn error reporting on, so I can know WHAT the error is.
I've also tried "php artisan migrate:refresh", to no avail. With the "mysql" command, it show (logically) no tables. I really been struggling with this.
If more info is needed, I shall provide it.

UPDATE: I tried to go to localhost/phpmyadmin which returned a 404 - not found. It's a valet thing, so I'm going to look into that first.
UPDATE TWO: After a lot, A LOT, trial and error, I managed to get it working. Making the swap to MariaDb allowed me to return error messages. I reinstalled MariaDB, with secure settings. Edited those settings into my .env file and now I'm finally able to migrate. Thanks for the help lads, appriciate it!
Please or to participate in this conversation.