Jump to content

Archived

This topic is now archived and is closed to further replies.

foxman

$strDBServer =

Recommended Posts

This is probably rather elementary but how do I call the server? It is not finding the database.

I get

Warning: mysql_connect(): Access denied for user: 'host3_user

not sure how to answer:

$strDBServer =

Share this post


Link to post
Share on other sites
[!--quoteo(post=381989:date=Jun 9 2006, 07:27 PM:name=foxman)--][div class=\'quotetop\']QUOTE(foxman @ Jun 9 2006, 07:27 PM) [snapback]381989[/snapback][/div][div class=\'quotemain\'][!--quotec--]
This is probably rather elementary but how do I call the server? It is not finding the database.

I get

Warning: mysql_connect(): Access denied for user: 'host3_user

not sure how to answer:

$strDBServer =
[/quote]

it is finding the database. thats why it says access denied instead of cannot be found. have u set the mysql_connect defaults in your php.ini file? or is there somewhere for u to set the mysql user/pass to what u need?

mysql_connect("$host","$user","$pass");


$strDBServer is probably the host var. normally you would set it under "localhost" or "999.999.999.999".

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.