
mysql
苦瓜我爱吃
向着大神迈进~~~
展开
-
mysql执行脚本报错Row size too large. The maximum row size for the used table type
错误:ERROR 1118 (42000): Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs。于是在网上搜索了好久结果发现mysql建表有个长度限...转载 2018-09-16 23:16:25 · 31485 阅读 · 1 评论 -
linux下mysql数据库用scp每天备份到另外一台服务器
1.scp在建立连接中是需要密码认证的,所以我们第一步就是添加ssh公匙 ssh-keygen -t rsa 结果如下 Generating public/private rsa key pair. Enter file in which to save the key (/home/.username/ssh/id_rsa):#回车 Enter passphrase (e...原创 2018-11-25 12:56:44 · 1357 阅读 · 0 评论 -
mysql慢查询日志
参照:https://my.oschina.net/u/3575212/blog/2236666 -- 删除慢查询日志表 前提是 关闭慢查询日志ALTER TABLE mysql.slow_log RENAME mysql.slow_log_drop;CREATE TABLE mysql.slow_log LIKE mysql.slow_log_drop;SET GLOBAL...原创 2018-11-27 17:52:05 · 138 阅读 · 0 评论 -
oracle转mysql
设置mysql不区分大小写后引发的,不能访问。表不存在如果在lower_case_table_names=0情况下已经导入了大量的表和数据,表名有大写,有小写,此时再换成lower_case_table_names=1会出错的。解决办法是在lower_case_table_names=0下将表名全部改成小写的;如果有schema名称中存在大写字母,也要在此时改名,改名方法为新建一个小...原创 2019-08-15 11:40:03 · 112 阅读 · 0 评论