Answer the question
In order to leave comments, you need to log in
Why can't install mysql and phpmyadmin?
Mysql specified a password when installing. Mysql installation failed
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-0ubuntu6.14) ...
Errors were encountered while processing:
mysql-server-5.5
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
I ignored it and went to install phpmyadmin.
I entered the password, that's all. But, apparently, due to an error with mysql, the installation of phpmyadmin failed.
Creating config file /etc/phpmyadmin/config-db.php with new version
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2).
unable to connect to mysql server.
error encountered creating user:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
An error occurred while installing the database:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)
If at this point you choose "retry", you will be prompted with all the
configuration questions once more and another attempt will be made at performing
the operation. "retry (skip questions)" will immediately attempt the operation
again, skipping all questions. If you choose "abort", the operation will fail
and you will need to downgrade, reinstall,
otherwise manually intervene to continue using it. If you choose "ignore", the
operation will continue, ignoring further errors from dbconfig-common.
1. abort 2. retry 3. retry (skip questions) 4. ignore
How to solve this? Please help
Answer the question
In order to leave comments, you need to log in
Hello,
Start over.
1. Install MySQL.
2. Check that it works.
3. Install Phpmyadmin, configure it.
Well, keep working.
Hello, I understand you are on linux
For linux, I have a file: LAMP.txt . See if it helps :-)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question