[debian-mysql] Bug#922018: Bug#922018: mariadb-server-10.3: Logs are not in /var/lib/mysql

Olaf van der Spek olafvdspek at gmail.com
Fri Feb 15 10:24:50 GMT 2019


Op di 12 feb. 2019 om 18:13 schreef Faustin Lammler <faustin at fala.red>:
>
> Olaf,
> It seems that in this case, the error log should indeed be in the
> datadir ($ldata -> /var/lib/mysql).
>
> I have double checked and this behavior is the same since 10.1 (Debian
> or upstream).
>
> See:
> https://salsa.debian.org/mariadb-team/mariadb-10.1/blob/master/scripts/mysql_install_db.sh#L489
> https://salsa.debian.org/mariadb-team/mariadb-10.3/blob/master/scripts/mysql_install_db.sh#L511
> https://github.com/MariaDB/server/blob/10.1/scripts/mysql_install_db.sh#L499
> https://github.com/MariaDB/server/blob/10.3/scripts/mysql_install_db.sh#L511

Hi Faustin,

I'm sure not what point you're trying to make.

What does `ls -l /var/log/mysql` return on your system?

# ls -l /var/log/mysql
total 28
-rw-r----- 1 mysql adm    0 Feb 15 00:00 error.log
-rw-r----- 1 mysql adm   20 Feb 14 12:09 error.log.1.gz
-rw-r----- 1 mysql adm  978 Feb 14 12:09 error.log.2.gz
-rw-r----- 1 mysql adm   20 Feb 12 00:00 error.log.3.gz
-rw-r----- 1 mysql adm   20 Feb 11 09:39 error.log.4.gz
-rw-r----- 1 mysql adm  933 Feb 11 09:39 error.log.5.gz
-rw-r----- 1 mysql adm   20 Feb  4 12:05 error.log.6.gz
-rw-r----- 1 mysql adm 1117 Feb  4 12:05 error.log.7.gz



-- 
Olaf



More information about the pkg-mysql-maint mailing list