PHPMyAdmin SQL import error: Ending quote ' was expected




  • Avatar
    Abdul Mannan

    You can either:

    • replace ''\', or
    • import via mysql.exe:
    • mysql -uuser -ppass dbName < file.sql

    For more visit here: 

  • Avatar
    Artyom Baranov

    Hi Abdul,

    Thanks for the additional workaround, however, it often happens that there are a lot of such symbols in a database.

    So, it is easier to just export/import the database via Plesk interface.

Please sign in to leave a comment.

Have more questions? Submit a request