A
A
ayapergenov2016-08-26 14:15:23
PHP
ayapergenov, 2016-08-26 14:15:23

How to write sql-mode correctly?

In the /etc/mysql/my.cnf file, you need to specify that the sql_mode parameter in the mysql settings be empty.
Tried:

SET sql_mode = ''; or
SET sql_mode = or
sql_mode = '';

Please tell me how to spell correctly.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
ayapergenov, 2016-08-26
@ayapergenov

This solution helped
. To enter a parameter in the my.cnf file, specify it in the [mysqld] block, i.e. so
[mysqld]
sql-mode=''

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question