![]() ![]() ![]() Lower_case_table_names = 1 max_allowed_packet =16M # The default storage engine that will be used when creating a new table # Maximum connections allowed max_connections = 200 # The character set used by the server defaults to 8 Bit coded latin1 Character set # Set up mysql Database data storage directory datadir =/usr/local/mysql/data Port = 3306 # Set up mysql Installation directory basedir =/usr/local/mysql Stay etc Next, create a new profile my.cnf, And add the following configuration in the file # Set up mysql Client default character set Mv mysql-5.7.21-linux-glibc2.12-x86_64/ /usr/local/mysql/Ĭhange the groups and users that you belong to chown -R mysql mysql/Ĭreate a database data store directory data cd /usr/local/mysql & mkdir data Unzip the file to the specified folder tar -vxzf mysql-5.7.21-linux-glibc2.12-x86_64.tar.gz ![]() Uninstall completely MySQL Methods install mysqlĮstablish mysql User group groupadd mysqlĮstablish mysql Users and join mysql User group useradd -g mysql mysql If there are other versions MySQL, Please delete it completely first CentOS 8 install mysql-5.7.21-linux-glibc2.12-x86_64.tar.gz uninstall mysql ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |