acoustid / mbdata

MusicBrainz SQLAlchemy Models
MIT License
97 stars 23 forks source link

Password required when importing data dumps #16

Closed AlexisPister closed 4 years ago

AlexisPister commented 4 years ago

Hello,

I am currently following the instructions to load the data into SQL, but I am stuck in step 7.

When I am using the command 'mbslave import ../mbdump.tar.bz2 ../mbdump-derived.tar.bz2' I get the followig error :

(base) alexis@1ZSMZM2:~/data/mbdata$ mbslave import ../mbdump.tar.bz2 Traceback (most recent call last): File "/home/alexis/apps/anaconda3/bin/mbslave", line 10, in sys.exit(main()) File "/home/alexis/apps/anaconda3/lib/python3.7/site-packages/mbdata/replication.py", line 592, in main args.func(config, args) File "/home/alexis/apps/anaconda3/lib/python3.7/site-packages/mbdata/replication.py", line 250, in mbslave_import_main db = connect_db(config) File "/home/alexis/apps/anaconda3/lib/python3.7/site-packages/mbdata/replication.py", line 196, in connect_db return cfg.connect_db(set_search_path=set_search_path, superuser=superuser) File "/home/alexis/apps/anaconda3/lib/python3.7/site-packages/mbdata/replication.py", line 189, in connect_db db = psycopg2.connect(self.database.create_psycopg2_kwargs(superuser=superuser)) File "/home/alexis/apps/anaconda3/lib/python3.7/site-packages/psycopg2/init.py", line 127, in connect conn = _connect(dsn, connection_factory=connection_factory, kwasync) psycopg2.OperationalError: fe_sendauth: no password supplied

Should I use this command from postgres user instead ? But with which password ?

Thanks