Skip to content

MySQL Code Snippets

Enter cli

bash
mysql -h host -u user -p

Create DB

mysql
CREATE DATABASE dbname;

Change password

mysql
ALTER USER 'root'@'localhost' IDENTIFIED BY 'NewPassword';

Changelog

Just observe 👀