DBDefs.pm username, password

Tags: #<Tag:0x00007f23c2936c40>


trying to import with the command ./admin/InitDb.pl --createdb --import mbdump*.tar.bz2 but there’s a user issue
DBDefs.pm by default has user musicbrainz, password musicbrainz
Inside the script initdb.pl there’s a reference to user postgres
So why don’t these two things match and what should i do
Which user should I add and use?


Are you following the INSTALL.md instructions? I’m not sure where the musicbrainz pgsql user is created, but it should be created somewhere along the process (even if it might not be obvious).


InitDb.pl will automatically create the user mentioned in DBDefs, if it doesn’t exist yet.