Sounds like an error that is really really painful to debug. Try to
only migrate the first 100 lines of your file, then the next 100 and
so on. It would be great if you could nail it down to own specific
line
On 1 July 2012 12:56, Sascha Urbansky <
chick...@googlemail.com> wrote:
> Hi there,
>
> i tried to Migrate Dirty.db to mysql using
>
http://blog.codeborne.com/2011/10/etherpad-lite-migrate-data-from-dirtydb.html
>
> But i got the following error
>
> [2012-07-01 13:41:20.527] [INFO] ueberDB - Flushed 103831 values
>
> /var/lib/nodejs/node-apps/etherpad-lite/src/node_modules/ueberDB/CacheAndBufferLayer.js:225
> if(err) throw err;
> ^
> Error: You have an error in your SQL syntax; check the manual that
> corresponds to your MySQL server version for the right syntax to use near
> ''{\"changeset\":\"Z:fbt>2|q=1yc=9y*2+2$ei\",\"meta\":{\"author\":\"a.OvafnujGQrg'
> at line 1
> at Function._packetToUserObject
> (/var/lib/nodejs/node-apps/etherpad-lite/src/node_modules/ueberDB/node_modules/mysql/lib/client.js:387:11)
> at Query._handlePacket
> (/var/lib/nodejs/node-apps/etherpad-lite/src/node_modules/ueberDB/node_modules/mysql/lib/query.js:33:33)
> at Client._handlePacket
> (/var/lib/nodejs/node-apps/etherpad-lite/src/node_modules/ueberDB/node_modules/mysql/lib/client.js:312:14)
> at Parser.<anonymous> (native)
> at Parser.emit (events.js:67:17)
> at
> /var/lib/nodejs/node-apps/etherpad-lite/src/node_modules/ueberDB/node_modules/mysql/lib/parser.js:71:14
> at Parser.write
> (/var/lib/nodejs/node-apps/etherpad-lite/src/node_modules/ueberDB/node_modules/mysql/lib/parser.js:576:7)
> at Socket.<anonymous> (native)
> at Socket.emit (events.js:67:17)
> at TCP.onread (net.js:367:14)
>
>
> Can you help me??