I have trouble installing the mysqldump utility on a Ubuntu Server. I tried with apt-get install mysqldump
but i get E: Unable to locate package mysqldump
.
I tried googling but couldn't find any quality information of the installation of mysqldump. I stumbled upon packages like mysql-client-5.1
or thelike that might contain it.
But i am afraid it might somehow clash with the existing mysql installation. As i am no expert to the topic i wasn't able to gain enough information on the client packages, what they contain and if they will interfere. Can somebody help me find the right package and is it on top of mysql so it won't interfere with the current installation?
You can place your file anywhere as long as you have your mysql bin folder in your PATH. The alternative is to call the mysql and mysqldump executables using the full path to them (e.g F: wamp bin mysql mysql5.1.36 bin mysql and F: wamp bin mysql mysql5.1.36 bin mysqldump). How to dump and restore MySQL databases using Windows command prompt. This article shows how to setup your Windows path variable and the required commands.
mysqldump is part of the package mysql-client and can be installed with:
This will install the default version, often there are packages for other MySQL versions, e.g. mysql-client-5.5. The generic version should be suitable in most cases.