The specified password for user account 'root' is not valid, or failed to connect to database server

早过忘川 提交于 2019-12-20 02:08:40

问题


I am getting this error while installing WordPress using Windows platform installer 5.0 on a Windows Server 2012R2.

Currently I have a php site with mySQL on that server which is running fine, PHP, MYSQL was already installed as part of setting up that site couple of months ago.

MySQL .NET Connector was already installed, I have repair it(http://dancerscode.com/blog/the-annoying-mysql-web-platform-installer-bug/) using latest installer as well. Installed WebMatrix3 which was mentioned in same article but No luck.

I have made sure that mySQL password is correct by logging in using command line.

Any idea?


回答1:


Finally found the solution.

I had Connector/Net 6.9.9 installed

I uninstalled it and then Installed Connector/Net 6.4.6

Old version of Connector can be downloaded here(https://dev.mysql.com/downloads/connector/net/)



来源:https://stackoverflow.com/questions/43741440/the-specified-password-for-user-account-root-is-not-valid-or-failed-to-connec

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!