* Thus wrote James Hamilton ([EMAIL PROTECTED]): > > > [snip] > > > The user has both localhost and % host privileges in the mysql > > > permission > > > schema. > > > [/snip] > > > > > Any other thoughts? > > [/snip] > > > current testing code: > > $link = mysql_connect("localhost", "user", "pass" ) > or die("Could not connect : " . mysql_error()); > print "Connected successfully"; > mysql_select_db("name") or die("Could not select database"); > print "connected";
Increase your error_reporting and turn on display_errors, you will most likely be enlightened as to why you're unable to connect. Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php