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!

ibdata and Database cache

Discussion in 'General Discussion' started by iLinux85, Apr 25, 2014.

  1. iLinux85

    iLinux85 Active Member

    Joined:
    Mar 28, 2010
    Messages:
    42
    Likes Received:
    2
    Trophy Points:
    58
    I have server based on Linux 64 Bit centos 6.5 and Mysql innoDB engine

    I created database for php script require database installation , after i successfully finished installation for first time i manually delete the database tables in /var/lib/mysql/databsename and try to re-install the php script again , the 2nd time i got problem installing the script which is tables already exist !

    I restart the Mysql , delete ib_log files , the php script still recognize that there is tables exists

    How Could I possible clear the cache for the database to recognize that the database already have no tables ?
     
  2. samachosting

    samachosting Member

    Joined:
    Apr 25, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Are you trying to delete a database ? Why not try drop database <database> in your mysql ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    829
    Likes Received:
    26
    Trophy Points:
    178
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    You're doing waaaay to much. Just go into cPanel and drop the database you created, or go into cPanel -> phpMyAdmin and delete all the tables inside of the database.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Yes, you could simply delete the database directly through cPanel. Manually removing files associated with InnoDB is never advised unless you are a qualified system administrator and understand the consequences of such actions.

    Thank you.
     
    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