2013/07/05

MySql post installation slackware

After installing MySql from source under Linux Slackware it may be a problem to have old binaries lying around in /usr/bin

here is my solution:

create an script and execute it from /usr/local/mysql

#!/bin/bash
for i in bin/*
do
echo -n "$i: "
echo
rm /usr/$i
ln -s /usr/local/mysql/$i /usr/$i
done

No comments:

Post a Comment