Magento2 icon indicating copy to clipboard operation
Magento2 copied to clipboard

What is the mysql password?

Open omerolmez opened this issue 7 years ago • 5 comments

I tried alternatives many times but it did not happen. Could you say mysql password?

omerolmez avatar Mar 08 '18 17:03 omerolmez

You for real?

Nerjuz avatar Mar 08 '18 18:03 Nerjuz

@omerolmez sure, you have a user called magento using the password magento which just can access the database magento.

You have a superuser as well, called root using the password root.

To access your MySQL out or inside of your container you can use these commands below.

Inside

mysql -h db -uroot -proot

Out

mysql -h 0.0.0.0 -u root -proot -P 3300

rafaelstz avatar Mar 08 '18 21:03 rafaelstz

Good afternoon, here for me when I try to install the magento I get the error

SQLSTATE [HY000] [2002] No such file or directory

lucasaugustodeveloper avatar May 17 '18 16:05 lucasaugustodeveloper

Hi @laugustofrontend,

Are you trying to install using the terminal or using the install screen? Could you send me a print screen, please?

Thanks, Rafael

rafaelstz avatar May 17 '18 18:05 rafaelstz

The MySQL password works but does anyone know the admin panel password? I assumed following the same conventions--tried user:admin password:admin but it didn't work.

EDIT: Never mind I can just make my own admin user... EDIT: ./magento admin:user:create --admin-user='new-admin' --admin-password='!admin123!' --admin-email='[email protected]' --admin-firstname='Jon' --admin-lastname='Doe'

macfisher avatar Jul 13 '18 16:07 macfisher