Public bug reported:

Problem started with failure to update my sites after my system hung and
forced "hard" shutdown.  On rebooting, could not get the server to
connect neither could I stop it.  I got Error #2002 unable to connect
with my phpMyAdmin.  Then on the terminal, I could not connect to mysql
as root got: ERROR 2002 (HY000): Can't connect to local MySQL server
through socket '/var/run/mysqld/mysqld.sock' (111)

Tried searching for the solution but all problem sites talk or error
with /var/lib/mysqld/mysqld.soc (2).  Solutions offered did not help
including that from the MySQL reference manual.

So I decided to upgrade the package but it would not install as it could
not stop the server that was running.  I had not been able to stop it
either with /etc/int.d/mysql stop or service mysql stop.

At present I am l am locked out of /var/lib/mysql - access denied.

I am running Ubuntu 10.4 on windows using wubi.exe

Hope you guys can find a solution soon otherwise I have to uninstall
Ubuntu and start all over again - painful as many days and nights  of
work would be lost.

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: mysql-server-5.1 5.1.41-3ubuntu12.3
ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-23-generic i686
Architecture: i386
Date: Fri Aug 13 21:22:17 2010
ErrorMessage: subprocess new pre-installation script returned error exit status 
1
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
MySQLConf.etc.mysql.conf.d.mysqld.safe.syslog.cnf:
 [mysqld_safe]
 syslog
MySQLVarLibDirListing: ['mysql_upgrade_info', 'manage_togo_4_0', 'ibdata1', 
'mysql', 'manage_northern_ghana_4_0', 'cssc_central_4_0', 'ib_logfile0', 
'ib_logfile1', 'ubuntu.pid', 'debian-5.1.flag', 'qualify_demo', 'ihris_manage', 
'ihris_manage_demo', 'manage_togo_4_0_dev', 'qualify_NMCN_4_0']
SourcePackage: mysql-dfsg-5.1
Title: package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: 
subprocess new pre-installation script returned error exit status 1

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


** Tags: apport-package i386 lucid

-- 
package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: 
subprocess new pre-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/617678
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 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