0

I followed the instructions as shown on the Laravel website:

Getting Started On Windows

And now I have a running container with a few images, one of them is the MySQL 8.0. But I can't log in to MySQL using "root@localhost" without password. So I assume some random password was generated. How can I find it? Or if it's impossible, how to properly delete and reinstall a new image of MySQL (Not mysql-server)

If I have to reinstall MySQL please explain to me how to do it and make the newly re-installed image show under the Laravel project container, and not separately

Thanks

2
  • No; It most definitely is not a random password it's one that the user assigns. That tutorial has no actual instructions, It's not clear, what instructions you used so you knew what commands to run.
    – Ramhound
    Commented Jun 3, 2021 at 22:27
  • Thank you. I found out where they installed it. You're right. It's not clear and annoying...
    – Liargo
    Commented Jun 4, 2021 at 6:03

1 Answer 1

0

I found it:

If any other beginner will encounter the same problem: the Sail installation installs a default username and password that you can find in the .env file at/home/username/project-name/.env

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .