Welcome Guest, Not a member yet? Register   Sign In
MYSQLI_OPT_LOCAL_INFILE
#6

(This post was last modified: 05-31-2024, 02:20 AM by martin_ci.)

php.ini settings on my localhost are correct (mysql.allow_local_infile=On) but CI somehow establish the connection without that option.

As I wrote I can setup the connection manually (outside CI) with the right PDO attribute so that I can use that sql command but not inside CI.

I wonder where I can set this option in CI. The default array in the config/database.php seems not to be the correct place.
Reply


Messages In This Thread
MYSQLI_OPT_LOCAL_INFILE - by serialkiller - 04-08-2024, 06:21 AM
RE: MYSQLI_OPT_LOCAL_INFILE - by kenjis - 04-11-2024, 06:12 PM
RE: MYSQLI_OPT_LOCAL_INFILE - by kenjis - 04-11-2024, 06:29 PM
RE: MYSQLI_OPT_LOCAL_INFILE - by martin_ci - 05-30-2024, 11:45 PM
RE: MYSQLI_OPT_LOCAL_INFILE - by kenjis - 05-31-2024, 02:02 AM
RE: MYSQLI_OPT_LOCAL_INFILE - by martin_ci - 05-31-2024, 02:19 AM
RE: MYSQLI_OPT_LOCAL_INFILE - by kenjis - 05-31-2024, 01:47 PM
RE: MYSQLI_OPT_LOCAL_INFILE - by kenjis - 05-31-2024, 01:50 PM
RE: MYSQLI_OPT_LOCAL_INFILE - by martin_ci - 05-31-2024, 11:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB