Click to See Complete Forum and Search --> : external mySQL error ..my PHP right?


Bungholio
08-20-2003, 10:28 PM
Hey, thanks for looking ... i did a wee search but no luck =\

Ive got a client on valueweb.net hosting, he doesnt have mySQL installed, so i figure, what the hell, ill host his DB on my site, anyways, i get a strange error on valueweb,

Warning: Access denied for user: 'myUserName@costard.valueweb.net' (Using password: YES) in /u384/clientsSite/test.php on line 5

Warning: MySQL Connection Failed: Access denied for user: 'myUserName@costard.valueweb.net' (Using password: YES) in /u384/clientsSite/test.php on line 5
I cannot connect to the database because: Access denied for user: 'myUserName@costard.valueweb.net' (Using password: YES)

now the thing is, my PHP script is supposed to be connecting to a completely different server like so:

mysql_connect ("207.44.188.107", "user", "pass")

and i tried

mysql_connect ("mysite.com", "user", "pass")

I called valueweb and asked if maybe they were blocking external mySQL connections or anything, and they said no ... i checked the PHP manual, but it doesnt mention anything on the mysql_connect page ...

have any of you run across this kind of problem ? ... it is trying to connect to the localhost instead of my site, im cunfewzd!

Thanks for any help!! Al