Hi all,
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
Thanks