Last post Jul 04, 2009 11:13 PM by carl.steinhart
Jul 04, 2009 11:47 AM|Mr.Rajan|LINK
I have hosted my site and have used mysql.. but my site is not able to connect with database... m confused what should be my server name after hosting.. on my machine it was Server="localhost" databasename="mydatabasename"... but its giving error as Access
denied for user =@localhost ....
Any help to solve this problem would be highly appreciated...
Thanks and Regards,
Jul 04, 2009 02:04 PM|SoftsysHosting-Rick|LINK
You will need to speak with your host to get server name / IP address of the server where your MySQL databases are hosted. However, from the error message, it appears that you are using wrong credentials for connecting to your database. I'd recommend you to
double check that you have correct database username/password in your connection string. I believe, this should solve your issue.
Jul 04, 2009 04:08 PM|HostingASPNet|LINK
I agree, it will be much better to ask your hosting provider for assistance.
Jul 04, 2009 11:13 PM|carl.steinhart|LINK
Based on your reported error, it seems that your mySQL database user is not yet created on your current host MySQL DB server. Your current host must give you a control panel where you can create the associated MySQL db username and password.
You need to check whether you can login via the MySQL webAdmin first before you try it on your connection string code. If you have further problems, you should get in touch with your current host directly.
Hope this helps :)