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.

ibdata and Database cache

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

  1. iLinux85

    iLinux85 Active Member

    Joined:
    Mar 28, 2010
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    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 ?
     
  3. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    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.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    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.
     
Loading...

Share This Page