Forum archive
MySQL access problem (EC2 AMI instance)
Hi,
I have launched the EC2 AMI (lamp) instance using the instructions:
I am able to make a shell connection to my instance and login as a root.
However, I am not able to connect to the mysql from the shell. If I run "mysql" I get the following error message:
"ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)"
Is there some default password set for mysql root during the launching / installation process?
Is there any "getting started document" available for EC2 AMI lamp instance?
Thanks in advance for your help.
Kimmo
The initial root password (as well as the MySQL:root and PostgreSQL:postgres where applicable) are set randomly on firstboot for security reasons, and is available in /root/README.
BTW, we are working on a new mechanism which will make the process of launching and managing cloud instances a lot easier, as well as providing an option to configure passwords.