[lug] mysql table creation scripts

Hugh Brown hugh at vecna.com
Mon Jun 11 06:55:53 MDT 2001


If you want to enter the password on the command line you have to remove
the space between the -p and the password.

mysql -u root -psecretpassword database 

Hugh


"Brad Doctor"
> 
> Indeed, and also the last argument it will accept, so the "<database>" is 
> interpreted as that, not the password.  As I said, it looks like you are 
> giving it the password, but you aren't.  Try it!  I normally keep a scratch 
> "instance" available for myself to try things on, just to keep it safe.
> 
> -brad



More information about the LUG mailing list