Page 1 of 1

localhost

Posted: Thu Aug 28, 2003 7:59 am
by sguy
how to change the username & password, as i know, "root" & "" are the default username & password.

$Connect = mysql_connect("localhost", "root", "");

Posted: Thu Aug 28, 2003 8:00 am
by volka
$Connect = mysql_connect("localhost", "anotherAccount", "thePasswordForThisAccount");

Posted: Thu Aug 28, 2003 3:08 pm
by m3mn0n
Open up a database called mysql and there should be a users table.

Add/edit/remove them from there.

See here for more details: http://www.mysql.com/doc/en/Adding_users.html