![]() ![]() Generate a random password for the MySQL "root" account: MYSQL_PASSWORD="$(command apg -q -a 0 -n 1 -M NCL)"ĭisplay the generated password, and keep it preciously: command echo "The password for MySQL root account is: '$" > '/root/.backup-manager_my.cnf'Ĭommand chmod go-rw '/root/.backup-manager_my.cnf'Įnable the MySQL backup with Backup Manager: command sed -i -e 's/*\(.*BM_ARCHIVE_METHOD=.*".*\)"$/\1 mysql"/' \īackup Manager create empty backups if the file /root/.my.cnf contains a password. It does not store any personal data.Install the MySQL server software and the password generation tool apg : DEBIAN_FRONTEND='noninteractive' command apt-get install mysql-server apg The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. The cookie is used to store the user consent for the cookies in the category "Performance". This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. ![]() The cookies is used to store the user consent for the cookies in the category "Necessary". The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". The cookie is used to store the user consent for the cookies in the category "Analytics". These cookies ensure basic functionalities and security features of the website, anonymously. Necessary cookies are absolutely essential for the website to function properly. To Start MySQL Server $ systemctl start rvice Also please note that MySQL Server service is enabled by default and will start automatically at system reboot.Įnable MySQL to Start Automatically from Boot $ systemctl enable rvice If you use one of the available Debian/Ubuntu-based distribution system with sysmtemd enabled by default, standard systemctl commands (or alternatively, service with the arguments reversed) like start, stop, restart and status will be used by default to manage the service of the MySQL database server. Jun 18 17:26:34 ns376183 systemd: Started MySQL Community Server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |