Re: mysql_select_db returned access denied error...
| From: | coopster | Date: | Wed, 09 Jun 2004 22:18:20 +0000 |
| Subject: | Re: mysql_select_db returned access denied error... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187994@lists.php.net to get a copy of this message | ||
The Access Privelege and User Account links from here should help tremendously:
http://dev.mysql.com/doc/mysql/en/Post-installation.html
http://dev.mysql.com/doc/mysql/en/GRANT.html
Scott Fletcher wrote:
Hi!When I use the mysql_connect(), it was connected successfully. The nextstep I need to do is to use a database via mysql_select_db(). Problem is I get the access denied error from MySQL. It sure look like privileges is not setted up right. Am I right? If so then which column in the 'user' table in the 'mysql' database is the one that take care of the "USE DATABASE db_name" privileges.. Thanks, FletchSOD