Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

psycopg2.errors.UndefinedTable: relation "sch_chameleon.t_sources" does not exist #170

Open
monkir opened this issue Mar 17, 2024 · 0 comments

Comments

@monkir
Copy link

monkir commented Mar 17, 2024

OS: ubuntu 22.04
python: 3.10.12

MySql and Postgresql connection are ok. But I got these error.

(migration) monkir@mypg:~/.pg_chameleon/configuration$ chameleon start_replica --config migration --source mysql
Traceback (most recent call last):
  File "/home/monkir/Desktop/migration/bin/chameleon", line 5, in <module>
    exec(compile(open(__file__).read(), __file__, 'exec'))
  File "/home/monkir/Desktop/migration/bin/chameleon.py", line 56, in <module>
    replica = replica_engine(args)
  File "/home/monkir/Desktop/migration/lib/python3.10/site-packages/pg_chameleon/lib/global_lib.py", line 165, in __init__
    source_count = self.pg_engine.check_source()
  File "/home/monkir/Desktop/migration/lib/python3.10/site-packages/pg_chameleon/lib/pg_lib.py", line 2249, in check_source
    self.pgsql_cur.execute(sql_check, (self.source, ))
psycopg2.errors.UndefinedTable: relation "sch_chameleon.t_sources" does not exist
LINE 5:                 sch_chameleon.t_sources
                        ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant