MySQL 数值处理函数
绝对值函数:abs(x) 向上取整函数:ceil(x) 向下取整函数:floor(x) 取模函数:m… 继续阅读 MySQL 数值处理函数
绝对值函数:abs(x) 向上取整函数:ceil(x) 向下取整函数:floor(x) 取模函数:m… 继续阅读 MySQL 数值处理函数
SELECT CONNECTION_ID(); ==>2 /*连接ID SELECT DATA… 继续阅读 MySQL 信息函数
只有一个返回值 AVG() – 平均值 SELECT ROUND(AVG(goods_price),… 继续阅读 MySQL 聚合函数
[NOT]BETWEEN…AND…[不]在范围之内,结果返回1或0。 例如:15 BETWEEN 1… 继续阅读 MySQL 比较运算符和函数
SELECT CEIL(3.01) ==>4 /*有n.xx 都是n+1 进一取整 向上取整 … 继续阅读 MySQL数值运算符函数
1、查询是否锁表 show OPEN TABLES where In_use > 0; sho… 继续阅读 MySQL死锁查询
1、字符串的拼接 1.1 CONCAT(s1,s2,…)函数 返回连接参数产生的字符串,一个或多… 继续阅读 MySQL字符串函数
修改MySQL配置文件/etc/my.cnf: max_connections=1000 wait_… 继续阅读 Caused by: java.sql.SQLNonTransientConnectionException: Too many connections
show variables like ‘sql_mode’; set global sql_mod… 继续阅读 [ERR] 1292 – Incorrect datetime value: ‘0000-00-00 00:00:00’ for column ‘post_date_gmt’ at row 1
SELECT * from test where time>’2019-10-28′ into… 继续阅读 mysql命令行导出查询结果
select id from (select id from testtable order by … 继续阅读 mysql查询不连续id
gitlab dockerfile FROM python:3.6-alpine3.8 MAINTA… 继续阅读 kubernetes部署soar-web查询工具
mysql安全锁,官方文档说明: If set to 1, MySQL aborts UPDATE … 继续阅读 mysql安全更新模式sql_safe_updates
要使用slave-skip-errors=all或者slave-skip-errors=1146参数… 继续阅读 mysql主从报错1146
全库 #!/bin/bash datastr=/nas/bakup/mysql_polardb DB… 继续阅读 mysql按表备份
connect_timeout mysql客户端与server建立连接时,mysql服务器返回错误握… 继续阅读 mysql几个超时时间
mysqldump -uxx -pxx a $(mysql -uxx -pxx -Da -Bse “… 继续阅读 mysqldump导出通配符表
[Err] 1055 – Expression #1 of ORDER BY clause is n… 继续阅读 [Err] 1055 – Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column ‘information_schema.PROFILING.SEQ’ which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by