Getting the "mysql" prompt

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I installed MySQL4.0. No for creating a databse the help says like go
to "mysql>" prompt and then enter some commands. How do I get this
prompt ??

Re: Getting the "mysql" prompt

techBoy wrote:
Quoted text here. Click to load it
  You will have to use the mysql command line tool, which is normally
called mysql and should be located in the mysql/bin directory.


mysql -u [username] -p

and replace [username] for the username you will use to login to mysql,
you will be prompted for a password because of the -p option.

See also:


Site Timeline