flagflag  If you want to see English page, please click "English" Button at Left.
1: 2019-08-17 (土) 19:39:19 iseki ソース 現: 2019-08-17 (土) 19:45:01 iseki ソース
Line 1: Line 1:
-* MySQL5 [#p2e315da] +** MySQL5 [#p2e315da] 
-** CentOS6/7 [#w10cbc9c] + 
-*** Install (5.6) [#f339cb0b]+*** CentOS6/7 [#w10cbc9c] 
 + 
 +**** Install (5.6) [#f339cb0b]
 yum -y install http://dev.mysql.com/get/mysql-community​-release-el6-5.noarch.rpm  yum -y install http://dev.mysql.com/get/mysql-community​-release-el6-5.noarch.rpm
 yum -y install mysql mysql-devel mysql-server mysql-utilities  yum -y install mysql mysql-devel mysql-server mysql-utilities
 mysql --version  mysql --version
 +#br
 +
 +*** Setting [#haf396b3]
 +- my.cnf
 + [client]
 + default-character-set = utf8mb4
 + 
 + 
 + [mysql]
 + default-character-set = utf8mb4
 + 
 + 
 + [mysqld]
 + #innodb_force_recovery = 0  # 0 -6
 + #datadir=/var/lib/mysql
 + #socket=/var/lib/mysql/mysql.sock
 + user=mysql
 + 
 + #
 + skip-external-locking
 + #key_buffer_size = 16M
 + key_buffer_size = 48M
 + max_allowed_packet = 64M
 + innodb_log_file_size=64M
 + #table_open_cache = 64
 + sort_buffer_size = 512K
 + net_buffer_length = 8K
 + read_buffer_size = 256K
 + read_rnd_buffer_size = 512K
 + myisam_sort_buffer_size = 8M
 + 
 + #
 + tmp_table_size = 8M
 + #
 + # Disabling symbolic-links is recommended to prevent assorted security risks
 + symbolic-links=0
 + 
 + #
 + #slow query
 + slow_query_log
 + slow_query_log-file=/var/log/mysql/slow​.log
 + long_query_time=5
 + #
 + max_connections=1024
 + table_open_cache=4096
 + #
 + query_cache_size=48M
 + query_cache_min_res_unit=2k
 + #
 + #log=/var/log/mysql/query.log
 + #general_log_file=/var/log/mysql/query.​log
 + #
 + #log-bin=mysql-bin
 + #expire_logs_days=30
 + #
 + log-error=/var/log/mysql/mysqld.log​
 + log-warnings=1
 + 
 + #default-character-set=utf8
 + #character-set-server=utf8
 + character-set-server = utf8mb4
 + skip-character-set-client-handshake​
 + 
 + innodb_large_prefix=on
 + 
 + default-storage-engine=innodb
 + #collation-server = utf8_general_ci
 + collation-server = utf8mb4_unicode_ci
 + #
 + innodb_file_format = Barracuda
 + innodb_file_per_table = 1
 + innodb_large_prefix
 + 
 + 
 + [mysqld_safe]
 + pid-file=/var/run/mysqld/mysqld.pid​
 + wait_timeout=604800
 + 
 + default-character-set=utf8
 + skip-character-set-client-handshake​
 + 
#br #br


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 4月翌月
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
<今日>

オンライン状況

92 人のユーザが現在オンラインです。 (13 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 92

もっと...

アクセスカウンタ

今日 : 1310213102131021310213102
昨日 : 1169911699116991169911699
総計 : 2330043723300437233004372330043723300437233004372330043723300437
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com