What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-02-02 19:45:30
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
# This is usually caused by the fact that the # MySQL Server isn't even running # On Windows, check your services, if its not running # start it, or install and start it. # On *nix, for this example Debian based # Firstly see if it's even running ps aux ... Add solution -
Shell/Bash 2021-10-14 10:38:10
errors were encountered while processing: mysql-server-5.7 mysql-server e: sub-process /usr/bin/dpkg returned an error code (1)
sudo apt-get clean sudo apt-get purge mysql* sudo apt-get update sudo apt-get install -f sudo apt-get install mysql-server-5.7 sudo apt-get dist-upgrade Add solution -
Shell/Bash 2021-08-27 07:07:01
failed to restart mysql.service: unit mysql.service not found.
# Try Uninstalling and Installing again # Uninstall: sudo apt-get purge mysql-server sudo apt-get autoremove sudo apt-get autoclean # Install: sudo apt-get update sudo apt-get install mysql-server Add solution