![]() Jun 01 17:51:40 portfolio rver: /etc/init.d/rver: 1: my_print_defaults: …found Jun 01 17:51:40 portfolio rver: Starting MySQL Jun 01 17:51:40 portfolio rver: * Couldn't find MySQL server (/usr/local/mysql/…safe) Jun 01 17:51:40 portfolio systemd: Started LSB: start and stop MySQL. Jun 01 17:51:40 portfolio systemd: Starting LSB: start and stop MySQL. - LSB: start and stop MySQL Loaded: loaded (/etc/init.d/rver generated) Active: active (exited) since Wed 17:51:40 IST 1min 6s ago Docs: man:systemd-sysv-generator(8) Process: 968 ExecStart=/etc/init.d/rver start (code=exited, status=0/SUCCESS).Username> $ sudo: bin/mysqld_safe: command not found Sudo apt install mariadb-client-core-10.3 # version $ sudo bin/mysqld_safe -user=mysql & Hint: Some lines were ellipsized, use -l to show in mysql -u root -pĬommand 'mysql' not found, but can be installed with: Jun 01 17:51:40 portfolio systemd: Started LSB: start and stop MySQL. Jun 01 17:51:40 portfolio rver: * Couldn't find MySQL server (/usr/local/mysql/…safe) Jun 01 17:51:40 portfolio rver: Starting MySQL Jun 01 17:51:40 portfolio rver: /etc/init.d/rver: 1: my_print_defaults: …found Process: 968 ExecStart=/etc/init.d/rver start (code=exited, status=0/SUCCESS) Loaded: loaded (/etc/init.d/rver generated)Īctive: active (exited) since Wed 17:51:40 IST 1min 6s ago I could not able to start mysql in background with following command Now login using below command, start mysql server if it's not running already *Disable mysql on startup (Optional) sudo update-rc.d -f rver remove Sudo ln -s /usr/local/mysql/bin/mysql /usr/local/bin/mysql ![]() Sudo cp support-files/rver /etc/init.d/rver Sudo cp support-files/my-default.cnf /etc/my.cnf Set data directory owner from inside mysql directory.Set mysql directory owner from outside the mysql directory.Sudo scripts/mysql_install_db -user=mysql set MySql directory owner and user group.Create mysql folder in /usr/local by moving the untarred folder.Add mysql (not the current user) to mysql user group.Download version 5.6.46 from MySQL site.Uninstall any existing version of MySQL.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |