borism wrote:Пишу на русском (переведете в google)
1-Ваша инструкция по ссылке
https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way
Code: Select all
cp /etc/mysql/mysql.conf.d/mysqld.cnf /etc/mysql/my.cnf
НЕ ВЕРНА
2-Правильно изменять файл /etc/mysql/conf.d/mysql.cnf
Code: Select all
[mysql]
sql_mode = NO_ENGINE_SUBSTITUTION
В этом случае все работает как Вы и указали в своей инструкции
Ниже привожу скриншоты
skip.
С уважением
Борис
Solution correct for Mysql 5.6.

/home/vladimir# cat /etc/mysql/conf.d/mysql.cnf
[mysql]
sql_mode = NO_ENGINE_SUBSTITUTION
#mysql -u root -p
mysql: [ERROR] unknown variable 'sql_mode=NO_ENGINE_SUBSTITUTION'
cat /etc/mysql/conf.d/mysql.cnf
[mysql]
# sql_mode = NO_ENGINE_SUBSTITUTION
mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 15
Server version: 5.7.12-0ubuntu1 (Ubuntu)
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
Any ideas ???? Question still open.