Steps to install MYSQL as non-root user
I like to share you all how to install mysql binary installation as non-root user.
Step:1 Download mysql binary package from mysql website.
Step:2 change the ownership for folder mysql $ chown mysql:mysql /usr/local/mysql ( only this step should be done by root user)
Step:3 $ move the downloaded tar file to /usr/local/mysql and tar -zxvf <filename>.tar.gz
Step:4 $scripts/mysql_install_db --user=mysql ( mysql database got installed)
Step:5 Starting mysql services: $ ./bin/support-files/mysql.server start
Step:6 Login to mysql database $./bin/mysql -u root -p
Step:7 To stop services $ ./bin/support-files/mysql.server stop
You can try and provide feedback.we are ready to help you ;)
This is the way I follow, Installation not so difficult because there should be README or Installation file in most of the source packages..
|All times are GMT -5. The time now is 07:53 PM.|