试图运行:拒绝访问用户&root;' @' localhost' (使用密码:是)

时间:2014-02-21 21:35:13

标签: mysql ubuntu

我编译了文件并试图通过

运行它
./DBServer

我最终得到了

cfg.bin: No such file or directory
Entering DBServer setup()
Access denied for user 'root'@'localhost' (using password: YES)

我试过the solution provided here as follows

mysql> GRANT ALL PRIVILEGES ON *. * TO root@localhost
-> IDENTIFIED BY 'some_pass' WITH GRANT OPTION; 

但没有运气。

我该如何解决这个问题?

0 个答案:

没有答案