[debian-mysql] configuring mariadb on debian stretch

Otto Kekäläinen otto at debian.org
Mon Apr 17 08:17:11 UTC 2017


2017-04-16 20:04 GMT+02:00 Juha Heinanen <jh at tutpro.com>:
> root at rautu:/etc/mysql# ls -lsR .
> .:
> total 12
> 4 -rw------- 1 root root  277 Apr 14 19:32 debian.cnf
> 4 -rwxr-xr-x 1 root root 1509 Mar 28 23:59 debian-start
> 4 drwxr-xr-x 2 root root 4096 Apr 16 09:14 mariadb.conf.d
>
> ./mariadb.conf.d:
> total 8
> 4 -rw-r--r-- 1 root root 1032 Mar 28 23:59 50-mysqld_safe.cnf
> 4 -rw-r--r-- 1 root root 3718 Apr 16 09:06 50-server.cnf


Do you have mysql-common installed?
The file /etc/mysql/my.cnf seems to be missing. It should be a symlink
to /etc/mysql/mariadb.conf, which then includes those other files. You
seem to be missing that file too.

Have you manually deleted files in /etc/mysql/* ?



More information about the pkg-mysql-maint mailing list