Comment 4 for bug 1121874

Revision history for this message
Kurt Huwig (k-huwig-f) wrote :

I cannot see a difference with

ii mysql-server-5.5 5.5.29-0ubuntu0.12.04.2 MySQL database server binaries and system database setup

As I have too much disk space on my test machine, I've changed the code to check for much more space but left the rest untouched:

    LC_ALL=C BLOCKSIZE= df --portability /var/lib/mysql/. | tail -n 1 | awk '{ exit ($4<409600000) }'

The result is that the start of mysql fails, but there are no new logentries (I truncated all files before starting mysql):

root@mysql:~# service mysql start
start: Job failed to start
root@mysql:~# ls -l /var/log/mysql/error.log /var/log/mysql* /var/log/syslog
-rw-r----- 1 mysql adm 0 Apr 18 08:42 /var/log/mysql.err
-rw-r----- 1 mysql adm 0 Apr 18 08:42 /var/log/mysql.log
-rw-rw---- 1 mysql adm 0 Apr 18 08:45 /var/log/mysql/error.log
-rw-r----- 1 syslog adm 0 Apr 18 08:44 /var/log/syslog

/var/log/mysql:
total 0
-rw-rw---- 1 mysql adm 0 Apr 18 08:45 error.log