Plesk backup fails: Unable to back up applications packages. Error: ODBC error #28000: [ma-3.1.20]Access denied for user 'apsc'@'127.0.0.1' (using password: YES)

Follow

Comments

2 comments

  • Avatar
    B3 Support (Edited )

    We have skip_name_resolve added to /etc/mysql/mariadb.conf.d/50-server.cnf 

    and restarted mariadb server.

     

    Then we have started an manual Backup only with configuration. The issue still exists.

    Using MariaDB 10.3.x

     

    0
    Comment actions Permalink
  • Avatar
    B3 Support

    The following workaround solved the problem for us:

    show create user `apsc`@`localhost`;

    Create a new user with host 127.0.0.1

    CREATE USER `apsc`@`127.0.0.1` IDENTIFIED BY PASSWORD 'PASSWORD_FROM_CREATE_USER';

    Show the grants of apsc

    show grants for 'apsc'@'localhost';

    Grant the same privileges to new user:

    GRANT USAGE ON *.* TO `apsc`@`127.0.0.1`;
    GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, TRIGGER ON `apsc`.* TO `apsc`@`127.0.0.1`;
    flush privileges;

    Now the backup is working again.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request