How are you installing it? Using laravel new? When choosing database step, choose mysql and select no for running the migration option.
How to create a new Laravel project when the root password is not empty?
I'm on Windows and I already had XAMPP installed. I gave Herd a try, but it failed to start Nginx. So XAMPP it is. My MariaDB "root" user has a password, let's say it's "password". Unfortunately "laravel new project" assumes that the root user has a blank password. I know I can change it in the .env file afterwards, but by then the creation of the database will have already failed.
Is there any way to tell Laravel what the password is before creating the project? Even better, can I set the database user as well?
If not, can I create a project, then change the .env file, and then rerun the default database migrations?
I figured out a cheesy way to do it. 1.) Run the script up to the step "Default database updated. Would you like to run the default database migrations?". 2.) Edit the .env file. 3.) Continue with the script. This works, but there has to be a cleaner way to do this.
I think yours is the best solution. The installation is too opinionated.
You could let it install with sqlite, then edit the .env and run php artisan migrate:fresh
Please or to participate in this conversation.