Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Database_Exception
  • Hello everybody, I´m always getting a Database_Exception when running the following Query:
    LOAD DATA LOCAL INFILE '../../tmp/matches.txt' INTO TABLE matches(competition, datetime, team1, team2, goals1, goals2);
    

    The full error message is:
    Fuel\Core\Database_Exception [ Warning ]: PDO::query(): LOAD DATA LOCAL INFILE forbidden with query: "LOAD DATA LOCAL INFILE '../../tmp/matches.txt' INTO TABLE matches(competition, datetime, team1, team2, goals1, goals2);"
    

    I tested the query with a slightly different path in PHPMA(path relative to mysql directory then) and it worked.... Can anybody help me with this problem? Alexander

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!