Results 1 to 2 of 2

Thread: Use "LOAD DATA LOCAL INFILE" with Qt SQL - How to setup loose-local-infile = 1

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Mar 2010
    Location
    Heredia, Costa Rica
    Posts
    257
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    24
    Thanked 17 Times in 14 Posts

    Default Re: Use "LOAD DATA LOCAL INFILE" with Qt SQL - How to setup loose-local-infile = 1

    After checking up. There is no way to set loose-local-infile (MYSQL_OPT_LOCAL_INFILE) in the connection.

    However, one can add such an option to the QMYSQL Driver and rebuild it. This I described here: https://bugreports.qt.io/browse/QTBUG-104916 then you can set it up with setConnectOptions("MYSQL_OPT_LOCAL_INFILE=1");

  2. The following user says thank you to qlands for this useful post:

    d_stranz (13th July 2022)

Similar Threads

  1. Replies: 4
    Last Post: 30th August 2014, 12:05
  2. Replies: 1
    Last Post: 7th April 2010, 21:46
  3. Replies: 3
    Last Post: 25th August 2009, 13:03
  4. windows xp "local security settings"
    By mickey in forum General Discussion
    Replies: 1
    Last Post: 7th August 2008, 03:54
  5. QList with "local type"
    By drhex in forum Qt Programming
    Replies: 1
    Last Post: 11th April 2007, 05:07

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.