┌────────────────────┐ │ │ │ MySQL config │ │ │ └────────────────────┘ pkg search mariadb | grep server pkg install mariadb1011-server mariadb1011-client In /usr/local/etc/php.ini: [MySQLi] mysql.default_socket = /var/run/mysql/mysql.sock mysqli.default_socket = /var/run/mysql/mysql.sock Config in /etc/rc.conf: mysql_enable="YES" service mysql-server start service mysql-server status mysql_secure_installation Switch to unix_socket authentication [Y/n] Y Change the root password? [Y/n] Y Remove anonymous users? [Y/n] n Disallow root login remotely? [Y/n] n Remove test database and access to it? [Y/n] n Reload privilege tables now? [Y/n] y service apache24 restart service php-fpm restart