Lamp 18.04 Mysql Password

Posted February 14, 2019 1.2k views
MySQLDigitalOcean 1-Click Apps MarketplaceUbuntu 18.04

Hey, I was curious if anyone else has trouble connecting to mysql after creating a LAMP 18.04 one click server. I have to go in and reset the mysql password to get in now. Before with 16.04 I just cat the password and used it to connect with a client.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Just to bump this up - i’ve just had to create a new user and password in order to connect a PHP application too.

I know it’s good practice to do this anyway, but it should work out of the box with root.