我在亚马逊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)'
任何人都可以帮助我!非常感谢!!!!