Closed Thread
Results 1 to 10 of 10

Thread: Cannot drop mysql database

  1. #1
    pvirzi is offline x10Hosting Member pvirzi is an unknown quantity at this point
    Join Date
    Sep 2009
    Posts
    8

    Talking Cannot drop mysql database

    Hi there,

    in my free hosting account I've got 2 mysql dbs and i need to drop one of them

    as far as i understand, in order to drop a db i need to go through cpanel-->mysql databases and from there delete the db

    i tried this many times but couldn't get any result, cpanel just tells me that the db has been dropped but it hasn't

    could you please help me?

    thanks for your help

    bye

    Peppe

  2. #2
    ChatIndia's Avatar
    ChatIndia is offline Community Advocate ChatIndia is on a distinguished road
    Join Date
    Sep 2009
    Location
    Exam Time. I won't tell you
    Posts
    1,320

    Re: Cannot drop mysql database

    Okay, step by step
    Step1: Login to your control panel.
    Step2: Click on MySQL database
    Step3: Delete the databaase

    Click on Home and see for the no of database used. I'm sure it is reduced by one. If you still see the database but your number is reduced then you don't have to worry. What's the problem there?
    Your appreciation is extremely Important. Click on the button at the bottom left corner of my post.

  3. #3
    pvirzi is offline x10Hosting Member pvirzi is an unknown quantity at this point
    Join Date
    Sep 2009
    Posts
    8

    Re: Cannot drop mysql database

    nope, tried many times, the sql databases counter in the cpanel home is still telling me there are 2 out of 3 possible dbs...

    i know this sound silly, and i've been using cpanels long enough, but it just won't drop...

    ...

    the ghost of my old db is haunting me

  4. #4
    ChatIndia's Avatar
    ChatIndia is offline Community Advocate ChatIndia is on a distinguished road
    Join Date
    Sep 2009
    Location
    Exam Time. I won't tell you
    Posts
    1,320

    Re: Cannot drop mysql database

    okay, try this, remove all users from the database and then try to delete it.
    Edit:
    and :D think carefully before deleting it, the ghost of your old database may try to take revenge from you.
    Last edited by ChatIndia; 12-19-2009 at 11:04 AM. Reason: Automerged Doublepost
    Your appreciation is extremely Important. Click on the button at the bottom left corner of my post.

  5. #5
    pvirzi is offline x10Hosting Member pvirzi is an unknown quantity at this point
    Join Date
    Sep 2009
    Posts
    8

    Re: Cannot drop mysql database

    same result, i've deleted the users some 2 weeks ago, the db is not usable as there is no user assigned...it just sits there... watching me

  6. #6
    ChatIndia's Avatar
    ChatIndia is offline Community Advocate ChatIndia is on a distinguished road
    Join Date
    Sep 2009
    Location
    Exam Time. I won't tell you
    Posts
    1,320

    Re: Cannot drop mysql database

    be online, I'm trying to find any alternate for it.
    Edit:
    use phpmyadmin to delete your database
    Last edited by ChatIndia; 12-19-2009 at 11:14 AM. Reason: Automerged Doublepost
    Your appreciation is extremely Important. Click on the button at the bottom left corner of my post.

  7. #7
    pvirzi is offline x10Hosting Member pvirzi is an unknown quantity at this point
    Join Date
    Sep 2009
    Posts
    8

    Re: Cannot drop mysql database

    From the SQL statement window.....

    I got a nice big alert window telling me that

    "DROP DATABASE" statements are disabled."

    And so the journey of the ghost database continues...



    @snshusat: thanks for your help anyway, tried many ways...no way of getting rid of it

  8. #8
    ChatIndia's Avatar
    ChatIndia is offline Community Advocate ChatIndia is on a distinguished road
    Join Date
    Sep 2009
    Location
    Exam Time. I won't tell you
    Posts
    1,320

    Re: Cannot drop mysql database

    Okay, give all the privileges to yourself and then try.
    Edit:
    chucked up the sponge. But at least you can give me reputation for my try.
    Last edited by ChatIndia; 12-19-2009 at 12:28 PM. Reason: Automerged Doublepost
    Your appreciation is extremely Important. Click on the button at the bottom left corner of my post.

  9. #9
    scylla is offline x10 Sophmore scylla is an unknown quantity at this point
    Join Date
    Feb 2005
    Posts
    116

    Re: Cannot drop mysql database

    why don't you just login to phpmyadmin & drop all of the tables for that database? Then you can reuse that same database for whatever project you need it for.

  10. #10
    ChatIndia's Avatar
    ChatIndia is offline Community Advocate ChatIndia is on a distinguished road
    Join Date
    Sep 2009
    Location
    Exam Time. I won't tell you
    Posts
    1,320

    Re: Cannot drop mysql database

    Scylla. You gave an excellent solution for this problem.
    Your appreciation is extremely Important. Click on the button at the bottom left corner of my post.

Closed Thread

Similar Threads

  1. Which is better postgresql or MySQL?
    By Kurai Kumo in forum Scripts & 3rd Party Apps
    Replies: 11
    Last Post: 12-10-2009, 08:17 AM
  2. What is the exact URL of my MySQL database?
    By 16chan in forum Free Hosting
    Replies: 1
    Last Post: 12-20-2007, 11:51 PM
  3. Selecting MySQL database error
    By Nemcon in forum Free Hosting
    Replies: 0
    Last Post: 11-08-2007, 10:28 PM
  4. Have a problem with my forum
    By tikloos in forum Scripts & 3rd Party Apps
    Replies: 43
    Last Post: 01-19-2006, 01:14 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers