mysql 8 found option without preceding group my.ini at line 1 code example
Example: Found option without preceding group in config file: /etc/mysql/mariadb.conf.d/50-server.cnf at line: 1
// Just add [mysqld] as first line in the /etc/mysql/my.cnf file.
// Example:
[mysqld]
default-time-zone = "+08:00"
...