My problem was solved checking if the process was running on Ubuntu 12.04
ps ax | grep mysql
Then the answer was that it wasn’t running, so I did
sudo service mysql start
Or try
sudo /etc/init.d/mysql start
More Related Contents:
- error: ‘Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)’ — Missing /var/run/mysqld/mysqld.sock
- MySQL: How to reset or change the MySQL root password?
- ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)
- Remote Connections Mysql Ubuntu
- ERROR 1130 (HY000): Host ” is not allowed to connect to this MySQL server [duplicate]
- Install MySQL on Ubuntu without a password prompt
- How to insert BLOB and CLOB files in MySQL?
- Removing MySQL 5.7 Completely [closed]
- MySQL fails on: mysql “ERROR 1524 (HY000): Plugin ‘auth_socket’ is not loaded”
- MYSql config bind-address set to 0.0.0.0 but netstat shows different on Ubuntu
- How do I store large no.of small entries in Mysql?
- The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead [duplicate]
- How can I search (case-insensitive) in a column using LIKE wildcard?
- Location of my.cnf file on macOS
- Search for “whole word match” in MySQL
- Connect to mysql on Amazon EC2 from a remote server
- Docker-compose check if mysql connection is ready
- SQL: selecting rows where column value changed from previous row
- What is the location of mysql client “.my.cnf” in XAMPP for Windows?
- How to generate data in MySQL?
- MySQL WHERE IN ()
- MySQL error 1241: Operand should contain 1 column(s)
- MySQL – Supertype/Subtype design
- Mysql: Order by like?
- How to use django models with foreign keys in different DBs?
- How to change MySQL column definition?
- How can I undo a mysql statement that I just executed?
- Continue SQL query even on errors in MySQL workbench
- Does replace into have a where clause?
- MySql. How to use Self Join