Home » Categories » MySQL » Configuration

How do I disable Strict Mode in MySQL?

  1. Look for the following line:
    sql-mode = "STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
  2. Change it to:
    sql-mode="" (Blank)
  3. Restart the MySQL Service.

 

Reference:

https://www.knowledgebase-script.com/kb/article/how-do-i-disable-strict-mode-in-mysql-163.html

Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
 
Attachments Attachments
There are no attachments for this article.
Comments Comments
There are no comments for this article. Be the first to post a comment.
Related Articles RSS Feed
How to change the MySQL root account password on CentOS7?
Viewed 723 times since Sat, Sep 5, 2020
MySQL-PHP get and echo NOW() value?
Viewed 780 times since Mon, Sep 28, 2020
Your Password does not satisfy the Current Policy Requirements
Viewed 745 times since Sat, Sep 19, 2020
How can I disable MySQL Strict Mode?
Viewed 987 times since Mon, Sep 28, 2020