Changeset ce9f9b3 for npl/commonservers/mysql_conf/root/service/mysql/run
- Timestamp:
- 08/03/18 13:17:46 (7 years ago)
- Branches:
- master, perl-5.22
- Children:
- a384a97
- Parents:
- 981dbbc (diff), 1163be4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
npl/commonservers/mysql_conf/root/service/mysql/run
r981dbbc rce9f9b3 19 19 fi 20 20 21 sed "s/^innodb_buffer_pool_size.*/innodb_buffer_pool_size = "$MEM_POOL"K/g" -i /etc/my.cnf 21 #make the config update atomic. (it happend more then once that during a crash/reset the config file ended up zero bytes ) 22 cat /etc/my.cnf | sed "s/^innodb_buffer_pool_size.*/innodb_buffer_pool_size = "$MEM_POOL"K/g" > /etc/my.cnf.tmp 23 sync 24 mv /etc/my.cnf.tmp /etc/my.cnf 22 25 23 26 cd /
Note: See TracChangeset
for help on using the changeset viewer.