On Sun, Jul 20, 2008 at 10:02 PM, Daniel Burrows <[EMAIL PROTECTED]> wrote: > The webcalendar debconf script offers the user a choice between mysql > and postgres, but it doesn't actually work with postgres. When it tries > to create the database it runs into an error because it tries to create > a table that already exists: > > creating postgres user webcalendar: already exists. > resetting password: success. > creating database webcalendar: already exists. > populating database via sql... warning: ident method specified but local > account doesn't exist. > warning: ident method specified but local account doesn't exist. > error encountered populating database: > ERROR: relation "webcal_user" already exists
Are you sure there wasn't a webcalendar database and user already created in postgres? I was not able to recreate this bug. > Worse, if you reconfigure after this and select mysql instead, it > tries to use its postgres credentials to log into mysql and gets > totally confused: > > ERROR 1045 (28000): Access denied for user 'postgres'@'localhost' (using > password: NO). > unable to connect to mysql server. > error encountered creating user: > ERROR 1045 (28000): Access denied for user 'postgres'@'localhost' (using > password: NO) > > Apparently it stored my selection of postgres somewhere persistent and > refused to forget it. I ended up having to purge both webcalendar and > the "dbconfig-common" package it depends on; when I reinstalled them > both and selected "mysql", the installation succeeded without errors. Looking to pinpoint this issue - not able to determine whether it's a dbconfig-common problem or one with our implementation quite yet. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]