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!

remove databases of an account from commant line

Discussion in 'Database Discussion' started by Spyros, Aug 20, 2014.

  1. Spyros

    Spyros Member

    Joined:
    Jul 1, 2014
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Athens, Greece, Greece
    cPanel Access Level:
    Root Administrator
    hi all,

    i d'like to create a script for autoremove databases that not in use any more. but if i delete a database from mysql with dropdatabase the db continue to be on account details of MySQL Databases. how can i unmap them? is any api or cpanel script for unmapping the db?

    Regards,
    Savvanis Spyros
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,897
    Likes Received:
    1,814
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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