Load Data Infile question

Load Data Infile question

Post by Jerry Stuc » Fri, 24 Mar 2006 06:50:14



My guess would be that number11@localhost doesn't have 'file' authorization for
this database.

Alternatively, it could be if you're using a recent version of MySQL which has
local infile support disabled by default. To change this, you must use:

mysql --local-infile

And BTW - did you try a google search? One on

"LOAD DATA INFILE" mysql 1045

showed several possibilities.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
XXXX@XXXXX.COM
==================
 
 
 

Load Data Infile question

Post by bradford » Fri, 24 Mar 2006 10:48:54

If I am using phpMyAdmin, how would I execute the command "mysql
--local-infile" ?

 
 
 

Load Data Infile question

Post by Jerry Stuc » Fri, 24 Mar 2006 13:53:26


AFAIK, you don't. There may be a SET option, but I'm not sure what it is.

You would have to start mySql with the --local-infile option. Since you're
using phpMyAdmin, you may have to compile PHP against the current version of
MySQL - but not knowing which version of either you're using, I have no idea.

You may be able to get it to work with LOAD DATA LOCAL INFILE ... but I haven't
tried it.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
XXXX@XXXXX.COM
==================