I have several websites (say SiteOne) that have to use the same database located on www.SiteCentral.com:
On SiteOne, I write:
php
$link = mysql_connect("www.SiteCentral.com", "username", "password");
?>
I have set the calling site as allowed user.
I have tried all versions of the URL.
Always get "access denied".
Any idea what I am doing wrong? (or forgot to do?)
2007-07-01
06:42:38
·
4 answers
·
asked by
just "JR"
7
in
Computers & Internet
➔ Programming & Design
Can't copy the DB! The DB is updated by All sites, so when one site changes something, the change appears on all other sites.
2007-07-01
07:02:13 ·
update #1