Ubuntu Pastebin

Paste from wafflejock at Mon, 25 Apr 2016 00:44:07 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
sudo systemctl edit mysql

In the file that opens add this text

[Service]
ExecStart=
ExecStart=/usr/sbin/mysqld --skip-grant-tables

Save and exit the file.  Reload systemd and the mysql service.

systemctl daemon-reload
systemctl restart mysql
Download as text