06 2020 档案

摘要:今天在学习MySQL的时候,看到一句描述 WITH GRANT OPTION should be left out if the user need not be able to grant other users privileges. 大意就是说:如果用户不被允许授权给其它用户的话,【WITH 阅读全文
posted @ 2020-06-30 07:13 lishidefengchen 编辑
摘要:const formatDate = (timestamp: number) => { const time = new Date((timestamp - 1) * 24 * 3600000 + 1); time.setFullYear(time.getFullYear() - 70); cons 阅读全文
posted @ 2020-06-26 23:56 lishidefengchen 编辑
摘要:install(ubuntu os): sudo apt-get install apache2-utils usage: ab -c 200 -t 100 http://localhost:8001/ explain: -c concurrency -t timelimit 阅读全文
posted @ 2020-06-25 11:55 lishidefengchen 编辑
摘要:例如: http://11.11.11.1/api/getList ,这样的全部代理到 http://12.12.12.1:5000/api/getList 修改文件 /etc/nginx/conf.d/default.conf location ~ /api/ { proxy_pass http: 阅读全文
posted @ 2020-06-22 16:52 lishidefengchen 编辑
摘要:【把docker中容器时db002里面的my.cnf文件拷贝到根目录下】 docker cp db002:/etc/mysql/my.cnf ~/root/ 【把根目录下my.cnf文件拷贝到docker中容器时db002里面】 docker cp ~/root/my.cnf db002:/etc/ 阅读全文
posted @ 2020-06-22 16:47 lishidefengchen 编辑
摘要:【清空文件】 echo " " > filename 【添加内容】 echo "123" >> filename 阅读全文
posted @ 2020-06-21 16:42 lishidefengchen 编辑
摘要:【解决】 执行 apt-get update 然后再进行安装,即可。 (完) 阅读全文
posted @ 2020-06-21 16:29 lishidefengchen 编辑
摘要:不同于Ubuntu目录 /etc/default/docker。 在 CentOS7中Docker默认配置的路径在 /usr/lib/systemd/system/docker.service 【例如修改 --icc = false】CentOS7中需要如下设置 设置完毕后,执行 docker da 阅读全文
posted @ 2020-06-20 19:24 lishidefengchen 编辑
摘要:【collapseRender:()=>false】 【效果】 【参考ProTable源码】 阅读全文
posted @ 2020-06-19 14:36 lishidefengchen 编辑
摘要:重启前端 :) 阅读全文
posted @ 2020-06-17 16:44 lishidefengchen 编辑
摘要:idea数据库连接字符串需要添加一些参数; ?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai 【完整的连接】 spring.datasource.url=jdbc:mysql://localhost:3306/ 阅读全文
posted @ 2020-06-10 18:27 lishidefengchen 编辑
摘要:*************************** APPLICATION FAILED TO START *************************** Description: Failed to configure a DataSource: 'url' attribute is 阅读全文
posted @ 2020-06-10 17:01 lishidefengchen 编辑

点击右上角即可分享
微信分享提示