this is the code:
$user = "user";
$pass = "";
$connect = mysql_connect(' localhost',$use r,$pass);
or die('could not connect: '. mysql_error());
mysql_close($co nnect);
i'm a beginer, and i just want to see if i could connect to server.
on pypmyadmin i set the following for the user@localhost:
password: No
global privileges: all privileges
grant: yes ...
and ofcourse i get the warning: mysql_connect() function.mysql-connect]:
Access denied for user 'user'@'localho st' error on the connect string line.
it has everything, and why doesnt connect string he let me in.
please help ...
$user = "user";
$pass = "";
$connect = mysql_connect(' localhost',$use r,$pass);
or die('could not connect: '. mysql_error());
mysql_close($co nnect);
i'm a beginer, and i just want to see if i could connect to server.
on pypmyadmin i set the following for the user@localhost:
password: No
global privileges: all privileges
grant: yes ...
and ofcourse i get the warning: mysql_connect() function.mysql-connect]:
Access denied for user 'user'@'localho st' error on the connect string line.
it has everything, and why doesnt connect string he let me in.
please help ...
Comment