Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MYSQL doesn't start... ERROR 2002 (HY000) #34

Open
windswept321 opened this issue Dec 25, 2014 · 3 comments
Open

MYSQL doesn't start... ERROR 2002 (HY000) #34

windswept321 opened this issue Dec 25, 2014 · 3 comments

Comments

@windswept321
Copy link

Hi,
I've had, I think, the same issue in the past when I have tried to use this script with Debian 7. Now I have it in a fresh Debian 6 KVM vps.
MYSQL doesn't start and cannot start.
When I attempt to start it manually I receive this error:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
purging mysql-server and mysql-client and reinstalling via the script gives the same problem.

@yylzcom
Copy link

yylzcom commented Dec 26, 2014

/var/lib/dpkg/info/mysql-server-5.6.postinst: line 111: logger: command not found
/var/lib/dpkg/info/mysql-server-5.6.postinst: line 189: logger: command not found
dpkg: error processing mysql-server-5.6 (--configure):
subprocess installed post-installation script returned error exit status 127
Setting up libhtml-template-perl (2.91-1) ...
Setting up mysql-common-5.6 (5.6.21-1~dotdeb.1) ...
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.6; however:
Package mysql-server-5.6 is not configured yet.

dpkg: error processing mysql-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mysql-server-5.6
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
mysql-server installed for mysqld
mysql-client already installed
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!

@amicheals
Copy link

Did someone figure this out? I'm getting the same error

@webmarkhq
Copy link

logger: command not found

This can be fixed by reinstalling bsdutils

apt-get --reinstall install bsdutils

Source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants