My model:
class Course(models.Model): language = models.ForeignKey(Language) name = models.CharField(max_length=50, unique=True, default=\'course\')
You can recreate "database" again:
CREATE DATABASE mydatabase CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
or change config file. Open /etc/mysql/mariadb.conf.d/50-server.cnf and change:
character-set-server = utf8 collation-server = utf8_general_ci