If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Odbc help!!!

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-08-10, 05:05
sweets287 sweets287 is offline
Registered User
 
Join Date: Sep 2010
Posts: 1
Odbc help!!!

I'm trying to connect to my database with ODBC, i've managed it before with my database on a shared server using mysql 3.51, but now i've moved to a VPS i can't do it. I've updated the ODBC drivers as the new server has Mysql 5.0 and even checked the user, password, server IP & port settings with the tech on from the server ppl but they have no experience in ODBC does anyone know what I might be doing wrong, the only error msg I get is that ODBC cannot connect to the Server IP given.

Cheers
Reply With Quote
  #2 (permalink)  
Old 09-08-10, 07:57
designweb0810 designweb0810 is offline
Registered User
 
Join Date: Aug 2010
Posts: 2
Mysql hosts settings

Can you please check whether your mysql server supports connection from external IPs?
Reply With Quote
  #3 (permalink)  
Old 09-09-10, 16:44
it-iss.com it-iss.com is offline
Registered User
 
Join Date: Sep 2009
Location: San Sebastian, Spain
Posts: 620
Hi,

you can always try:

Quote:
$ telnet localhost 3306
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
4
5.0.45_=RbwPg:,(Xch`*M)~e_+
Connection closed by foreign host.
replacing localhost with the IP address. The default port for MySQL server connections is 3306. If you get this message then it means that it is able to see it. If you get Connection Refused it means that it cannot see it. This in turn implies one of two things:
  • The server is not running.
  • The network is not permitting a connection from this machine to the MySQL server.

You must attempt this from the machine which is attempting to connect to the MySQL server. I have experienced this in the past where testing from one computer it worked but yet from the machine which it was supposed to work no connection was possible. The issue turned out to be network related.
__________________
Ronan Cashell
Senior Oracle/MySQL DBA
http://www.it-iss.com
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On