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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Errors after upgrade to MariaDB 10.2

Discussion in 'Database Discussions' started by ebizindia, Nov 4, 2017.

Tags:
  1. ebizindia

    ebizindia Well-Known Member

    Joined:
    Oct 13, 2005
    Messages:
    83
    Likes Received:
    3
    Trophy Points:
    158
    Location:
    Kolkata, India
    cPanel Access Level:
    Root Administrator
    We upgraded to MariaDB 10.2 recently and after that, we are encountering lots of DB errors. Most of the errors are related to SQL queries referencing fields which cannot be null but no value was supplied in the query during insert or update.

    Can we see a list of the errors through some error log so that we can quickly identify and correct the problem without waiting for the client to complain?
     
  2. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    918
    Likes Received:
    13
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    The MySQL log is in /var/lib/mysql and will be named something like:
    hostname.example.com.err
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,721
    Likes Received:
    1,705
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The MySQL error log is located at /var/lib/mysql/$hostname.err, but you may also want to see if there are any individual error_log files within the document root of any PHP scripts that are producing error messages.

    Thank you.
     
Loading...

Share This Page