Good day! I am having a problem regarding the migration of our database. I will explain it into much detail as I can.
I am using an OpenEdx Platform and we are on the process of migrating our mongoDB and mysqlDB.
The instructions based on the documentation into restoring it unto the new instance is as follows:
By default in Tutor, the name of the edx-platform service database is openedx while itβs called edxapp in the native installation:
(Recommended) Edit your MySQL dump file:
Add
DROP DATABASE openedx;
to the SQL file above theCREATE DATABASE
line.Change
CREATE DATABASE /*!32312 IF NOT EXISTS*/
edxapp/*!40100 DEFAULT CHARACTER SET utf8 */;
toCREATE DATABASE /*!32312 IF NOT EXISTS*/
openedx/*!40100 DEFAULT CHARACTER SET utf8 */;
Change
USE edxapp;
toUSE openedx;
But the problem is, our database is too big. I can't even edit the dump file as it takes too long to load. How can I split it? And if I do split it, how can I concatenate it again so that I can now perform the restoration process?
I tried the second option based on the documentation but now, I am suffering some of its consequences.