Jump to content

mysql_connect ::: timed out


stijn0713

Recommended Posts

Hi,

 

- my initial goal was to establish a linked table synchronization between a local running MS access database and a remote mysql database via myODBC.

 

- i provided the host, username, pasw but i got the error:

HY000][MySQL][ODBC 5.1 Driver]Can?t connect to MySQL server on dbvoorwebshop.db.8957115.hostedresource.com

 

- then i wanted to manually write a script for getting the records of MS ACCESS database and store them into the mysql database.

 

However now, I get a timed out message saying my script cannot connect to the mysql database.

 

- the mysql database holds tables for OSCOMMERCE (webshop)

- via the adminpanel, the backend of oscommerce, im able to read, write the database so the mysql database should work.. :S

 

- I provided the good hostname, usern, pasw

 

I don't know what's going wrong :S

 

Link to comment
Share on other sites

did you grant permissions to remote logins for that user?

 

This will grant permissions to that user from any location (not suggested):

 

GRANT ALL on database_name.* TO user_name@'%';

 

If you know your IP address where you're connecting from, you can do this:

 

GRANT ALL on database_name.* TO user_name@'123.45.67.89' ;

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.