Tuesday, May 5, 2009

Switch user in MySQL

To switch user in MySQL with username "test" and password "secret"
Start->Run (or press Windows Key + R)
then type
mysql -utest -psecret

or in command prompt type
>mysql -utest -psecret

*NOTE* There is no space between "-u" and 'test' and no space between "-p" and 'secret'

enjoy learning,

1 comment: