Public bug reported:

Ubuntu 9.10

mysql-client:
  Installiert: 5.1.37-1ubuntu5
  Kandidat: 5.1.37-1ubuntu5
  Versions-Tabelle:
 *** 5.1.37-1ubuntu5 0
        500 http://de.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

mysql-server:
  Installiert: 5.1.37-1ubuntu5
  Kandidat: 5.1.37-1ubuntu5
  Versions-Tabelle:
 *** 5.1.37-1ubuntu5 0
        500 http://de.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status


My Mysql-Installation was corrupt after a Ruby-on-Rails-Instalation.

First I did a complete new installation of Mysql 
(sudo apt-get mysql-client mysql-server)

Afterwards everything worked fine - until I shut down the computer.

The next day I could not connect. Error message:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
'/var/run/mysqld/mysqld.sock' (2)

Trying to restart mysql (/etc/init.d/mysql restart) gave me this message:
 * Stopping MySQL database server mysqld                                 [ OK ] 
 * /etc/init.d/mysql: WARNING: /etc/mysql/my.cnf cannot be read. See 
README.Debian.gz
 * Starting MySQL database server mysqld                                        
install: cannot change owner and permissions of „/var/run/mysqld“: No such file 
or directory

Then I saw, that my.cnf had disappeared altogether (sudo find / -name
my.cnf had no result).


Thank you for caring.

ProblemType: Package
Architecture: i386
Date: Sun Jan 24 17:06:00 2010
DistroRelease: Ubuntu 9.10
ErrorMessage: Unterprozess neues pre-installation-Skript gab den Fehlerwert 1 
zurück
Package: mysql-server-5.0 (not installed)
ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
SourcePackage: mysql-dfsg-5.0
Title: package mysql-server-5.0 (not installed) failed to install/upgrade: 
Unterprozess neues pre-installation-Skript gab den Fehlerwert 1 zurück
Uname: Linux 2.6.31-16-generic i686

** Affects: mysql-dfsg-5.0 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-package i386

-- 
mysqld.sock not found after restart
https://bugs.launchpad.net/bugs/512863
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to