Re: Error connect to MySQL

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: Error connect to MySQL
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-5978@lists.php.net to get a copy of this message
This could be one of several things. The user you have (or havn't) set up doesn't have the right permissions to query your database. So set one up using mysql>GRANT ,SELECT,INSERT,UPDATE mysql>ON 'database name' mysql>TO username@host mysql>IDENTIFIED BY PASSWORD 'your password' mysql>FLUSH PRIVILEGES; To try and elicit more help, I would suggest you start off every request for help by stating you platform, and versions of software that you are using. Regards: Russ #-------------------------------------------------------# "Believe nothing - consider everything" Russ Michell Anglia Polytechnic University Webteam www.anglia.ac.uk/webteam r.j.michell@anglia.ac.uk +44 (0)1223 363271 ext 2331 www.theruss.com #-------------------------------------------------------#

« previous php.db (#5978) next »