Needed mysql and mysqldump executable files

lid3r

Verified User
Joined
Sep 19, 2011
Messages
19
Hello mates,
yesterday was a messy day with ln -s :) How i it possible to restore these two files? Maybe there is some kind of link where can i download them?

Need them for /usr/local/mysql/bin

Any help very appreciated.

Solution:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build set mysql_inst mysql
./build mysql
 
Last edited:
is there any specific command for that? apt-get install mysql-common will solve the problem?

OS: Debian 7-x86_64
 
Last edited:
By default it's custombuild script which installs/update mysql on a directadmin server. Trying to install mysql with apt-get you might have a mess of two different versions of MySQL server.

Code:
cd /usr/local/directadmin/custombuild
./build update
./build set mysql_inst mysql
./build mysql

Should install MySQL on your server.
 
Interesting. Before doing this i checked that i have missing mysql & mysqldump in my /usr/local/mysql/bin/
After command update i have:

in /usr/bin - mysql -> /usr/local/mysql/bin/mysql; mysqldump -> /usr/local/mysql/bin/mysqldump
in /usr/local - mysql -> mysql-5.6.27-linux-x86_64

Code:
root@server:/usr/local# which mysql
/usr/local/mysql/bin/mysql
root@server:/usr/local# which mysqldump
/usr/local/mysql/bin/mysqldump
root@server:/usr/local#
 
Back
Top