62

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
  • 69,223
  • 56
  • 216
  • 327
Mangesh Jogade
  • 743
  • 2
  • 6
  • 8

2 Answers2

89

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
  • 116,445
  • 54
  • 318
  • 493
DaGhostman Dimitrov
  • 1,198
  • 11
  • 17
1

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

apt install mariadb-client-10.5

hbceylan
  • 111
  • 2