On Thursday 05 December 2002 14:36, Manisha wrote:
> 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 ?

Why do people insist on asking MySQL questions on a PHP list?

search for "flush privileges" on the MySQL website.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
HEAD CRASH!!  FILES LOST!!
Details at 11.
*/


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

Reply via email to