Re: How to create user in mySQL ?

From: Date: Thu, 05 Dec 2002 08:06:11 +0000
Subject: Re: How to create user in mySQL ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-127113@lists.php.net to get a copy of this message
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. */

« previous php.general (#127113) next »