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!

Errors after upgrade to MariaDB 10.2

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

Tags:
  1. ebizindia

    ebizindia Well-Known Member

    Joined:
    Oct 13, 2005
    Messages:
    85
    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:
    920
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,323
    Likes Received:
    1,851
    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.
     
    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