DBDefs.pm username, password

musicbrainz-server
Tags: #<Tag:0x00007f23c2936c40>

#1

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?


#2

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).


#3

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