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!

How to fix "Invalid (old?) table or database name" problem?

Discussion in 'Database Discussion' started by Masimo, Jan 28, 2016.

  1. Masimo

    Masimo Well-Known Member

    Joined:
    Nov 19, 2015
    Messages:
    70
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    Tbilisi
    cPanel Access Level:
    Root Administrator
    I have too much error "Invalid (old?) table or database name" in mysql server log.

    How can fix this problem?

    2016-01-28 11:55:55 9122 [ERROR] Invalid (old?) table or database name 'sql1_phbbd1'
    2016-01-28 11:55:55 9122 [ERROR] Invalid (old?) table or database name 'user2_ee55'
    2016-01-28 11:55:55 9122 [ERROR] Invalid (old?) table or database name 'wpxb2_userdb'
    2016-01-28 11:55:55 9122 [ERROR] Invalid (old?) table or database name 'persi_db2a1'
    2016-01-28 11:55:55 9122 [ERROR] Invalid (old?) table or database name 'hotxxx_xdborg'
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,813
    Likes Received:
    84
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello :),

    Are you getting this warring for your active databases ? Please check all these directory's size in /var/lib/mysql and if you are NOT using this databases then try to remove it through phpmyadmin.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Masimo likes this.
  3. Masimo

    Masimo Well-Known Member

    Joined:
    Nov 19, 2015
    Messages:
    70
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    Tbilisi
    cPanel Access Level:
    Root Administrator
    Thank you for your answer, i tried to do ...

    For some databases:
    `/var/lib/mysql/khatamyz_2-5-8': No such file or directory

    Confused! database is not available, but i see old table or database name on mysql error log!
     
    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,928
    Likes Received:
    1,817
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    It's possible the databases were not properly removed at some point in the past. Try creating, then deleting, the databases that no longer exist in the /var/lib/mysql directory.

    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