mysql 8.0使用了新的密码加密方式,不再使用mysql_native_password。flush privileges;flush privileges;% 就是不限制登录地址,同时主要修改配置文件中bind-address然后设置ALTER USER root IDENTIFIED WITH caching_sha2_password BY '123456';最后运行【阅读全文】
进入information_schema 数据库(存放了其他的数据库的信息)mysql> use information_schemaReading table information for completion of table and column namesYou can turn off this feature to get a quicker startup with -ADatabase changed 第一种情况:查询所有数据库的总大小,方法如下:mysql> sel...【阅读全文】