*** 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 was
var/lib/mysql.sock). So i changed debian.cnf in //etc/mysql/ to the
particular socket mysql server was actively running and voala!!
everything worked perfect.. cheers...

-- 
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 server
  through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to
  the MySQL server

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1605948/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to