Theme editor

How to disable strict_trans_tables at MariaDB Almalinux and DirectAdmin?

Aior

Administrator
Staff member
Joined
Apr 2, 2023
Messages
87
Reaction score
2
Points
8
Age
39
Location
Turkey
Website
aior.com
Thread owner
When I install a script that's what I see:

The sql-mode strict_trans_tables is enabled in your mysql server, please contact your host provider to disable it.

1708010057254.jpeg

Connect your SSH as root user,

Code:
nano /etc/my.cnf

Add the code below and then Ctrl + X to save ---> y + Enter

Code:
sql_mode="ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

Then Restart MariaDB from DirectAdmin Service Monitor Panel

1708011011876.jpeg

Thats all!
 

Attachments

  • 1708010057254.jpeg
    1708010057254.jpeg
    33 KB · Views: 13
  • 1708011011876.jpeg
    1708011011876.jpeg
    112 KB · Views: 9

Featured content

Back
Top