0

I just upgraded Ubuntu 11.10 to 12.04 (installed within windows 7) and during installation the process asked me to set my Mysql root password. According to Ubuntu Documentation, Mysql server is pre-istalled in Ubuntu version 12.04.

However, when I search for "Mysql command line client" in the Dash Home, the following files are shown:

  1. Mysql 5.5 command Line Client.lnk
  2. qa_auth client.dll
  3. mysqlclient.lib
  4. client plugin.h

When I open the first option on the list (Mysql 5.5 command Line Client.lnk), the following two error messages are shown:

  1. Path Not Found
  2. There is no Windows Program configured to run this type of file.

The other 3 options are of no help too.

Please help by explaining to me how can I use Mysql Command Line Client (the CUI for Mysql) in my Ubuntu version?

Eliah Kagan
  • 119,640
Ananda
  • 51

1 Answers1

8

Open a terminal, e.g. by pressing Ctrl+Alt+T. Then run the command

mysql

Edit: Like mentioned in a comment, you can specify a user using the -u argument. If this user is password protected, also add a -p, then you'll be prompted for a password. For example if you wanted to log in with a user called root:

mysql -u root -p
panmari
  • 641