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.

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

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

  1. Masimo

    Masimo Well-Known Member

    Joined:
    Nov 19, 2015
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    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'
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    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.
     
    Masimo likes this.
  3. Masimo

    Masimo Well-Known Member

    Joined:
    Nov 19, 2015
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    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!
     
  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 :)

    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.
     
Loading...

Share This Page