摘要: 转载: https://weiku.co/article/348/JDK 17 免费了 JDK 17 还是如期发布了,2021年09月14日。巧了,和苹果发布会是一天,不知道是不是互相在蹭热度~ JDK 17 除了新增了不少新特性,Oracle 官方竟然宣布 JDK 17 可以免费商用了! Orac 阅读全文
posted @ 2024-03-24 21:48 lovleo 阅读(49) 评论(0) 推荐(0) 编辑
摘要: show full PROCESSLISTselect * from information_schema.INNODB_trx trx_mysql_thread_id kill 24301 阅读全文
posted @ 2024-03-03 00:32 lovleo 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1.在mysql的安装目录下找到my.ini,作如下修改: [mysqld] character-set-server=utf8mb4 [mysql] default-character-set=utf8mb4 修改后重启Mysql 2. 将已经建好的表也转换成utf8mb4 命令: 更改数据库编码 阅读全文
posted @ 2024-01-01 13:43 lovleo 阅读(6) 评论(0) 推荐(0) 编辑
摘要: linux 怎么修改mysql.ini 要在Linux上修改MySQL的配置文件(my.cnf)可以按照以下步骤进行操作: 打开终端并使用root或有管理员权限的账户登录。 定位到MySQL安装目录中的/etc/文件夹。通常情况下,该路径为/etc/mysql/。 查看当前系统中已存在的MySQL配 阅读全文
posted @ 2024-01-01 13:42 lovleo 阅读(125) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { String regex = "^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[$@$!%*?^&~#()-+=;,.{}<>/?])[A-Za-z\\d**$@$**!%*?&]{12,} 阅读全文
posted @ 2023-12-26 15:03 lovleo 阅读(1) 评论(0) 推荐(0) 编辑
摘要: kubectl get pods -n xxx kubectl logs -f designer-service-xxxx -n xxx 阅读全文
posted @ 2023-12-26 13:42 lovleo 阅读(23) 评论(0) 推荐(0) 编辑
摘要: Debian Docker 安装 Docker 支持以下的 Debian 版本: Buster 10 Stretch 9 (stable) / Raspbian Stretch Docker Engine-Community 在 x86_64(或 amd64 )armhf,和 arm64 体系结构上 阅读全文
posted @ 2023-07-13 15:38 lovleo 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 1 在后台查看日志 1.1 查看容器信息 watch -n1 kubectl get pods -n epros 1.2 查看对应的容器日志 kubectl logs 服务器容器id -n epros 阅读全文
posted @ 2023-07-13 10:22 lovleo 阅读(13) 评论(0) 推荐(0) 编辑
摘要: ll并不是linux下一个基本的命令,它实际上是ls -l的一个别名。 Ubuntu默认不支持命令ll,必须用 ls -l,这样使用起来不是很方便。 如果要使用此命令,可以作如下修改:打开 ~/.bashrc找到 #alias ll=’ls -l’,去掉前面的#就可以了。(关闭原来的终端才能使命令生 阅读全文
posted @ 2023-07-12 17:16 lovleo 阅读(113) 评论(0) 推荐(0) 编辑
摘要: GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '自己数据的密码' WITH GRANT OPTION; FLUSH PRIVILEGES; 阅读全文
posted @ 2023-06-15 22:27 lovleo 阅读(5) 评论(0) 推荐(0) 编辑