[nycphp-talk] different sites, one database
Matt Juszczak
matt at atopia.net
Wed Jul 13 12:04:56 EDT 2005
>They do. They all resolve the same IP address.
>
>And they are different databases. I tried substituting "localhost" for
>"site1.com" and got an error:
>
>Warning: mysql_connect(): Access denied for user: 'henry at site1.com' (Using
>password: YES) in /home/httpd/vhosts/site2.com/httpdocs/mysql_test.php on
>line 22
>
>Thanx...
>Henry
>
>
Can you please send us your mysql_connect() (just comment out the password)
-Matt
More information about the talk
mailing list