Closed Thread
Results 1 to 2 of 2

Thread: import data to mysql tables

  1. #1
    aarbar201059 is offline x10Hosting Member aarbar201059 is an unknown quantity at this point
    Join Date
    Mar 2011
    Posts
    1

    import data to mysql tables

    I get error #1148 "The used command is not allowed with this mysql version" when trying to use:

    'load data local infile' to upload data to a table in my database. I'm using the format CSV using LOAD DATA and check the use local keyword, plus using appropriate field terminated, enclosed, escaped, data.

    The error doesn't make sense since the import tab even includes it.

  2. #2
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: import data to mysql tables

    I believe you have to use the import tool directly. PHPMyAdmin queries the database with the contents of the file, it doesn't use the infile command.
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

Closed Thread

Similar Threads

  1. View sql data in html tables
    By azamkandy in forum Free Hosting
    Replies: 8
    Last Post: 10-13-2009, 11:34 AM
  2. csv data import
    By freecrm in forum Programming Help
    Replies: 13
    Last Post: 05-10-2009, 03:04 AM
  3. HELP! Adding data on my database tables...
    By darylcarpo in forum Programming Help
    Replies: 7
    Last Post: 11-08-2008, 09:21 PM
  4. i cant' import my data
    By dicati in forum Free Hosting
    Replies: 3
    Last Post: 09-12-2008, 02:23 PM
  5. can't import wordpress tables from old host
    By shyguy in forum Scripts & 3rd Party Apps
    Replies: 1
    Last Post: 07-17-2008, 03:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers