Solved

Access denied for user (GoDaddy MySql)

Posted on 2009-07-06
3
812 Views
Last Modified: 2012-06-27
ASP.NET app trying to access data in a MySql db hosted on GoDaddy.  When running the query I get this message...

"Access denied for user 'myapp'@'xx.xxx.217.88' (using password: YES)"

Any idea why?  Here's the connection string in the web.config...
        <remove name="connectstring" />
        <add name="connectstring" connectionString="User Id=myapp;Password=mypwd;Host=myapp.db.2416160.hostedresource.com;Persist Security Info=True;Connection Timeout=120;Default Command Timeout=120;" providerName="Devart.Data.MySql"/>

0
Comment
Question by:RobertNZana
  • 2
3 Comments
 
LVL 33

Accepted Solution

by:
snoyes_jw earned 500 total points
ID: 24787133
Wrong username or password, or the MySQL server has no user that matches that host. Verify with GoDaddy that you have the right password.
0
 
LVL 9

Author Comment

by:RobertNZana
ID: 24787312
You're right.  It was the wrong host.  It's misleading because they keep showing you a "host" on the screen, but when I connected with MySql it showed me the "Host" and "Network Name".  It was the NETWORK NAME that I had to use in my web.config connection string.  I hope this helps people in the future.
0
 
LVL 9

Author Closing Comment

by:RobertNZana
ID: 31600233
See my comment as well as this provides the final solution.  Thanks!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

I have been using r1soft Continuous Data Protection (http://www.r1soft.com/linux-cdp/) for many years now with the mySQL Addon and wanted to share a trick I have used several times. For those of us that don't have the luxury of using all transact…
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now