It returns: Connected successfully Like I said, I have not problems connecting. Only mysql_select_db will not work.
> Hello, > > Friday, March 12, 2004, 7:00:38 PM, you wrote: > > P> Only msyql_select_db will not connect, it claims I am trying to use a blank > P> user, even though I specifically connect earlier with mysql_connect with the > P> specific user with no problems.. > > What does this output? > > <?php > $link = mysql_connect("localhost", "mysql_user", "mysql_password") > or die("Could not connect: " . mysql_error()); > echo "Connected successfully"; > mysql_close($link); > ?> > > And don't just remove the "user" and "password" parts, fill them in. > If there is no password, put "". > > -- > Best regards, > Richard Davey > http://www.phpcommunity.org/wiki/296.html > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php