 |
|
 |
Main Menu |
|
 |
Forums |
|
 |
Programming Contest |
|
 |
Documentation
|
|
 |
Partner
Sites |
|
 |
Sponsors |
|
 |
|
|
Register •
FAQ
• Search • Login
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Author |
Message |
Shaydez
Junior Member
Joined: Tue Feb 10, 2004 12:55 pm Posts: 4
|
Hello, I need alil help.. I'm trying to figure out how i can connect to a different mysql server i'm not sure how the address should be typed.
$dbc = mysql_connect ("localhost", "username ", "password") or die ('I cannot connect to the database because: ' . mysql_error()); mysql_select_db ("databasename");
i'm trying to synchronize all my databases into 1 central database. but i'm not sure on how to type the address domain.mysql.com or mysql.domain.com neither of them work for me
Thank U. :ph34r:
|
Wed Mar 10, 2004 7:42 pm |
|
 |
fncll
Junior Member
Joined: Wed Oct 01, 2003 1:45 pm Posts: 3
|
And the server has to be set up to allow connections from outside, whether from everywhere, from your machine, or from a block of IPs. Many are not or you have to request it.
|
Thu Mar 11, 2004 5:19 pm |
|
 |
Shaydez
Junior Member
Joined: Tue Feb 10, 2004 12:55 pm Posts: 4
|
Well I have my own dedicated server so i know i allow outside connections to the mysql server.
I'm just trying to figure what address to type in mysql_connection
|
Fri Mar 12, 2004 3:48 pm |
|
 |
Shaydez
Junior Member
Joined: Tue Feb 10, 2004 12:55 pm Posts: 4
|
Figured out how to connect to a mysql database remotely.
Quite tricky..
|
Sat Mar 20, 2004 1:15 pm |
|
 |
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 2 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|
|
|