====== MySQL Notes ====== ===== Change root password ===== use mysql; UPDATE user SET Password=PASSWORD('') WHERE User='root'; FLUSH PRIVILEGES; exit; flush privileges; ===== Create User ===== CREATE USER ''@'%' IDENTIFIED BY ''; flush privileges; ===== Grant Full Access to a Database ===== GRANT ALL PRIVILEGES ON .* TO ''@'%' WITH GRANT OPTION; flush privileges; ===== Check Grants for a User ===== SHOW GRANTS FOR ''@'%'