0
Отвечен

MySQL generated SQL not importing - parse error on quotes

Eric Norton 6 лет назад обновлен Rafał Strzaliński (Senior Engineer) 5 лет назад 6

I'm trying to import sql generated from vertabelo and I'm getting parse errors on any columns that have been put into double quotations. This has changed because the generated files did not do this before. My model is set to Mysql 5.5 and I'm definitely importing into mysql 5.5.


Any one know what the deal is with this?

ХОРОШО, МНЕ ПОНРАВИЛОСЬ
Оценка удовлетворенности от Eric Norton 6 лет назад
Отвечен

Hi,


This is a bug. Thanks for the report. We'll fix it ASAP.


Workaround: Please find&replace double quotes '"' with backquote '`' by hand. If your're *nix user please

run command:

sed -i -e 's/"/`/g' create.sql




The fix did not work. I tried with sql exported from mysql.

Hi Vish,


Could you tell us more about what is not working for you? I've imported script generated by vertabelo without any problems.

Сервис поддержки клиентов работает на платформе UserEcho