ERROR 2002 (HY000): Can't connect to MySQL server on 'xx.xxx.xxx.xxx' (115)
0
votes
0
answers
2492
views
I wanted to connect to memsql but when I try i wasn't able to connect , I get error as:
~~~
mysql -u root -h 127.0.0.1 -P 3306 --prompt="memsql> "
ERROR 2002 (HY000): Can't connect to MySQL server on '127.0.0.1' (115)
~~~
Even for the local host I get the same error
when I try to install:
~~~
sudo apt-get install mysql-server mysql-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mysql-client is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package mysql-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'mysql-server' has no installation candidate
E: Package 'mysql-client' has no installation candidate
~~~
Suggestions would be much appreciated
Asked by user384052
Nov 29, 2019, 09:51 AM
Last activity: Nov 29, 2019, 10:33 AM
Last activity: Nov 29, 2019, 10:33 AM