installation mysqldump

67,814

Solution 1

How about ... doing what was printed on the terminal?

% sudo apt-get install mysql-client-5.1

or

% sudo apt-get install mysql-client-5.0

(pick the right version based on whats installed on your machine)

Solution 2

For CentOS, RedHat and Fedora install:

sudo yum install mysql
Share:
67,814

Related videos on Youtube

klox
Author by

klox

Updated on September 17, 2022

Comments

  • klox
    klox over 1 year

    i use linux ubuntu..i try to copy db and type some mysqldump command.. but at terminal show:

    The program 'mysqldump' can be found in the following packages:
     * mysql-client-5.0
     * mysql-client-5.1
    Try: sudo apt-get install <selected package>
    bash: mysqldump: command not found
    

    how to get mysqldump for my pc? i've tried to follow the instruction,but show like below:

    Err http://ubuntu-ashisuto.ubuntulinux.jp jaunty/main libnet-daemon-perl 0.43-1
      Could not connect to ubuntu-ashisuto.ubuntulinux.jp:80 (122.216.218.146), connection timed out
    
  • klox
    klox almost 14 years
    i've been try to do that but show connection time out.
  • klox
    klox almost 14 years
    i've tried it but show error
  • klox
    klox almost 14 years
    show "No suitable download server was found".
  • ukanth
    ukanth almost 14 years
    check your source file which is located at /etc/apt/sources.list and follow this tutorial, if you dont find any mirror under that file. help.ubuntu.com/community/…
  • slim
    slim almost 6 years
    Do you know if this installs the server as well as the client binaries?
  • Gonzalo
    Gonzalo almost 6 years
    Apparently the package in yum for the server is sudo yum install mysql-server. sudo yum install mysql is fine for client.