Solved

Access denied for user (GoDaddy MySql)

Posted on 2009-07-06
3
825 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Creating and Managing Databases with phpMyAdmin in cPanel.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

734 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