[debian-mysql] configuring mariadb on debian stretch

Juha Heinanen jh at tutpro.com
Mon Apr 17 08:44:26 UTC 2017


Otto Kekäläinen writes:

> 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/* ?

I have mysql-common installed.  I tried the installation a couple of
times and had to manually delete /etc/mysql dir, because even after
removing/purging every packet that has maria or mysql in their name,
/etc/mysql was not removed:

# ls /etc/mysql/
debian.cnf

Should that file and the dir be removed by some postinst script, because
the file is not statically part of any package?

After doing all that, I started again from scratch and now /etc/mysql
dir looks OK:

/etc/mysql# ls
conf.d	    debian-start  mariadb.conf.d  my.cnf.fallback
debian.cnf  mariadb.cnf   my.cnf

Thanks, Juha



More information about the pkg-mysql-maint mailing list