ERROR 2002 (HY000): Can
# 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 | grep mysql
# If you dont see any process other than your grep call,
# It's not running
# Assuming you have mysql-server installed
# Start it
sudo /etc/init.d/mysql start
# Otherwise install it, configure and start it up as above
sudo apt-get install mysql-server
# Goodbye 2002
Also in Shell:
- undo last commit
- git checkout remote branch
- git bash Could not open a connection to your authentication agent
- linux vim set tab to 4 spaces
- convert all files and folders in current directory into zip in linux
- The repository 'https://download.docker.com/linux/ubuntu focal Release' does not have a Release file
- git flow init
- uninstall webpack globally
- time machine faster
- edit files from terminal linux
- cmd rename multiple folders
- env variable bash
- error: eaccess: permission denied ionic
- pytesseract
- grep
- gulp-tar
- linux merge two pdfs
- seeing all the installed apps i terminal
- how to set date in linux
- create cat document ubuntu
- mkdir multiple directories
- check disk space linux
- yarn add global
- add alias fish shell