Home > Backend Development > PHP Tutorial > Use mysql's load data local infile in php

Use mysql's load data local infile in php

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-06 13:51:11
Original
1527 people have browsed it

I want to execute mysql's load data local infile statement in a php script. I use pdo to link the database Use mysql's load data local infile in php
as shown in the figure. The data cannot be written. How to use it? Solve

Reply content:

I want to execute mysql's load data local infile statement in a php script. I use pdo to link the database Use mysql's load data local infile in php
as shown in the figure. The data cannot be written. How to use it? Solve

In the mysql configuration file, configure local-infile=0

Check whether the semicolon in front of extension=php_pdo_mysql.dll in php.ini has been removed

You have to take pictures of all the error messages, my dear! !

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template