Differences

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

mirnshi:apparmor_and_mysql_on_ubuntu [2009/04/15 10:53] (current)
mirnshi created
Line 1: Line 1:
 +====== apparmor and mysql on ubuntu ======
 +The default data directory is /var/lib/mysql. How to change to a new directory, such as /data?
 +    -stop mysql
 +    -move /var/lib/mysql /data
 +    -modify **/etc/apparmor.d/usr.sbin.mysqld**, ///var/lib/mysql// to ///data/mysql//
 +    -restart apparmor
 +    -start mysql
 +
 +{{tag>}}
 +
 +~~LINKBACK~~
 +~~DISCUSSION~~
 
mirnshi/apparmor_and_mysql_on_ubuntu.txt · Last modified: 2009/04/15 10:53 by mirnshi
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki