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.

not able to delete mysql db

Discussion in 'General Discussion' started by cyon, Jul 27, 2003.

  1. cyon

    cyon Well-Known Member
    PartnerNOC

    Joined:
    Jan 15, 2003
    Messages:
    320
    Likes Received:
    0
    Trophy Points:
    16
    hy,

    one of my customers has the following problem:
    when he wants to drop a mysql db in cpanel, this error appears:

    Code:
    /usr/bin/mysqladmin: DROP DATABASE snooker-_dbgamers failed; error:
    'Can't drop database 'snooker-_dbgamers'. Database doesn't exist' 
    
    has anyone a fix?

    thx, dave.

    cPanel.net Support Ticket Number:
     
  2. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    This is probably happening because of the hyphen in your users username. Fire up MySQL on the command line and use the drop command.

    mysql
    drop database snooker-_dbgamers;
    \q

    If for some reason that returns an error, navigate to /var/lib/mysql and rm -rf snooker-_dbgamers.

    cPanel.net Support Ticket Number:
     
  3. cyon

    cyon Well-Known Member
    PartnerNOC

    Joined:
    Jan 15, 2003
    Messages:
    320
    Likes Received:
    0
    Trophy Points:
    16
Loading...

Share This Page