Menu ▾ ▴

#5 DBD::mysql::st execute failed:

open
nobody
None
5
2006-12-08
2006-12-08
No

Sometimes logfile looks like that:

20061207 13:40:01
Created temporary file 1165495201
traduttore......... OK
MySQL......... OK
Deleted temporary file 1165495201
20061207 13:50:01
Created temporary file 1165495801
traduttore......... OK
MySQL......... OK
Deleted temporary file 1165495801
20061207 14:00:01
DBD::mysql::st execute failed: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to
Unable to execute query: DBI::db=HASH(0x842b2d0)->errstr
Created temporary file 1165496402
traduttore......... OK
20061207 14:10:01
DBD::mysql::st execute failed: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to
Unable to execute query: DBI::db=HASH(0x842b2d0)->errstr
Created temporary file 1165497001
traduttore......... OK

everything gone OK but at 20061207 14:00:01 was errors till end of file. What's going on?. If I'll import the file using mysqlimport it insterts to mysql with no errors. Anybody can help?

Discussion

  • Gianluca Papaleo

    Logged In: YES
    user_id=1298065
    Originator: NO

    Check if you have an apostrophe symbol in that row.
    We're waiting for your answer.

     
  • killnet-cross

    killnet-cross - 2006-12-11

    Logged In: YES
    user_id=1663902
    Originator: YES

    Yes I Have, for example: vanishesunconsciousness's@ad.gov.yu. I think It's a spam. Do you know how to fix it?

     
  • Gianluca Papaleo

    Logged In: YES
    user_id=1298065
    Originator: NO

    We try to fix the bug in these days, unfortunately mysql sees an apostrophe like the end of the query, meanwhile, try to replace this apostrophes with another symbol.

     
  • Nobody/Anonymous

    Logged In: NO

    The problem is about the ' char. It was not correctly escaped, so you have to dig the perl code to find where the insert is constructed and apply a patch.
    Sorry but I don't know perl so I cannot tell you more than that.

     
  • killnet-cross

    killnet-cross - 2007-09-14

    Logged In: YES
    user_id=1663902
    Originator: YES

    New version has no errors like that. Was solved. Thnx for janiceitit.

     
  • Gianluca Papaleo

    Logged In: YES
    user_id=1298065
    Originator: NO

    Actually, the new version hasn't got the patch. I posted it in Tracker/Patches. You had the patch, beacause I posted it time ago.

     

Log in to post a comment.