[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mysql nach apt



Hallo

Nach irgend einem Update via dselect/apt dist-upgrade (sarge-stable)
läuft die DB nicht mehr.
Nicht ganz so schlimm aber ich bin irritiert.
Ich erinnere noch wage das die my.cnf überschrieben wurde ohne das ich gefragt wurde(!?).
Ein genauer blick in die my.cnf zeigt mir diesen Eintrag auch im syslog.
# For compatibility to other Debian packages that still use
# libmysqlclient10 and libmysqlclient12.
old_passwords    = 1

Was hat es damit aufsich?
Kommentiere ich die Zeile läuft die DB wieder.
Aber ein backup der alten my.cnf ist auch nicht da :-( und das log sagt "kenn ich nich" , ups.

# syslog (datum etc gelöscht):

mysqld_safe[2755]: started
mysqld[2759]: 050815 16:39:48 /usr/sbin/mysqld: unknown variable 'old_passwords=1'
mysqld[2759]:
mysqld_safe[2761]: ended
/etc/init.d/mysql[2815]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in /etc/init.d/mysql[2815]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed /etc/init.d/mysql[2815]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' /etc/init.d/mysql[2815]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
/etc/init.d/mysql[2815]:


gruß Florian



Reply to: