Migration or Site import fails: Unable to add database user: Database user name is invalid

Follow

Comments

2 comments

  • Avatar
    D Koop

    It looks like this fix does not work on the latest version anymore. When running a migration, the following command is shown with an error. When I executed this on command line, it fixed the issue. However, I still can not import long mysql names.

    /usr/local/psa/bin/secret_key --list
    PHP Fatal error: Declaration of Checker::sys_login($login, ?Db_Table_Row_ServiceNode $serviceNode = NULL) must be compatible with AbstractChecker::sys_login(string $login, ?Db_Table_Row_ServiceNode $serviceNode = NULL): bool in /usr/local/psa/admin/plib/Checker.php on line 7
    0
    Comment actions Permalink
  • Avatar
    Anton Maslov

    Hello,

    You seem using Plesk Obsidian 18.0. That hotfix is not needed on Obsidian, it has new limits introduced already with 32 symbols for a database user name.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request