我在亚马逊 ec2 上设置 wordpress 时遇到问题,但我遇到了关于“访问被拒绝”的问题。
[root@ip-172-31-25-142 ec2-user]# mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
[root@ip-172-31-25-142 ec2-user]# mysqladmin -u root -p password 6k8zJHLrmWB8bmwV
Enter password:
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'
任何人都可以帮助我!多谢!!!!