I want to create mySQL user thr phpMyAdmin. I inserted one record in mysql.user table and one in mysql.db table,

testing with following program

<?
$conn = @mysql_connect ("localhost:/usr/home/nets/mysql/mysql-demo.sock", "manisha", "pass");
echo("before conn a");
if ($conn){
mysql_select_db ("demo");
echo("conn got it");
}
?>

but not getting the connection - if try with old user and password - can get connected

what's wrong ?

regards
Manisha



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to