Hello.
I'm unable to get Mariadb 10.6 mysql.sock working from /var/run/mysql/ after upgrading to FreeBSD to 13.2 from 12.2.
I've taken the opportunity to update php to 8.1. So far, I think the OS upgrade went well, and the previously installed pkgs and ports worked, except for Mariadb.
I have checked directory permissions and user permissions, and they are correct what it should be.
I've used pkg install mariadb106-server-10.6.14 at first, then pkg delete it... and moved down pkg mariadb105, and even built the last one using ports, after deleting the previous pkgs.
# service mysql-server start says "Starting mysql.", but service mysql-server status says "mysql is not running.".
There are no error logs to help too.
If I change the socket statement in /usr/local/etc/mysql/my.cfn to
and then run
It works partially, in doing that I get...:
However ...
I'm unable to get Mariadb 10.6 mysql.sock working from /var/run/mysql/ after upgrading to FreeBSD to 13.2 from 12.2.
I've taken the opportunity to update php to 8.1. So far, I think the OS upgrade went well, and the previously installed pkgs and ports worked, except for Mariadb.
I have checked directory permissions and user permissions, and they are correct what it should be.
I've used pkg install mariadb106-server-10.6.14 at first, then pkg delete it... and moved down pkg mariadb105, and even built the last one using ports, after deleting the previous pkgs.
# service mysql-server start says "Starting mysql.", but service mysql-server status says "mysql is not running.".
There are no error logs to help too.
If I change the socket statement in /usr/local/etc/mysql/my.cfn to
Code:
socket = /tmp/mysql.sock
Code:
/usr/local/bin/mysqld_safe --datadir='/var/db/mysql' &
It works partially, in doing that I get...:
Code:
# mysql
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 3
Server version: 10.6.14-MariaDB FreeBSD Ports
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
root@localhost [(none)]> exit
Bye
However ...
Code:
# service mysql-server status
mysql is not running.