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!

Mysql databases deleted and also Wordpress wp-config.php files

Discussion in 'Security' started by postcd, Oct 5, 2014.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    694
    Likes Received:
    15
    Trophy Points:
    68
    Hello,

    today i found one of my cpanel accounts 10 wordpress blogs stopped working, because their directories missing wp-config.php files, when i looked into cpanel, mysql section i found there are no databases and even no usernames.

    Please can anyone suggest if its possible to discover why this happend? i dont think this account had simple password that is written anywhere on the internet.. thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    694
    Likes Received:
    15
    Trophy Points:
    68
    Update:
    Interesting is that from WHM when i click PHPMyAdmin i see all databases with tables there!
    But when i access PHPMyadmin from that cPanel account i dont see any mysqls!
    When i reupload backups of wp-config.php files, websites started workign, so databases are there, but not visible in that particular cpanel..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #2 postcd, Oct 6, 2014
    Last edited: Oct 6, 2014
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,755
    Likes Received:
    1,886
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Do you see any output in /usr/local/cpanel/logs/error_log when accessing the MySQL databases option within cPanel for that account?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    694
    Likes Received:
    15
    Trophy Points:
    68
    the cpanel support solved this issue.
    about "Database Mapping Tool":
    "The Database Map Tool allows you to assign ownership of databases and database users to specific cPanel accounts. This ownership is retained in the internal mapping of databases to users and will allow management of the databases from within the owner’s cPanel interface."
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,755
    Likes Received:
    1,886
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
     
    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