[Bug 1605948] Re: mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server

2020-07-30 Thread Paride Legovini
*** This bug is a duplicate of bug 1592669 *** https://bugs.launchpad.net/bugs/1592669 Replied to LP: #1605948, as this bug report is marked as a duplicate of it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1605948] Re: mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server

2020-07-29 Thread Mauro
*** This bug is a duplicate of bug 1592669 *** https://bugs.launchpad.net/bugs/1592669 A very similar problem happened today to me when upgrading mysql- sever-5.7 from 5.7.30 to 5.7.31. This is what happens in my Linux Mint 18.3 (based on Ubuntu 16.04): Log started: 2020-07-29 11:41:51

[Bug 1605948] Re: mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server

2018-08-20 Thread Zoltan Lippai
*** This bug is a duplicate of bug 1592669 *** https://bugs.launchpad.net/bugs/1592669 #17 that solution worked for me as well. Thanks for suggesting it! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1605948] Re: mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server

2018-07-17 Thread Michael Mayaka
*** This bug is a duplicate of bug 1592669 *** https://bugs.launchpad.net/bugs/1592669 I can also confirm the workaround provided by @lpuzio works. Thanks so much @lpuzio!!! I have been looking for a fix for this error that keeps giving me unexpected downtime (all my sites use MySQL) and

[Bug 1605948] Re: mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server

2018-03-22 Thread felix
*** This bug is a duplicate of bug 1592669 *** https://bugs.launchpad.net/bugs/1592669 i read a solution in stack overflow that worked for me. i have changed the socket location to tmp/mysql.sock in my.cnf. So when the upgrade script searched for it, was not able to find it (dfault location

[Bug 1605948] Re: mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server

2018-01-31 Thread Noctis Bennington
*** This bug is a duplicate of bug 1592669 *** https://bugs.launchpad.net/bugs/1592669 I can confirm that the post of @lpuzio is true. Only you just need activate in systemctl to "enable" mysql and then the error doesn't appear. Thanks @lpuzio. -- You received this bug notification because

[Bug 1605948] Re: mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server

2018-01-23 Thread CKDevelop
*** This bug is a duplicate of bug 1592669 *** https://bugs.launchpad.net/bugs/1592669 The workaround proposed by @lpuzio worked for me with the same problem. Thank you. [FR] La solution de contournement proposée par @lpuzio a fonctionné pour moi avec le même problème. Merci. [SHELL] sudo

[Bug 1605948] Re: mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server

2017-10-25 Thread Nick Weavers
*** This bug is a duplicate of bug 1592669 *** https://bugs.launchpad.net/bugs/1592669 @lpuzio your workaround worked for me on bash for windows - many thanks! $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 16.04.3 LTS Release:16.04

[Bug 1605948] Re: mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server

2017-10-24 Thread Avi Schwartz
*** This bug is a duplicate of bug 1592669 *** https://bugs.launchpad.net/bugs/1592669 Getting the same error in today's update. @lpuzio work around did not work for me. 16.04.3. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1605948] Re: mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server

2017-10-23 Thread Jun Yamut
*** This bug is a duplicate of bug 1592669 *** https://bugs.launchpad.net/bugs/1592669 Getting this exact same error after updating today. The workaround suggested above does not fix this issue. I'm on 16.04.3. -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1605948] Re: mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server

2017-09-27 Thread Melvin Williams
*** This bug is a duplicate of bug 1592669 *** https://bugs.launchpad.net/bugs/1592669 @lpuzio workaround worked for me too -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1605948 Title:

[Bug 1605948] Re: mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server

2017-05-27 Thread kro
*** This bug is a duplicate of bug 1592669 *** https://bugs.launchpad.net/bugs/1592669 The workaround suggested by @lpuzio doesn't seem to work on bash for windows -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1605948] Re: mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server

2017-02-17 Thread pickett.aaron
*** This bug is a duplicate of bug 1592669 *** https://bugs.launchpad.net/bugs/1592669 And: trsbox:~$ sudo journalctl -xe Feb 17 13:01:41 trsbox.net audit[5682]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=5682 comm="mysqld"

[Bug 1605948] Re: mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server

2017-02-17 Thread pickett.aaron
*** This bug is a duplicate of bug 1592669 *** https://bugs.launchpad.net/bugs/1592669 I am having a issue with a new install of 16.04.01: trsbox:~$ mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) trsbox:~$ mysqladmin -u root

[Bug 1605948] Re: mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server

2017-01-20 Thread Lyle
*** This bug is a duplicate of bug 1592669 *** https://bugs.launchpad.net/bugs/1592669 The workaround suggested by @lpuzio worked for me with the same problem. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1605948] Re: mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server

2016-09-22 Thread Robie Basak
*** This bug is a duplicate of bug 1592669 *** https://bugs.launchpad.net/bugs/1592669 ** This bug has been marked a duplicate of bug 1592669 postinst fails when daemon is not running (or is disabled by policy-rc.d) -- You received this bug notification because you are a member of Ubuntu

[Bug 1605948] Re: mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server

2016-09-13 Thread lpuzio
Hi, I had the same error. I solved this by one command: sudo systemctl enable mysql Than I had to start MySql: sudo service mysql start After this I was able to update: sudo apt dist-upgrade One could try to recreate this bug by disabling MySql before upgrade: sudo systemctl disable mysql

[Bug 1605948] Re: mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server

2016-08-22 Thread Steven
I got this error only when mounting "/var/lib/mysql" on a separate vDisk. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1605948 Title: mysql_upgrade: Got error: 2002: Can't connect to local MySQL

[Bug 1605948] Re: mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server

2016-08-02 Thread Robie Basak
** Summary changed: - package mysql-server-5.7 5.7.13-0ubuntu0.16.04.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 + mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)