Re: [PHP] How to create user in mySQL ?

2002-12-06 Thread Krzysztof Dziekiewicz
> Why do people insist on asking MySQL questions on a PHP list?
> search for "flush privileges" on the MySQL website.

Mayby it is the most inteligent newsgroup. ;-)


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




Re: [PHP] How to create user in mySQL ?

2002-12-05 Thread Jason Wong
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




[PHP] How to create user in mySQL ?

2002-12-04 Thread Manisha
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