Migrating from Open edX native

Hello everyone

can someone please help me
I want to migrate from open edx native koa version to tutor version

I followed
https://openedx.atlassian.net/wiki/spaces/COMM/pages/3249438723/How+to+migrate+from+a+native+deployment+to+a+tutor+deployment+of+the+Open+edX+platform

but I got error 500

now when I type
tutor local quickstart

it failes and I get this error

Initialising MySQL…

mysql: [Warning] Using a password on the command line interface can be insecure.

ERROR 1130 (HY000): Host ‘172.18.0.13’ is not allowed to connect to this MySQL server

ERROR: 1

Error: Command failed with status 1: docker-compose -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.yml -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.prod.yml -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.tmp.yml --project-name tutor_local -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.jobs.yml -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.jobs.tmp.yml run --rm mysql-job sh -e -c echo “Initialising MySQL…”

mysql_connection_max_attempts=10

mysql_connection_attempt=0

Pease help

Was this problem ever solved? I’m getting the same error and none of the fixes I’ve found when googling are helping.

First try to install the same corresponding tutor version that you are currently using

e.g.
if you are using the native koa then install the tutor koa version

2- migrate the DB

3-upgrade the tutor version

If it is still not working
Try this

instead of migrating the whole mysql DB try to migrate just the edxapp DB
remember the edxapp DB name is different for tutor

so backup the edxapp DB from your original server
and then open the sql file and try to change the edxapp DB name
to openedx

change this

Host: localhost Database: edxapp

into this

Host: localhost Database: openedx

Now upload the sql file to the new server and restore the DB

if everything worked fine
You can now upgrade the tutor version