Changes between Version 1 and Version 2 of MoveDatabaseToOtherPartition


Ignore:
Timestamp:
2011-04-13T09:23:34+02:00 (14 years ago)
Author:
Marc Jan Bonder
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MoveDatabaseToOtherPartition

    v1 v2  
    1 
    21== How to move a MySQL database to another partition ==
    32
     
    76   "/etc/init.d/mysql stop"
    87
    9 3) Move the folder to the new directory to the new partition (/your/new/location/.
     83) Move the folder to the new directory to the new partition (/your/new/location/)
    109
    11104) Give MySQL ownership of the directory
    12    "chown -R mysql:mysql /your/new/location/MySQLdatabase"
     11   "chown -R mysql:mysql /your/new/location/*"
    1312
    14135) Create a Symlink between the old directory and the new created dir.