The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

remove databases of an account from commant line

Discussion in 'Database Discussions' 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:
    30,678
    Likes Received:
    649
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page