[Phpmyadmin-devel] How to create user in mySQL ?

Manisha manisha at aurica.com
Wed Dec 4 22:46:03 CET 2002


I want to create mySQL user through 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





More information about the Developers mailing list