随笔分类 -  mysql

摘要:use information_schema; select table_name,table_rows from tables where TABLE_SCHEMA = 'reconciliation_platform' order by table_rows desc; 阅读全文
posted @ 2024-12-04 10:38 幸运刘 阅读(8) 评论(0) 推荐(0)
摘要:原因 SELinux(安全增强型 Linux)阻止了 mysqld 服务绑定到你在 my.cnf 中设置的端口(这里是 13306 端口) 解决方案 # 如果你的环境允许且确实需要启用 nis_enabled 布尔值来解决问题,可以执行以下命令 setsebool -P nis_enabled 1 阅读全文
posted @ 2024-11-28 10:04 幸运刘 阅读(91) 评论(0) 推荐(0)
摘要:亲测有效 https://blog.csdn.net/wqc19920906/article/details/79791322 阅读全文
posted @ 2024-11-18 09:52 幸运刘 阅读(15) 评论(0) 推荐(0)
摘要:select ec.id,classDate from ea_curriculum ec order by classDate < DATE_FORMAT(now(), '%Y-%m-%d'),if(classDate < now(),0,classDate),classDate desc 阅读全文
posted @ 2023-03-22 22:07 幸运刘 阅读(124) 评论(0) 推荐(0)