SHARE
TWEET
Untitled
a guest
Jun 2nd, 2017
78
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- Following this guide to reset/remove root mysql password https://help.ubuntu.com/community/MysqlPasswordReset
- a@ubuntu:~$ sudo /etc/init.d/mysql stop
- [sudo] password for a:
- [ ok ] Stopping mysql (via systemctl): mysql.service.
- a@ubuntu:~$ sudo /usr/sbin/mysqld --skip-grant-tables --skip-networking &
- [1] 20751
- a@ubuntu:~$ mysql -u root
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
- [1]+ Exit 1 sudo /usr/sbin/mysqld --skip-grant-tables --skip-networking
- a@ubuntu:~$
RAW Paste Data
