Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

The backup process completed, but 30 errors occurred.

Discussion in 'Data Protection' started by dr_lucas, Jul 16, 2018.

  1. dr_lucas

    dr_lucas Well-Known Member

    Joined:
    Jul 6, 2007
    Messages:
    47
    Likes Received:
    1
    Trophy Points:
    58
    Location:
    Thailand
    I am using MariaDB 10.1
    Yesterday I deleted through the shell (logged in as root) a few databases.
    Shortly after that I received an email from my server with the following errors and more like these about all the other databases that I have already deleted (I edited and replaced the actual database name with "dbname_removed" below, for security reasons):

    [2018-07-16 02:19:03 +0700] dbname_removed: mysqldump: Got error: 1049: "Unknown database 'dbname_removed'" when selecting the database
    warn [pkgacct] dbname_removed: mysqldump: Got error: 1049: "Unknown database 'warn [pkgacct] dbname_removed: mysqldump: Got error: 1049: "Unknown database 'dbname_removed'" when selecting the database'" when selecting the database
    [2018-07-16 02:19:03 +0700] dbname_removed: mysqldump: Got error: 1049: "Unknown database 'dbname_removed'" when selecting the database
    warn [pkgacct] dbname_removed: dbname_removed: Got error: 1049: "Unknown database 'dbname_removed'" when selecting the database
    [2018-07-16 02:19:03 +0700] dbname_removed: mysqldump: Got error: 1049: "Unknown database 'dbname_removed'" when selecting the database
    warn [pkgacct] dbname_removed: mysqldump: Got error: 1049: "Unknown database 'dbname_removed'" when selecting the database

    How can I fix this?

    Thank you
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,867
    Likes Received:
    280
    Trophy Points:
    193
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @dr_lucas

    First, to prevent this from occurring again in the future the proper way to remove the database is through cPanel either using the associated API functions or through the UI.

    The delete_database function here UAPI Functions - Mysql::delete_database - Developer Documentation - cPanel Documentation removes a database associated with a cPanel account

    To resolve this issue now, you can try to run the api as noted above or go to cPanel>>Databases>>MySQL Databases and remove the databases for the account which you removed manually.


    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. dr_lucas

    dr_lucas Well-Known Member

    Joined:
    Jul 6, 2007
    Messages:
    47
    Likes Received:
    1
    Trophy Points:
    58
    Location:
    Thailand
    Works! Thanks!
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,867
    Likes Received:
    280
    Trophy Points:
    193
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @dr_lucas


    I'm happy to hear that! Thanks for updating us!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice