I am installing FEMP on a digital ocean droplet. NGINX and PHP install worked fine. However after installing the MariaDB pkg, 'my.cnf' as well as all the sample .cnf files seem to be missing. The "pkg install" command does not show any errors. I tried to install 10.1, 10.2 and 10.3 all with the same results. "sudo service -v mysql-server start" doesn't show any errors. The exact commands I am running are:
Per some other threads, I checked the ownership of the /var/db/mysql/ directory:
drwxr-xr-x 3 mysql mysql 3 Aug 17 03:18 mysql
I also deleted all the files in that directory and tried restarting, but that did not help either.
I have used UNIX on and off (mostly off) for many years and am a little rusty. I suspect there is something simple I am missing, but don't know where to look next.
Code:
$ sudo pkg install mariadb103-server mariadb103-client
$ sudo sysrc mysql_enable="YES"
$ sudo service mysql-server start
drwxr-xr-x 3 mysql mysql 3 Aug 17 03:18 mysql
I also deleted all the files in that directory and tried restarting, but that did not help either.
I have used UNIX on and off (mostly off) for many years and am a little rusty. I suspect there is something simple I am missing, but don't know where to look next.