Change the grant to: grant all on * to clark@localhost identified by 'clark'; Then do a: flush privileges;
> I am trying to connect to the database like this: > > $db=mysql_pconnect("localhost", "clark", "clark") > > while in mysql do the following: > > >grant all on * to clark identified by 'clark'; > > And I cannot connect to the DB unless I use root > in my php. Actually it seems to connect under > 'clark' but will not select anything from the table. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php