Open edX Instructor Page Error on Ficus
This is what I found on edx.log
1 | OperationalError: (1045, "Access denied for user 'edxapp_replica001'@'localhost' (using password: YES)") |
I can’t access instructor tab on Open edX Learning Management System, the problem is user edxapp_replica001
doesn’t exist. Here’s list of MySQL use on ficus installation
1 | mysql> SELECT User FROM mysql.user; |
What’s the main problem? if you familiar with the new Open edX ficus installation and choose to randomized password by running command below, the script will set default EDXAPP_MYSQL_REPLICA_USER
on asible to edxapp_replica001
which will cause an error on MySQL 5.7.8 because it’s greater than 16 character
1 | wget https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/generate-passwords.sh -O - | bash |
Simple! to fix this problem after installation of ficus is to change lms.auth.json
and cms.auth.json
database configuration. We can use edxapp001
user for read_replica
database instead instead of edxapp_replica001
.
1 | DATABASES": { |
Now restart your lms and cms! it should be work1
$ sudo /edx/bin/supervisorctl restart edxapp: