+ Reply to Thread
Results 1 to 6 of 6

Thread: renaming or deleting a database in PHPMyAdmin...

  1. #1
    rufussweetwater's Avatar
    rufussweetwater is offline x10Hosting Member rufussweetwater is an unknown quantity at this point
    Join Date
    May 2009
    Location
    IN, USA
    Posts
    56

    Question renaming or deleting a database in PHPMyAdmin...

    i am trying to create a new database for my custom forums. so i log into cPanel, click on PHPMyAdmin, and for some reason when i was selecting a database, there was a third database that i didn't make. apparently it was for a shoutbox which doesn't make sense. when i open it its blank, nothing's in it. so i just wanted to either delete it or just rename it. But i cant find the drop command to delete it, and when i go under operations to rename it, it says that i have an error and no privileges to create a new database. all i want is to either rename the database or delete so i can make a fresh one for my custom PHP forum.

    Any help at all is much appreciated.

    :hahano: Don't Laugh, I'm not a hard gamer... :hahano:

    ................I Know................
    :wavey: $====> CYK Studios <====$ :lockd:
    Movies, Games, Reviews, & More...

  2. #2
    leafypiggy's Avatar
    leafypiggy is offline Community Advocate leafypiggy is on a distinguished road
    Join Date
    Aug 2007
    Location
    Massachusetts
    Posts
    2,228

    Re: renaming or deleting a database in PHPMyAdmin...

    What's the name of the database?

    It may just be a database that is needed for the others to function properly.
    Neil Hanlon | x10Hosting Support Representative
    Neil[at]x10hosting.com
    █ I'm always happy to help. Just ask a question in Free Hosting
    Terms of Service IRC

  3. #3
    rufussweetwater's Avatar
    rufussweetwater is offline x10Hosting Member rufussweetwater is an unknown quantity at this point
    Join Date
    May 2009
    Location
    IN, USA
    Posts
    56

    Re: renaming or deleting a database in PHPMyAdmin...

    cykadmin_shoutbox

    i think the system thinks i made the database. but i didnt...

    :hahano: Don't Laugh, I'm not a hard gamer... :hahano:

    ................I Know................
    :wavey: $====> CYK Studios <====$ :lockd:
    Movies, Games, Reviews, & More...

  4. #4
    leafypiggy's Avatar
    leafypiggy is offline Community Advocate leafypiggy is on a distinguished road
    Join Date
    Aug 2007
    Location
    Massachusetts
    Posts
    2,228

    Re: renaming or deleting a database in PHPMyAdmin...

    there must have been a shoutbox on your forums or something at one time.

    try deleting it from the SQL manager.

    http://yoursite.com:2082/frontend/x3/sql/index.html

    replace "yoursite.com" with your domain name.
    Neil Hanlon | x10Hosting Support Representative
    Neil[at]x10hosting.com
    █ I'm always happy to help. Just ask a question in Free Hosting
    Terms of Service IRC

  5. #5
    Livewire's Avatar
    Livewire is offline Abuse Compliance Officer Livewire is a glorious beacon of lightLivewire is a glorious beacon of light
    Join Date
    Jun 2005
    Location
    Behind a keyboard.
    Posts
    8,998

    Re: renaming or deleting a database in PHPMyAdmin...

    Quote Originally Posted by leafypiggy View Post
    there must have been a shoutbox on your forums or something at one time.

    try deleting it from the SQL manager.

    http://yoursite.com:2082/frontend/x3/sql/index.html

    replace "yoursite.com" with your domain name.
    Jumping in, far as I know this all has to be done via cPanel - it seems that however cPanel tracks the # of databases each user has, it ends up requiring that cPanel be the one to add/delete databases.


    That being said that would also explain why the phpmyadmin_rename doesn't work - just tested it locally, what it actually does is this:

    We'll say I have OldDB and want to rename to NewDB. PHPMyAdmin creates NewDB, selects all the data in OldDB, creates new tables that match the OldDB tables in NewDB, puts the data into NewDB, then erases OldDB.

    In short, it doesn't actually rename the database, so much as it creates a new one and copy+pastes the data over. Since cPanel is what's needed to make a new database, phpmyadmin throws an error right on the first part.



    Juuust throwing that out there, cause it explains why phpmyadmin's not able to rename, add, or delete. Something to do with cPanel doing the counting means phpmyadmin can modify the heck out of the db's, but not make or erase them.
    Last edited by Livewire; 07-16-2009 at 02:10 PM.


    TOS breakers will be suspended regardless of race, creed, national origin, hair color, or favorite food. Thanks for your understanding!

  6. #6
    rufussweetwater's Avatar
    rufussweetwater is offline x10Hosting Member rufussweetwater is an unknown quantity at this point
    Join Date
    May 2009
    Location
    IN, USA
    Posts
    56

    Re: renaming or deleting a database in PHPMyAdmin...

    oh i see now, that would make sense. because that cykadmin_shoutbox DB was my third DB, and since I'm a free hosting user i am limited to three DBs. So when i tried to rename it it gave me the error saying that i had no privileges because i had maxed out my DB numbers.

    Thanks for your help both of you...

    :hahano: Don't Laugh, I'm not a hard gamer... :hahano:

    ................I Know................
    :wavey: $====> CYK Studios <====$ :lockd:
    Movies, Games, Reviews, & More...

+ Reply to Thread

Similar Threads

  1. Mysql Database import in phpmyadmin
    By eveind in forum Free Hosting
    Replies: 0
    Last Post: 11-13-2008, 02:06 PM
  2. PhpMyAdmin - Database problem
    By Arcadoli in forum Free Hosting
    Replies: 3
    Last Post: 08-10-2008, 08:18 AM
  3. Delete Database from phpMyAdmin
    By miyagiz in forum Free Hosting
    Replies: 3
    Last Post: 03-10-2008, 02:37 AM
  4. Replies: 0
    Last Post: 12-27-2007, 03:16 PM
  5. PHP BB 2.0.16 Manual instalation
    By GFIV in forum Free Hosting
    Replies: 8
    Last Post: 09-14-2005, 12:40 PM

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