I have this error: Error happened during creating seafile admin

Hello
How do you check under python if mysql is connected ?
If my first question is understood, why doesn’t it create the admin user?
Mich