Jump to content

Recommended Posts

Posted

Hi,

 

We have Moodle installed with its database setup on a SQL Server, is it possible to move this database across in with the data intact into a MySQL database.

I have tried exporting with EMS MsManager however, the file size is 109 MB, the limit for an import into PHPmyAdmin is 2 MB.

 

We understand that we may have to hand edit some of the table creation SQL, but just wondered if there is a cheap (FREE) alternative anyone could recommend.

 

Paul

Posted

I suggest you import in shell. It is fast and efficient.

 

#mysql mdldatabase < db-dump-mdl.sql

 

Alternatively you can increase the import size in /etc/php.ini and work from phpmyadmin

 

All the Best!!

Posted
you could move it onto sql express which is the free for use version of MS SQL

 

We need to get it back into MySQL so that its is easy to update patch and add plugins, so MySQL is the natural route. Thanks for your comment.

Posted
I suggest you import in shell. It is fast and efficient.

 

#mysql mdldatabase < db-dump-mdl.sql

 

Alternatively you can increase the import size in /etc/php.ini and work from phpmyadmin

 

All the Best!!

 

We also discovered this late this afternoon, obviously it fails due to the Sql / MySQL code differences but I will have a stab at making the changers on all 80,000 lines of code when we get the time.

I’m hoping that a find and replace may get us by. :rolleyes:

 

Thanks

 

Paul

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...