Tuesday, October 6, 2020

Start MySQL DB on Linux;

 Start MySQL :

  • cd to the bin directory and run the mysqld program.


Stop MySQL :

  • cd to the bin directory(/home/vijay/mysql-8.0.20-linux-glibc2.12-i686) and run service mysqld stop

Check where mysql is installed on LINUX:

  • whereis mysql


> whereis mysql > cd /usr/local/mysql > ls > cd bin > ls > ./mysqld start & > pwd > cd .. > cd support-files/ > ./mysql.server start &



No comments: