[PHP] Need some help on security with php and mysql

2002-03-28 Thread hamish
Hello all, I am using php and mysql with phpmyadmin. I am trying to set up a username and password in mysql so that when I use if(!$db_conn = mysql_connect('localhost', 'username', password)) { echo 'Could not connect to the Database Server'; } with the correct username and password it

Re: [PHP] Need some help on security with php and mysql

2002-03-28 Thread Rasmus Lerdorf
Did you flush the privileges? Using either flush privileges or mysqladmin reload? And besides, you really should be using a GRANT query to do this. -Rasmus On Thu, 28 Mar 2002, hamish wrote: Hello all, I am using php and mysql with phpmyadmin. I am trying to set up a username and password

Re: [PHP] Need some help on security with php and mysql

2002-03-28 Thread heinisch
Did you restart mysql ? could you see your entrances when using mysql on console with master/masterpassword? Oliver At 28.03.2002 10:37, you wrote: Hello all, I am using php and mysql with phpmyadmin. I am trying to set up a username and password in mysql so that when I use if(!$db_conn =