Check out example codes for "Found option without preceding group in config file: /etc/mysql/mariadb.conf.d/50-server.cnf at line: 1". It will help you in understanding the concepts better.

Code Example 1

// Just add [mysqld] as first line in the /etc/mysql/my.cnf file.
// Example:

[mysqld]
default-time-zone = "+08:00"
...

Learn ReactJs, React Native from akashmittal.com