Quantcast
Viewing all articles
Browse latest Browse all 46815

Re: error upgrading from moodle 1.9 - 2.0

by Ken Task.  

Dang it!  That was the other thought I had but failed to mention Image may be NSFW.
Clik here to view.
sad
... character set and collation as well as engine now have to be particular.  Character set: utf8 with collation utf8_general_ci and Engine must be Innodb.

In 2.1 code (scripts don't exist in 2.0.x), there should be a couple of scripts you can run from the command line to take care of all that:

in moodlecode/admin/cli/

Run like (shows linux - adjust for Winders):

sudo -u www-data /usr/bin/php admin/cli/mysql_collation.php --collation=utf8_general_ci

And

sudo -u www-data /usr/bin/php admin/cli/mysql_engine.php --engine=InnoDB

Reason for using the scripts, normally such changes require one to do so on each table.  Too many tables!  The scripts make those changes to *ALL* tables. ;)

'spirit of sharing', Ken


Viewing all articles
Browse latest Browse all 46815

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>