"Couldn't select database." --> database DOES exist!!!

From: Date: Tue, 09 Jan 2001 12:14:03 +0000
Subject: "Couldn't select database." --> database DOES exist!!!
Groups: php.general 
Request: Send a blank email to php-general+get-33438@lists.php.net to get a copy of this message
Hi, When I use this php calls on Win2000 configuration everything works fine, but migrating the site and DB to Linux, apparently the database can not be found! I use the following way to connect to my database: //create connection $connection = mysql_connect("localhost","","") or die("Couldn't connect to server."); //select database $db = mysql_select_db("searchDB", $connection) or die("Couldn't select database."); and I get : --> "Couldn't select database." PS: I can "browse" the DB on linux via command line without any probs, so?! If you feel like "damn! I've seen that once in my whole life!" (or even if you didn't) please tell me what you did to get rit of that feeling... ;-) !!! Thanks a llllllllot! Saludos, Yoeri.

« previous php.general (#33438) next »