Access denied for user 'ODBC'@'localhost' 怎么办? 博客分类: MySql MySql
程序员文章站
2024-03-16 15:04:10
...
很久没有用mySql了。昨天用jHispter创建一个以MySql为数据库的项目的时候,运行的时候发现总是报错:
Eclipse console显示:Access denied for user 'root'@'localhost'。然后我去控制台用了mysql命令。发现也是显示:Access denied for user 'ODBC'@'localhost'。
解决方法:
输入:mysql -u root -p
然后继续输入密码。okay!
还有如何更改root的密码呢?
方法:
推荐阅读
-
Access denied for user 'ODBC'@'localhost' 怎么办? 博客分类: MySql MySql
-
Access denied for user 'ODBC'@'localhost' 怎么办? 博客分类: MySql MySql
-
mysql Access denied for user ‘root’@’localhost’ (using password: YES)解决方法
-
mysql ERROR 1044 (42000): Access denied for user ''@'localhost' to database
-
mysql ERROR 1044 (42000): Access denied for user ''@'localhost' to database
-
MySQL ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using passw
-
MySQL: ERROR 1044 (42000) Access denied for user ''@'localhost' to database 'aliendatabase'
-
MySQL: ERROR 1044 (42000) Access denied for user ''@'localhost' to database 'aliendatabase'
-
MySQL ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using passw
-
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC',该如何处理