![]() |
|
|
#1 |
|
Junior Member
Join Date: Sep 2006
Posts: 4
|
How do I connect to mysql database on another site?
Hi
I have a website with mysql and another without mysql. I want to connect using php from the one without mysql to the one that has mysql. Normal connection via localhost I am familiar with. I have tried varying ways of specifiying the host but all have failed. I know it must include the site IP or address and possibly 3306 but all fails. The usual appears to be something like myIP:3306 Do I need the address of the mysql server from my hosting company? |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Jun 2004
Posts: 383
|
Re: How do I connect to mysql database on another site?
Yes, and you need to set up permissions so that the mysql SERVER is accepting connections from the other machine.
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Import Access, Excel and data of other formats to MySQL by Navicat | NavicatGuy | Articles | 0 | 08-17-2004 01:08 AM |
| 1.7 MySQL Information Sources | Administrator | Documentation | 8 | 06-08-2004 02:58 AM |
| 1.4.3.2 Using the MySQL Software for Free Under GPL | Administrator | Documentation | 0 | 06-08-2004 02:20 AM |
| 1.2.2 The Main Features of MySQL | Administrator | Documentation | 0 | 06-08-2004 01:55 AM |
| 1.2 Overview of the MySQL Database Management System | Administrator | Documentation | 0 | 06-07-2004 10:11 PM |