I have installed mysql-3.23.52 as part of the Gentoo Linux distribution. I am accessing MySQL via mysql-python AKA MySQLdb which calls the MySQL C API. During testing I start MySQL using "safe_mysqld" and shutdown MySQL using "mysqladmin -u root --password=xxxxxxxx shutdown".
When I do a "LOAD DATA LOCAL INFILE" via MySQLdb, I get the well-known error message 1148: "The used command is not allowed with this MySQL version". What is the default for 3.23.52? If I put "local-infile=1" in the [safe_mysqld], [mysqld] and [mysql] groups in "my.cnf", I can start and stop mysqld. If I add the option to [client], I can start mysqld, but the shutdown gives the message: mysqladmin: unrecognized option `--local-infile=1' In both cases the "LOAD DATA LOCAL INFILE" fails. I would prefer to fix this problem by modifying "my.cnf". Do I use the "local-infile" option? Where does it go in my.cnf? --------------------------------------------------------------------- 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