How To Move a MariaDB Data Directory to a New Location on Linux

How To Move a MariaDB Data Directory to a New Location on Linux

The demo video covers all the steps which are required to move MariaDB data Directory to New Location.
Below are the items covered in the demo video. For scripts you can visit www.techbrotherstutorials.com

  • Check the current Location of Data Directory in MariaDB
  • How to Stop the MariaDB Service 
  • Check the MariaDB service status by using below command
  • Copy Entire mysql directory to new location in MariaDB
  • How to edit my.cnf configuration file in MariaDB to change data directory
  • How to Start MariaDB Service
  • Create a database to test new location is working fine in MariaDB after data directory moved to new location

2 comments:

  1. The final exam will be held for this year in the month of March . A huge number of students are going to take their higher secondary exam. After the completion of board examination, students will be Meghalaya 12th Exam Pattern 2023 eagerly waiting for their Model Paper 2023. The Meghalaya board will declare the MBOSE 12th HSC Model Paper 2023 after the answer sheet valuation process.

    ReplyDelete