Open Julienh opened 1 year ago
If I use the command line with the case it is working:
pgloader --no-ssl-cert-verification --verbose --cast "type datetime to timestamp drop default drop not null using zero-dates-to-null" mysql://dbtestlocal:dbtestlocal@localhost:3306/dbtest "postgresql://dbtestlocal@localhost:5432/dbtest?sslmode=allow&password=dbtestlocal"
The command doesn't parse, but I'm not sure why. It seems that when you leave off the &password=dbtestlocal
part, it would parse.
According to the documentation in docs/command.rst, the password should be set in the user spec before the host (...user:passwd@host...), or through the environment variable PGPASSWORD, or through a .pgpass
file. (I believe the latter two ways should be preferable from a security standpoint, btw.)
Hello,
Here is my version:
When I use the command line it is working:
Now I would like to CAST datetime, so I'm trying to use pgloader from a file:
With the command:
And I have this error:
Do you have any idea how can I fix it please? Thank you