Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

letto's avatar
Level 1

Isssue with php artisan migrate

Hello,

I have problem with php artisan migrate. I have 3 migrations in folder migrations in my project and I want to send them to my database on mysql and when I'm using php artisan migrate, it won't send my migrations. I have properly configuration of my .env file. Do you have any suggestions?

0 likes
5 replies
edoc's avatar

what error do you get when running php artisan migrate?

trungtranqn91's avatar

As edoc said: what error do you get when running php artisan migrate? And if you already ran php artisan migrate without any error but the migration not yet applied to your DB, you can check the connection between your project and your database. Did you using two different database?

Tray2's avatar

Share your migrations with us as well.

letto's avatar
Level 1

I don't have any error. It's loading forever. Maybe is it issue with socket? I don't use one database on localhost.

RamjithAp's avatar

Check your database connection migrate will not load only when database connection couldn't be established.

Please or to participate in this conversation.