Thomas Birchmire writes:
> I tried putting --local-infile in my server script and local-infile in the
> /etc/my.cnf file. I also placed a number or logging cammands in the startup
> script hoping to catch lower level messages. There appears to be little
> effect on anything.
> Regards, Tom Birchmire
As I said, a fix will appear in 3.23.50, but if you build from source,
this is a patch that fixes a problem :
--- 1.160/configure.in Wed Feb 13 21:53:22 2002
+++ 1.161/configure.in Tue Mar 5 15:46:28 2002
@@ -591,6 +591,8 @@
[ ENABLED_LOCAL_INFILE=no ]
)
+AC_SUBST(ENABLE_LOCAL_INFILE)
+
# Use Paul Eggerts macros from GNU tar to check for large file support.
MYSQL_SYS_LARGEFILE
--- 1.65/libmysql/libmysql.c Wed Feb 13 19:09:26 2002
+++ 1.66/libmysql/libmysql.c Tue Mar 5 15:46:28 2002
@@ -1022,7 +1022,7 @@
/*
Only enable LOAD DATA INFILE by default if configured with
- --with-enabled-local-inflile
+ --enable-local-infile
*/
#ifdef ENABLED_LOCAL_INFILE
mysql->options.client_flag|= CLIENT_LOCAL_FILES;
--
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php