66

How can I install MySQL client in Ubuntu?

I have already installed MySQL 5.1 binary on server.

I am not able to find the right package for apt-get.

Zanna
  • 72,312

2 Answers2

93

Try:

sudo apt-get install mysql-client

Or alternatively:

sudo apt-get install mysql\*

Commands like those worked for me when I installed it on my 11.04 system.

Eliah Kagan
  • 119,640
3

The above has not worked for me. I installed MySQL client with the following ;

apt install mariadb-client-10.5

hbceylan
  • 131