Access denied for user ''@'localhost' to 解决 $ mysql -u root -p 转载于:https://www.cnblogs.com/helloweworld/p/3620463.html