执行收集系统信息脚本出现的报错
来源:3-6 sysbench基准测试演示实例

就我皮
2017-08-08
执行 :
bash ./Get_Test_info.sh &
报错:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
具体信息:
[root@S227485 db]# bash ./Get_Test_info.sh &
[1] 9449
[root@S227485 db]# ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
TS 1502158870.008861566 2017-08-08 10:21:10
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
exTS 1502158875.011206955 2017-08-08 10:21:15
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
1回答
-
sqlercn
2017-08-08
如果使用mysql5.7做实验的话,需要修改脚本,增加root账号的认证内容,如使用mysql5.6做实验,请确认mysql的root账号密码为空。
062017-08-09
相似问题