package phpmyadmin 4:3.2.2.1-1 failed to install/upgrade: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2).
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
phpmyadmin (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: phpmyadmin
I tried to install phpmyadmin before installing MySQL 5.1 (was not a dependency as well)
Installing was on an (almost) clean machine with Ubuntu Desktop 9.10 installed
After I got this error message, phpmyadmin was installed and functioned fully.
Sort of spurious error.
ProblemType: Package
Architecture: amd64
Date: Thu Mar 11 21:51:22 2010
DistroRelease: Ubuntu 9.10
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
Package: phpmyadmin 4:3.2.2.1-1
PackageArchitec
ProcVersionSign
SourcePackage: phpmyadmin
Title: package phpmyadmin 4:3.2.2.1-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Uname: Linux 2.6.31-20-generic x86_64
Thanks for your report.
The relevant error is common/ phpmyadmin. conf
---
Setting up phpmyadmin (4:3.2.2.1-1) ...
dbconfig-common: writing config to /etc/dbconfig-
Creating config file /etc/dbconfig- common/ phpmyadmin. conf with new version
Creating config file /etc/phpmyadmin /config- db.php with new version mysqld/ mysqld. sock' (2). mysqld/ mysqld. sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/
unable to connect to mysql server.
error encountered creating user:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/
dbconfig-common: phpmyadmin configure: aborted.
dbconfig-common: flushing administrative password
dpkg: error processing phpmyadmin (--configure):
subprocess installed post-installation script returned error exit status 1
Do you have a MySQL server configured and running locally ?