trying to connect to remote mysql from .asp page

爱⌒轻易说出口 提交于 2019-12-02 05:48:09
paulsm4

OK, you've found the underlying error message (on the server). Thank you. It's important:

 [MySQL][ODBC 3.51 Driver]Access denied for user 'bla'@'162.253.126.112' (using password: YES) 

Since you're getting "access denied", and since a MySQL identity" is a combination of username + host, this means one of three things:

  1. You're passing mySQL the wrong username...

  2. ... And/or you're logging in from a host that hasn't been granted access...

  3. ... And/or you're passing mySql the wrong password

Normally, the best way to troubleshoot would be with the mysql command-line client. I'm guessing this is probably not an option for you.

Another way might be Control Panel > ODBC > Test Connection:

But this might not an option either, if your IIS webserver and MySQL database are co-located on the remote server (instead of local).

Here are some other suggestions for troubleshooting your mySQL username/password:

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