mysql: [ERROR] Found option without preceding group in config file /etc/my.cnf at line 1. mysql: [ERROR] Fatal error in defaults handling. Program aborted! 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"
...