foxman Posted June 9, 2006 Share Posted June 9, 2006 This is probably rather elementary but how do I call the server? It is not finding the database.I getWarning: mysql_connect(): Access denied for user: 'host3_user not sure how to answer:$strDBServer = Link to comment https://forums.phpfreaks.com/topic/11598-strdbserver/ Share on other sites More sharing options...
birdie Posted June 11, 2006 Share Posted June 11, 2006 [!--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 getWarning: 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". Link to comment https://forums.phpfreaks.com/topic/11598-strdbserver/#findComment-44378 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.