Thanks for your help, I'm using Slackware 14.2, actually my main problem was to change the data directory of MySQL Server
I copied the contents of /var/lib/mysql to home directory and edited rc.mysqld
I modified the line having --datadir=/var/lib/mysql to --datadir=/home/my-path
Now its fine...