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.

Do I have to have this 'clark' user on my linux machine also?


Reply via email to