User Tools

Site Tools


mysql_ramdisk

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
mysql_ramdisk [2014/12/07 20:05]
kyxap
mysql_ramdisk [2014/12/07 20:24] (current)
kyxap
Line 7: Line 7:
  
 [mysqldump] [mysqldump]
 +tmpdir=/tmp
 +
 +[client]
 tmpdir=/tmp tmpdir=/tmp
 </​code>​ </​code>​
Line 15: Line 18:
 if ! /bin/df $MYSQL_TMPDIR | grep -q "​^/​dev/​md[0-9]";​ then if ! /bin/df $MYSQL_TMPDIR | grep -q "​^/​dev/​md[0-9]";​ then
   mkdir -p $MYSQL_TMPDIR   mkdir -p $MYSQL_TMPDIR
-  mount_mfs -s 1024m -o noexec md5 $MYSQL_TMPDIR +  mount_mfs -s 1024m -p 0700 -w mysql:​mysql ​-o noexec md5 $MYSQL_TMPDIR
-  chown mysql:mysql $MYSQL_TMPDIR+
 fi fi
 </​code>​ </​code>​
mysql_ramdisk.1417982732.txt.gz · Last modified: 2014/12/07 20:05 by kyxap