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 = Quote 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". Quote Link to comment https://forums.phpfreaks.com/topic/11598-strdbserver/#findComment-44378 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.