[svn:p5ee] r8372 - p5ee/trunk/App-Repository/lib/App/Repository

[email protected]
Newsgroups perl.cvs.p5ee
Message-ID <[email protected]>
Author: spadkins
Date: Thu Dec  7 13:10:28 2006
New Revision: 8372

Modified:
   p5ee/trunk/App-Repository/lib/App/Repository/MySQL.pm

Log:
added comments about mysql_local_infile=1

Modified: p5ee/trunk/App-Repository/lib/App/Repository/MySQL.pm
==============================================================================
--- p5ee/trunk/App-Repository/lib/App/Repository/MySQL.pm	(original)
+++ p5ee/trunk/App-Repository/lib/App/Repository/MySQL.pm	Thu Dec  7 13:10:28 2006
@@ -372,6 +372,12 @@
     * Throws:    App::Exception::Repository
     * Since:     0.01
 
+    Note: If you want to call this with $options->{local}, you will probably
+    need to make sure that mysql_local_infile=1 is in your DSN.  This might
+    require a line like the following in your "app.conf" file.
+
+      dbioptions = mysql_local_infile=1
+
     Sample Usage: 
 
     $rep->import_rows("usr","usr.dat");
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.