Actions

Setting up Mysql 8

From Convention Master Documentation

Revision as of 18:06, 15 November 2022 by Trapa (talk | contribs) (Created page with "== Setting up in Mysql 8 == The tasks I had to do to set up CM for mysql 8 were as follows. # Before the system is even attempted to be installed, log into mysql as the root...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Setting up in Mysql 8

The tasks I had to do to set up CM for mysql 8 were as follows.

  1. Before the system is even attempted to be installed, log into mysql as the root user sudo mysql and then run the query SET GLOBAL log_bin_trust_function_creators = 1;
  1. Edit /etc/mysql/mysql.conf.d/mysqld.cnf and add sql-mode="NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION" to the end of the file. Then Restart Mysql server