摘要: 登录mysql服务器 mysql -uroot -p +密码 use mysql; update user set host = '%' where user ='root'; 查询host状态 select host,user from user; quit; 重启mysql服务器 阅读全文
posted @ 2024-10-30 11:25 刘德合 阅读(15) 评论(0) 推荐(0)
摘要: # 1. 安装MySQL服务器 sudo yum install mysql-server # 2. 启动MySQL服务 sudo systemctl start mysqld # 3. 运行安全安装向导 sudo mysql_secure_installation # 4. 启动MySQL服务开机 阅读全文
posted @ 2024-10-30 10:28 刘德合 阅读(14) 评论(0) 推荐(0)
摘要: 今天安装teleport出现init.d/teleport文件无法找到的问题,解决方法如下:输入命令 dnf install chkconfig 解决init.d不存在的问题。 阅读全文
posted @ 2024-10-28 16:44 刘德合 阅读(173) 评论(0) 推荐(0)
摘要: 1、时间轴无法在图标中 统计数据 解决方法:把时间轴转化成数值即可ROUND(时间轴#hours) 阅读全文
posted @ 2024-01-29 13:29 刘德合 阅读(6) 评论(0) 推荐(0)
摘要: pip config set global.index-url https://mirror.baidu.com/pypi/simple 阅读全文
posted @ 2023-04-07 15:01 刘德合 阅读(14) 评论(0) 推荐(0)
摘要: 链接中 http://az764295.vo.msecnd.net 替换为 http://vscode.cdn.azure.cn 阅读全文
posted @ 2022-04-26 14:11 刘德合 阅读(584) 评论(0) 推荐(0)
摘要: https://www.amcharts.com/svg-maps/?map=china 阅读全文
posted @ 2021-01-15 14:57 刘德合 阅读(1016) 评论(0) 推荐(1)
摘要: var arr = [1,2,3]; arr.push(4); console.log(arr); arr = [1,2,3,4] push可以在数组末端增加新的元素 unshift 可以数组的开头增加新的元素 arr.unshift('liu') console.log(arr) arr = [' 阅读全文
posted @ 2020-07-25 19:12 刘德合 阅读(481) 评论(0) 推荐(0)
摘要: function arr_fun(arr) { for (var i = 0; i <= arr.length - 1; i++) { for (var j = 0; j <= arr.length - i - 1; j++) { if (arr[j] > arr[j +  阅读全文
posted @ 2020-07-22 22:30 刘德合 阅读(96) 评论(0) 推荐(0)
摘要: https://npm.taobao.org/mirrors/git-for-windows/ 阅读全文
posted @ 2020-05-17 14:18 刘德合 阅读(167) 评论(0) 推荐(0)