摘要: 问题描述: 删除部分数据,在删除的时候出现报错:ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction。 解决方案: 去查看innodb的事务表INNODB_TRX,看下里面是否有正在锁定的事务线程, 看看 阅读全文
posted @ 2022-08-31 14:33 雪之谷 阅读(669) 评论(0) 推荐(0) 编辑
摘要: html转pdf或者图片 wkhtmltopdf wkhtmltoimage 阅读全文
posted @ 2020-11-20 11:37 雪之谷 阅读(354) 评论(0) 推荐(0) 编辑
摘要: apt update #更新软件源 apt install -y libwebp-dev libjpeg-dev libpng-dev libfreetype6-dev #安装各种库 docker-php-source extract #解压源码 cd /usr/src/php/ext/gd #gd 阅读全文
posted @ 2020-09-23 11:56 雪之谷 阅读(1708) 评论(0) 推荐(0) 编辑
摘要: 1.获取php mysql源码 git clone https://github.com/php/pecl-database-mysql mysql --recursive 2.编辑 cd mysql phpize ./configure --with-php-config=/usr/local/p 阅读全文
posted @ 2020-09-23 11:51 雪之谷 阅读(1334) 评论(0) 推荐(0) 编辑
摘要: php安装xdebug后,再php.ini文件中添加如下内容. [xdebug] zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20190902/xdebug.so" ;启用性能检测分析 xdebug.profiler_ 阅读全文
posted @ 2020-09-18 15:24 雪之谷 阅读(788) 评论(0) 推荐(0) 编辑
摘要: php导出导入excel插件 阅读全文
posted @ 2020-05-08 11:16 雪之谷 阅读(559) 评论(0) 推荐(0) 编辑
摘要: 例如 阅读全文
posted @ 2020-04-22 17:55 雪之谷 阅读(1866) 评论(0) 推荐(0) 编辑
摘要: 1.首先进入命令行现在mysql5.6镜像 E:\>docker pull mysql:5.6 2.把mysql的配置文件放入到本地,供后期做修改用 文件分别为:mysql.cnf 和 mysqld.cnf 3.构建mysql运行环境 docker run --name some-mysql --n 阅读全文
posted @ 2019-07-11 10:22 雪之谷 阅读(984) 评论(0) 推荐(0) 编辑
摘要: centos7 设置静态IP 一、查找配置文件(/etc/sysconfig/network scripts) 二、备份网卡文件 三、修改配置文件为静态ip 四、修改网关配置文件(/etc/sysconfig/network) 五、重启网卡 六、查看ip 七、查看路由 注意事项 阅读全文
posted @ 2018-06-07 11:08 雪之谷 阅读(2745) 评论(0) 推荐(0) 编辑
摘要: U盘刻录步骤 安装时报如下错误 安装过程 阅读全文
posted @ 2018-01-22 15:29 雪之谷 阅读(812) 评论(0) 推荐(0) 编辑