Linux下安装mysql-8.0.19和mysql-5.7.24

插眼留位:

Linux下安装mysql-8.0.19

 

Linux下安装mysql-5.7.24

 

my.cnf配置:

[mysqld]
datadir=/usr/local/mysql/data
port=3306
#socket=/var/lib/mysql/mysql.sock
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Settings user and group are ignored when systemd is used.
# If you need to run mysqld under a different user or group,
# customize your systemd unit file for mariadb according to the
# instructions in http://fedoraproject.org/wiki/Systemd
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
symbolic-links=0
max_connections=600
innodb_file_per_table=1

[mysqld_safe]
log-error=/usr/local/mysql/data/error.log
# log-error=/var/log/mariadb/mariadb.log
# pid-file=/var/run/mariadb/mariadb.pid

#
# include all files from the config directory
#
!includedir /etc/my.cnf.d

 

每天努力一点,每天都在进步。

你可能感兴趣的:(数据库,Linux下安装mysql,mysql-8.0.19,mysql-5.7.24)