发现Linux的系统时间和mysql中select now()的时间和日志的时间不一致。解决方法:1、查看log_timestamps参数的设置SHOW GLOBAL VARIABLES LIKE 'log_timestamps';+---------------------+-------------------+|Variable_name | Value |+...【阅读全文】
随着互联网技术的迅猛发展,现在逐步渐入大数据、云计算、虚拟技术和人工智能时代,技术为王的现象越来越明显了。MySQL数据库主从复制的原理是啥?MySQL应该怎么学??1.change master to 时,ip pot user password binlog position写入到master.info进行记录2. start slave 时,从库会启动IO线程和SQL线程3....【阅读全文】
安装后MySQL的error log提示:[Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.# sudo mysql -urootmysql> alter user root@localhost identified with mysql_native_password as '*xxxxx';【阅读全文】