Skip to main content

How To Move database to ssd

Comments

4 comments

  • SysSachin
    Hello, Use the below steps to change MySQL directory. Before doing anything you can take database backup. 1) Mount your ssd disk on new mount point /mysql 2) stop cpanel Apache and mysql service 3) Move your mysql directory from /var/lib/mysql to /mysql/mysql 4) Create symlink of mysql directory from /var/lib/mysql to /mysql/mysql 5) Start the mysql apache and cpanel services.
    0
  • monovm
    thanks SysSachin have nice day
    0
  • SysSachin
    Hello Monovm, You are welcome. Please update here if you are getting any issue with this process.
    0
  • cPLevey
    Hey @monovm, I'm glad @SysSachin was able to help you out with this!
    0

Please sign in to leave a comment.