Jump to content

Recommended Posts

Posted

Hi,

 

I'm connecting to and using a mysql db using localhost successfully.

 

I want to attach to the same db from a different domain (on the same server/reseller account)

 

I set up a new access host (mysql.myawesomedomain.com), but my php complains:

 

Warning: mysql_connect(): Unknown MySQL Server Host 'mysql.myawesomedomain.com' (25) in *********** on line 12

Could not connect

 

What steps am I missing?

 

thanks!

 

Mel

Posted

Don't know if this will help a lot, but when using MyODBC to connect an Access db from my PC to a MySQL db on my hosting space, I use the IP address for the host. Just plain IP address.

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...