grant
用法: grant 权限 on 数据库对象 to 用户 例如: grant 普通数据用户,查询、插入… 继续阅读 grant
用法: grant 权限 on 数据库对象 to 用户 例如: grant 普通数据用户,查询、插入… 继续阅读 grant
bin/mysqld: error while loading shared libraries: … 继续阅读 bin/mysqld: error while loading shared libraries: libnuma.so.1
#!/bin/bash binlog_path=’/data/mysql/3306/binary’ … 继续阅读 binlog简易备份
select table_schema, sum(data_length+index_length)… 继续阅读 mysql统计information_schema表信息
ImportError: No module named MySQLdb [root@server … 继续阅读 ImportError: No module named MySQLdb
mysqldump: Couldn’t execute ‘show fields from test… 继续阅读 mysqldump: Couldn’t execute ‘show fields from `test_index`’: Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation ‘=’ (1267)
检查event事件是否开启 show variables like ‘%sche%’; 如果Valu… 继续阅读 mysql实现定时执行sql语句
wordpress4.2后更改了数据库,在导入5.5以下数据库时会出现; 全局替换为utf8_gen… 继续阅读 ERROR 1273 (HY000) at line 25: Unknown collation: ‘utf8mb4_unicode_520_ci’
easy_install mysql-python (mix os) pip install mys… 继续阅读 ImportError: No module named MySQLdb
原因是数据test目录下有除了数据库文件以外的文件, 可以cd到test清空后再drop
db_not_bak=”mysql information_schema performance_s… 继续阅读 分库备份mysqldump
默认>=8.0.4的MySQL使用的default-authentication-plugin=ca… 继续阅读 MySQL8客户端连接问题
停止MySQL服务。 数据库目录:C:\ProgramData\MySQL\MySQL Server… 继续阅读 MySQL5.7windows版更改数据目录
1.主库锁表 flush tables with read lock; show master st… 继续阅读 mysql快速重建主从
CREATE TABLE innodb_monitor(a INT) ENGINE=INNODB; … 继续阅读 mysql的innodb_monitor监控
#MariaDB/MySQL的默认设置性能非常差,仅仅起一个功能测试的作用,不能用在生产环境中,因此… 继续阅读 mysql常用配置my.cnf
1、关闭binlog或者配置expire_logs_days,重启; 2、更改expire_logs… 继续阅读 快速清理binlog文件
https://github.com/dagwieers/dstat yum install -y … 继续阅读 dstat
Binlog Dump 状态一共4个 1 Sending binlog event to slave… 继续阅读 Binlog Dump 状态