永久黄网站色视频免费直播,yy6080三理论日本中文,亚洲无码免费在线观看视频,欧美日韩精品一区二区在线播放
標(biāo)題:
[求助]
求助老大 如何更改mysql var目錄路徑
[打印本頁]
作者:
kiah
時(shí)間:
2012-3-11 16:08
標(biāo)題:
求助老大 如何更改mysql var目錄路徑
求助老大 如何更改mysql var目錄路徑 因?yàn)槲覓燧d盤了 想把數(shù)據(jù)庫放到掛載的盤里 請老大一定要幫助
作者:
admin
時(shí)間:
2012-3-11 18:18
可以在/www/wdlinux/etc/my.cnf里修改
又或是用目錄加載或連接形式
作者:
kiah
時(shí)間:
2012-3-11 18:37
回復(fù)
2#
admin
老大看下 這我的my 我不知道在哪里修改呀 希望老大教我修改下
# mysql conf /etc/my.cnf
# Created by http://www.fsowen.com
# Last Updated 2010.06.01
[client]
port = 3306
socket = /tmp/mysql.sock
[mysqld]
port = 3306
socket = /tmp/mysql.sock
skip-external-locking
key_buffer_size = 128M
max_allowed_packet = 1M
table_open_cache = 256
sort_buffer_size = 1M
read_buffer_size = 1M
read_rnd_buffer_size = 2M
myisam_sort_buffer_size = 8M
thread_cache_size = 8
query_cache_size= 16M
thread_concurrency = 8
max_connections = 300
wait_timeout = 30
interactive_timeout = 30
max_connect_errors = 9
long_query_time = 1
tmp_table_size = 16M
#log-bin=mysql-bin
#binlog_format=mixed
#server-id = 1
[mysqldump]
quick
max_allowed_packet = 8M
[mysql]
no-auto-rehash
[myisamchk]
key_buffer_size = 12M
sort_buffer_size = 1M
read_buffer = 1M
write_buffer = 1M
[mysqlhotcopy]
interactive-timeout
復(fù)制代碼
作者:
admin
時(shí)間:
2012-3-12 08:55
增加
datadir=目錄
歡迎光臨 WDlinux官方論壇 (http://www.fsowen.com/bbs/)
Powered by Discuz! 7.2