Skip to content

Instantly share code, notes, and snippets.

View jarwonozt's full-sized avatar
🏠
Working from home

NOZT jarwonozt

🏠
Working from home
View GitHub Profile
@jarwonozt
jarwonozt / reset-mysql-password-on-linux-mint.md
Created January 22, 2024 17:16 — forked from syahzul/reset-mysql-password-on-linux-mint.md
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