mysql 重要指令


GRANT USAGE ON *.* TO 'username'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;

#1364 – Field 'ssl_cipher' doesn't have a default value
要去修改 my.cnf
增加
sql-mode=NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION