這是本文件的舊版!
Auto complete CLI
Create database
CREATE DATABASE menagerie; USE menagerie
Change credential
mysqladmin -u root password 'new-password' mysqladmin -u root -h localhost password 'new-password'
Show grants
SHOW DATABASES; SELECT host, USER, password FROM mysql.user; SHOW GRANTS FOR username@localhost;