2021年10月20日
摘要: 打开MySQL目录下的my.ini文件,在文件的[mysqld]后面最后添加一行“skip-grant-tables”,保存并关闭文件(linux在 /etc/my.cnf) 重启mysql服务。 service mysqld restart 阅读全文
posted @ 2021-10-20 15:07 lippor 阅读(59) 评论(0) 推荐(0) 编辑
  2021年2月24日
摘要: 进入项目根目录: npm install如果报错:npm init一路默认,但是在description时候,不能为空 命令行下: npm install --production docxtemplater 点击开发者工具中的菜单栏:工具 --> 构建 npm。完成构建 详情-本地设置-使用npm 阅读全文
posted @ 2021-02-24 22:17 lippor 阅读(110) 评论(0) 推荐(0) 编辑
  2020年8月6日
摘要: whereis my.cnf找到配置路径:/etc/my.cnf 找到[mysqld],在下面添加 sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_ 阅读全文
posted @ 2020-08-06 13:20 lippor 阅读(1748) 评论(0) 推荐(0) 编辑
  2020年6月15日
摘要: https://nodejs.org/zh-cn/download/ 下载node.js安装重启电脑,命令行运行: node -v查看版本 安装nodejs会同时安装一个npm 使用npm安装cnpm,安装完后 cnpm -V 查看cnpm版本。cnpm介绍:https://www.cnblogs. 阅读全文
posted @ 2020-06-15 20:08 lippor 阅读(1822) 评论(0) 推荐(0) 编辑
  2019年9月30日
摘要: composer 在thinkphp5下安装easywechat 报错Failed to enable crypto failed to open stream: operation failed解决方法,更改 Packagist 为国内镜像,不知道会不会对后续操作有影响,反正现在是可以了:comp 阅读全文
posted @ 2019-09-30 09:42 lippor 阅读(3808) 评论(0) 推荐(0) 编辑
  2019年9月23日
摘要: 我的是因为临时文件夹满了; 查看mysql临时文件存放目录: 登录root: mysql -u root -p; 查看临时文件目录:show variables like '%tmp%'; 进入临时文件目录: cd /tmp 查看mysql临时文件:find ./ -type f -name '*s 阅读全文
posted @ 2019-09-23 10:45 lippor 阅读(2461) 评论(0) 推荐(0) 编辑
  2019年9月22日
摘要: 安装配置:https://www.cnblogs.com/terryguan/p/4522898.html root用户登录配置:https://blog.csdn.net/zhanyongjia_cnu/article/details/50549127 阅读全文
posted @ 2019-09-22 13:28 lippor 阅读(219) 评论(0) 推荐(0) 编辑
  2019年9月21日
摘要: 自己电脑远程连接后,centos服务器mysql连接 不上。报错: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 解决方法之一: 将连接参数 阅读全文
posted @ 2019-09-21 11:59 lippor 阅读(316) 评论(0) 推荐(0) 编辑
  2019年8月1日
摘要: 编辑定时任务列表: crontab -u root -e 定时任务管理:执行thinkphp函数 #每天零点每日零点清理超过24小时没有付款的订单1 0 * * * curl https://***.com/index/Task/removeorder 重启定时任务: service crond r 阅读全文
posted @ 2019-08-01 15:18 lippor 阅读(908) 评论(0) 推荐(0) 编辑
  2018年10月17日
摘要: 解决方式:下载cacert.pem文件 https://curl.haxx.se/ca/cacert.pem 配置php.ini 参考: https://blog.csdn.net/p_function/article/details/78391493 https://blog.csdn.net/e 阅读全文
posted @ 2018-10-17 10:25 lippor 阅读(360) 评论(0) 推荐(0) 编辑