MySQL Forums
Forum List  »  Newbie

Re: Broken mysql, cannot use, remove, reinstall, fix
Posted by: Robert Hale
Date: April 19, 2019 12:17AM

Cannot invoke the client programme:

robert@robert-ideacentre-AIO-520-22IKU ~ $ sudo mysql -urobert -pfat1ma
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
robert@robert-ideacentre-AIO-520-22IKU ~ $

However, I did find where the "performance_schema" directory should be (/var/lib/mysql):

robert@robert-ideacentre-AIO-520-22IKU ~ $ sudo find / -name performance_schema -type d
[sudo] password for robert:
find: ‘/run/user/1000/gvfs’: Permission denied
/media/robert/usb_drive/Backups1/backintime/robert-ideacentre-AIO-520-22IKU/root/1/20180830-090003-453/backup/var/lib/mysql/performance_schema
/media/robert/usb_drive/Backups1/backintime/robert-ideacentre-AIO-520-22IKU/root/1/20190413-090004-693/backup/var/lib/mysql/performance_schema


But the /var/lib/mysql directory is empty.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.