ignaciodev's avatar

Laravell 12 with MySQL instead

Hello, Laravel has now stopped asking if I want to use MySQL instead of SQLite.

I'm a bit lost trying to change it myself.

On a fresh install, I've changed my .env:

DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=sail
DB_PASSWORD=password

Seems to be working great with Sail.

But when I push to github, the workflow tests.yml seems to fail.

Do I need to update it too? I'm not versed with github workflows, so please excuse my ignorance..

Is there anything else I need to change?

Any help is welcome, thank you!

0 likes
2 replies
jlrdw's avatar
jlrdw
Best Answer
Level 75

Have you configured MySQL on your workflow.

1 like
ignaciodev's avatar

@jlrdw yes thank you that, was it. I was struggling to figure out how to confirue it.

Please or to participate in this conversation.