What do you want to save?
Add Code snippet
New code examples
-
SQL 2022-03-19 14:10:22
how to install mysql in ubuntu 20.04
## To install mysql in Ubuntu ## sudo apt install mysql-server ## For configuration sudo mysql_secure_installation # For password type YES or y ... enter you password # For removing user NO or n # For disallow login NO or n # For remove database NO or... Add solution -
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 -
-
SQL 2021-11-20 23:02:10
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysql.sock' (2) Ask
## ERROR 2002 (HY000): ## Can't connect to local MySQL server through socket #### Follow below steps and you good to go... #### sudo dpkg-reconfigure mysql-server-{version_number} ##version_number should be mysql version number installed ## Now try log... Add solution -
-
Shell/Bash 2021-11-01 09:47:17
install php on ubuntu
# Update packages lists sudo apt update # Install Apache2 (on Ubuntu, mostly it's already installed) sudo apt install apache2 # Install the latest version of PHP and Apache wrapper sudo apt install php libapache2-mod-php # Install some important PHP ex... Add solution