Unknown Database errors every 30 seconds if I drop unknown database.

Discussion in 'MySQL' started by Invisitr0n, Apr 9, 2021.

  1. Invisitr0n

    Invisitr0n New Member

    Joined:
    Nov 2, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I started receiving the following my mysql error log today (once every 30 seconds):
    [Note] Unknown database 'sunl'
    yes, those are not normal characters (backspace and Start of Heading)
    The only way I can find to stop the error is to create a database with that exact name.
    If I try to drop the database after creating it, the errors start back up. This was not a database that was ever created on this server.
    This server is acting as a replication slave, so I check the master and there is a similar, but different named database causing the same issue on that server.

    Any suggestion would be appreciated.
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Check your code because somewhere that database is being used. If you can't find the database name anywhere in the codebase, it may be in the encrypted PHP file behind a hack. Search for base64 encoding functions. What is the language of your front end?
     
  3. fktrdhu

    fktrdhu New Member

    Joined:
    Dec 18, 2021
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Gender:
    Male
    it seems to me that the problem is not in the code but in the compiler itself
     

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