note 5758 deleted from mysql_select_db by ronabop
| From: | ronabop@php.net | Date: | Wed, 23 Aug 2000 10:00:17 +0000 |
| Subject: | note 5758 deleted from mysql_select_db by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2988@lists.php.net to get a copy of this message | ||
Can't quite figure out what's going wrong with my connection to my mysql database. The
$conn = mysql('localhost') string is true, (i.e. 1), however, when i try to select a
database using mysql_select_db($database,$conn), it doesn't work, even when i hard code the
database into the command, it still doesn't work.. i leave out $conn, still doesn't work.
What is the deal? Is it possibly because i created the database as root? Where are the databases
located if so, and what permission should i grant to "write" only capabilities? ..
thanks,
bovee