Skip to content

Instantly share code, notes, and snippets.

View syahzul's full-sized avatar
😑
burnout

Syahril Zulkefli syahzul

😑
burnout
View GitHub Profile
@syahzul
syahzul / reset-mysql-password-on-linux-mint.md
Last active January 22, 2024 17:16
Reset MySQL root password on Linux Mint 19.2

Let's start by stopping the currently running MySQL database.

$ sudo systemctl stop mysql.service

Next, create set proper permission to the folder to be used by MySQL process to store and access socket file.

$ sudo mkdir -p /var/run/mysqld