#author("2018-01-20T17:06:34+09:00","","")
#norelated
#contents
----
**インストール [#ce90833c]

# yum -y install mariadb-server mariadb-devel

#region("ログ")
 完了しました!
#endregion

**サービス起動 [#c9c63d82]
# systemctl start mariadb

**サービス自動起動 [#u719092c]
# systemctl enable mariadb

----

**設定ファイル [#a64236c1]
/etc/my.cnf

[mysqld]
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

&color(red){character-set-server=utf8};

[mysqld_safe]
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

color(red){[mysql]};
color(red){default-character-set=utf8};


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS