[英]How to fix MySql Exception Access denied for user 'root'@'localhost' (using password: YES)
Hello everyone...! 大家好...! on my Windows 7 PC I have installed XAMP yesterday for php programming, today I am running my asp.net2010 web project it giving the above exception
MySql.Data.MySqlClient.MySqlException: Access denied for user 'root'@'localhost' (using password: YES)
my vb.net2010 db is in MySQL, for that I use SQLyog Enterprise IDE for db management. 在我的Windows 7 PC上,我昨天安装了XAMP以进行php编程,今天我正在运行asp.net2010 Web项目,它给出了以上异常
MySql.Data.MySqlClient.MySqlException: Access denied for user 'root'@'localhost' (using password: YES)
我的vb.net2010数据库位于MySQL中,因为我使用SQLyog Enterprise IDE进行数据库管理。 Both XAMP and SQLyog Enterprise access port 3306 for MySQL server. XAMP和SQLyog Enterprise都访问MySQL服务器的端口3306。 so how to fix following exception which is coming after running the my vb.net2010 application.
所以如何解决运行我的vb.net2010应用程序后出现的以下异常。 Thanks in Advance.
提前致谢。
MySql.Data.MySqlClient.MySqlException: Access denied for user 'root'@'localhost' (using password: YES)
The default setting for XAMPP MySQL's root user is to have no password. XAMPP MySQL的root用户的默认设置是没有密码。 Remove the password from whatever code is trying to connect to the DB and try again...
从尝试连接到数据库的任何代码中删除密码,然后重试...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.