Tag: MySQL5.7
mysql_secure_installation
UNINSTALL PLUGIN validate_password
mysqladmin -uroot -pDo_you_love_MySQL57? password
[mysqld] sql_mode= NO_ENGINE_SUBSTITUTION secure_file_priv= "" binlog_format= STATEMENT innodb_buffer_pool_dump_at_shutdown= 0 innodb_buffer_pool_load_at_startup= 0 innodb_buffer_pool_dump_pct= 100 loose-default_password_lifetime= 0 ### Remove log_warnings!! loose-log_error_verbosity= 3 loose-log_timestamps= SYSTEM loose-internal_tmp_disk_storage_engine= MyISAM loose-show_compatibility_56= ON
[mysqld] sql_mode= "" secure_file_priv= "" binlog_format= STATEMENT innodb_buffer_pool_dump_at_shutdown= 0 innodb_buffer_pool_load_at_startup= 0 innodb_buffer_pool_dump_pct= 100 loose-default_password_lifetime= 0 ### Remove log_warnings!! loose-log_error_verbosity= 3 loose-log_timestamps= SYSTEM loose-internal_tmp_disk_storage_engine= MyISAM loose-show_compatibility_56= ON
SELECT @@GLOBAL.sql_mode;
mysql> show variables like 'secure_file_priv';
mysql> SHOW GLOBAL VARIABLES LIKE 'binlog_format';