我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

从CSV加载时,MySQL加载数据infile函数不会停止

Ok so I posted this question a few minutes ago and the issue regarding that was solved. Now continuing in the direction of that question, I have another problem. The query that inputs the data from the file, inputs it (and very fast if I might add) but then does not stop. Instead it continues to add additional rows of empty data since the rows in the CSV just go on to infinite, and so it just inputs more empty rows to the db. How can I stop this? Is there an eof mark that I can use here or what.

近期文章

  • PHP OAuth POST错误
  • 连接循环的最佳方式
  • 无法回应正确的结果。 PHP / MySQL的
  • 安全流媒体链接
  • PHP Mysql左连接
  • 相对布局背景不能拉伸填满整个屏幕
  • 在PHP分页中使用COUNT和Distinct
  • Javascript没有触发另一个函数
  • 无法使用Mail.php通过谷歌smtp服务器发送邮件
  • Magento无法访问扩展程序 - >重定向到管理员登录
  • 获取与Xpath表达式匹配的元素的“面包屑”(在PHP中)
  • 如何使用hybridAuth检查twitter状态更新是否成功
  • 脚本崩溃中的自定义错误消息? PHP
  • MySql和MySqli左连接
  • 动态生成的开放图形标记缺少URL中的参数
  • 如何将zip /压缩文件转换为PHP中的字符串?
  • Ajax登录表单 - 回调PHP?
  • 使用jQuery和AJAX定期更改背景图像src
  • 使用php免费快速将html / css转换为pdf
  • 导致此ERROR无法打开流的因素是什么:HTTP请求失败! `?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华