What is the proper way to uninstall Mariadb and MySQL and do a fresh install

(Daniel Alvarez) #1

Hi, I’m new with Mariadb and MySQL. I did and installation of Mariadb.

I followed this guide for installation. I changed the password and I couldn’t login back. I tried to force a password reset with:

/usr/local/bin/mysql_secure_installation --skip-grant-tables

It didn’t work. I can’t access with the new password.

I can’t connect to databases with Sequel Pro

Update: I get to change the password and login. Now, after doing this and restarting my MBP this configuration is lost. Is there a way to fix this.

I also noticed that installing ‘code’ in PATH with Visual Studio Code, disappears after I reboot my MBP too.

Clean removal of MySQL