You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been messing with command.load for a couple hours now trying to figure out why the parser continues to fail. It fails with no more information then the following:
STYLE-WARNING: Undefined alien: "SSLv2_client_method"
An unhandled error condition has been signalled:
Could not parse subexpression ";" when parsing
Expression PGLOADER.PARSER::COMMANDS
Subexpression (+ PGLOADER.PARSER::COMMAND)
Subexpression PGLOADER.PARSER::COMMAND
Subexpression (AND
(OR PGLOADER.PARSER::LOAD-ARCHIVE
PGLOADER.PARSER::LOAD-CSV-FILE
PGLOADER.PARSER::LOAD-FIXED-COLS-FILE
PGLOADER.PARSER::LOAD-DBF-FILE
PGLOADER.PARSER::LOAD-MYSQL-DATABASE
PGLOADER.PARSER::LOAD-SQLITE-DATABASE
PGLOADER.PARSER::LOAD-SYSLOG-MESSAGES)
PGLOADER.PARSER::END-OF-COMMAND)
Subexpression PGLOADER.PARSER::END-OF-COMMAND
Subexpression (AND PGLOADER.PARSER::IGNORE-WHITESPACE #\;
PGLOADER.PARSER::IGNORE-WHITESPACE)
Subexpression ";"
Encountered at:
LOAD DATABASE
FROM mys
^ (Line 1, Column 0, Position 0)
;
; compilation unit aborted
; caught 1 fatal ERROR condition
My command.load file is basically the example just trying to get this to run a little bit. It looks like the following:
LOAD DATABASE
FROM mysql://root:mysql@localhost:3306/pf_prod INTO postgresql://pfuser:psql@localhost:5432/pf_prod
WITH include drop, create tables, create indexes, reset sequences
SET maintenance_work_mem to '128MB', work_mem to '12MB'
There is also nothing in the logs. I've also tried other solutions I've found from other issues that have been closed. I've tried working off of the master branch versus working off the tag. I can't seem to find any more information about how to fix. Any suggestions?
The text was updated successfully, but these errors were encountered:
Figured out that I was missing a semicolon to end the command. This in conjunction with some other errors I had with BEFORE LOAD DO actually made me miss this. Closed as working.
I've been messing with command.load for a couple hours now trying to figure out why the parser continues to fail. It fails with no more information then the following:
My command.load file is basically the example just trying to get this to run a little bit. It looks like the following:
There is also nothing in the logs. I've also tried other solutions I've found from other issues that have been closed. I've tried working off of the master branch versus working off the tag. I can't seem to find any more information about how to fix. Any suggestions?
The text was updated successfully, but these errors were encountered: