Trying to connect to mySQL db
Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: ASP.NET Discussion
Forum Description: Discussion and chat on ASP.NET related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=25506
Printed Date: 29 March 2026 at 8:34pm Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: Trying to connect to mySQL db
Posted By: JHossy
Subject: Trying to connect to mySQL db
Date Posted: 31 March 2008 at 9:56am
Hi
I hope this is the correct place to post this question.
I'm trying to setup a data-connection in a .NET 3.5 webservice
application to a mySQL database. Whenever I click "Test connection" I
just get an error back, claiming: "Unable to connect to any of the
specified MYSQL hosts".
I even tried to ping mysql.webwiz.net but I get a connection timeout.
I checked that the database exists and that I got the correct version of the ODBC driver installed(3.51), but it didn't help.
Can anyone give me a pointer as to what I am doing wrong or where I can look for help?
Best regards
|
Replies:
Posted By: WebWiz-Bruce
Date Posted: 31 March 2008 at 11:23am
If you are trying to connect to our database servers then you can only do this locally on our network, you can not have a remote connection to our database servers.
If you want to test locally on your own PC then you should install mySQL on your own computer. Once you have finished development create a backup of the database which can then be restored to our servers using the online database tools provided which you can find links to from he Web Hosting Accounts section of your Client Area account.
------------- https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting
|
Posted By: JHossy
Date Posted: 31 March 2008 at 11:30am
Ok, I'll give that a shot then.
Thanks for the quick answer
|
|