May 2018
Intermediate to advanced
310 pages
6h 18m
English
Extract the TAR content at the /usr/local/mysql location.
Then follow the procedure:
$ groupadd mysql $ useradd -r -g mysql -s /bin/false mysql $ cd /usr/local $ tar zxvf [ path to your downloaded file ].tar.gz $ ln -s [ full path to mysql] mysql $ cd mysql $ mkdir mysql-files $ chmod 750 mysql-files $ chown -R mysql . $ chgrp -R mysql . $ bin/mysql_install_db -user=mysql $ bin/mysqld --initialize --user=mysql $ bin/mysql_ssl_rsa_setup $ chown -R root . $ chown -R mysql data mysql-files $ bin/mysqld_safe --user=mysql & $ cp support-files/mysql.server /etc/init.d/mysql.server
We have a MySQL local server instance up and running. We are ready to do some Spring Data JPA development!
Read now
Unlock full access