简体   繁体   中英

Trouble installing mysql in EC2 Amazon Linux 2 AMI

So, today I tried installing MySQL in ec2, after a long time I have installed it but in order to log in it is asking root password, which I haven't set. In the terminal, I have noticed the statement saying

"If you have just installed MYSQL, and you haven't set the root password yet, the password will be blank, so you should just press enter.

I did the same following instruction but I couldn't log in into Mysql. ( I cannot even set the password because it is not in the root)

I appreciate your help!

可能考虑启动一个免费层 RDS MySQL 实例进行测试?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM