修改mysql导出tmp文件。
This commit is contained in:
parent
fa0d5b5521
commit
4e90620132
|
|
@ -80,7 +80,7 @@ innodb_write_io_threads = 1
|
|||
innodb_file_per_table=1
|
||||
|
||||
|
||||
secure-file-priv=/tmp
|
||||
secure-file-priv={$SERVER_APP_PATH}/tmp
|
||||
|
||||
[mysqldump]
|
||||
quick
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ innodb_read_io_threads = 1
|
|||
innodb_write_io_threads = 1
|
||||
innodb_file_per_table=1
|
||||
|
||||
secure-file-priv=/tmp
|
||||
secure-file-priv={$SERVER_APP_PATH}/tmp
|
||||
|
||||
[mysqldump]
|
||||
quick
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ innodb_write_io_threads = 1
|
|||
innodb_file_per_table=1
|
||||
binlog_expire_logs_seconds=2592000
|
||||
|
||||
secure-file-priv=/tmp
|
||||
secure-file-priv={$SERVER_APP_PATH}/tmp
|
||||
|
||||
[mysqldump]
|
||||
quick
|
||||
|
|
|
|||
|
|
@ -161,6 +161,10 @@ def initDreplace(version=''):
|
|||
if not os.path.exists(mysql_conf_dir):
|
||||
os.mkdir(mysql_conf_dir)
|
||||
|
||||
mysql_tmp = getServerDir() + '/tmp'
|
||||
if not os.path.exists(mysql_tmp):
|
||||
os.mkdir(mysql_tmp)
|
||||
|
||||
mysql_conf = mysql_conf_dir + '/my.cnf'
|
||||
if not os.path.exists(mysql_conf):
|
||||
mysql_conf_tpl = getPluginDir() + '/conf/my' + version + '.cnf'
|
||||
|
|
|
|||
Loading…
Reference in New Issue