Remember the generated temporary password (required for later login)Įxecute the following command to create RSA private key bin/mysql_ssl_rsa_setup -datadir=/usr/local/mysql/data Add folder permissionsĮxecute initialization command bin/mysqld -initialize -user=mysql -basedir=/usr/local/mysql -datadir=/usr/local/mysql/data Use mv Rename the unzipped folder (easy to use) mv mysql-5.7.28-linux-glibc2.12-x86_64 mysqlĪdd mysql user and user group groupadd mysqlĪdd permissions to the mysql directory cd /usr/local/mysql - enter the mysql folderĬhown -R mysql:mysql. Unzip to the current directory tar -zxvf mysql-5.7.28-linux-glibc2.12-x86_64.tar.gz If rz is not installed, use yum to install yum -y install lrzsz ![]() Use rz Command to upload files to /usr/local In the catalog Step 2: Upload the mysql compressed installation package to CentOS View the relevant folders of uninstall remnants find / -name mysqlĭelete related folders rm -rf folder pathĭelete users and user groups userdel mysql Uninstall the mysql program rpm -e -nodeps program name View mysql-related installation procedures rpm -qa | grep mysql Step 1: Check whether mysql has been installed before and deal with it
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |