网站建设资讯

NEWS

网站建设资讯

MySQL5.7.28配置文件编写

默认情况下,MySQL服务或者客户端都会读取/etc/my.cnf作为配置文件,除非指定default-file

为云浮等地区用户提供了全套网页设计制作服务,及云浮网站建设行业解决方案。主营业务为网站设计制作、成都网站设计、云浮网站设计,以传统方式定制建设网站,并提供域名空间备案等一条龙服务,秉承以专业、用心的态度为用户提供真诚的服务。我们深信只要达到每一位用户的要求,就会得到认可,从而选择与我们长期合作。这样,我们也可以走得更远!

[mysqld]

port=3306

innodb_file_format=barracuda

innodb_large_prefix=on

lower_case_table_names=1

sql_mode=STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

datadir=/var/lib/mysql

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

[mysqld_safe]

log-error=/var/log/mariadb/mariadb.log

pid-file=/var/run/mariadb/mariadb.pid

ma

#

# include all files from the config directory

#

!includedir /etc/my.cnf.d

[client]

port=3306

socket=/var/lib/mysql/mysql.sock


网站标题:MySQL5.7.28配置文件编写
当前地址:http://cdweb.net/article/jegsjg.html