Le Samedi 1 Mars 2003 18:48, warly a écrit :
> http://qa.mandrakesoft.com/show_bug.cgi?id=1404
>
>
>
>
>
> ------- Additional Comments From [EMAIL PROTECTED]  2003-03-01 18:48
> ------- I will add mysql_fix_privilege_tables in the next package I build,
> however this command will
> fail if a password is required for the root user.
I don't know MySQL, but the situation is the same for PostgreSQL: automatic 
upgrade requires dumping databases, which will fails if local connection from 
super-user requires autentication.

A solution for Postgresql would be to stop the server, replace old pg_hba.conf 
with one allowing connection without password, relaunch the server, dump 
database, upgrade everything, restore database, then restore original 
pg_hba.conf

Hope this can help.
-- 
If a program actually fits in memory and has enough disk space, it is 
guaranteed to crash. 
        -- Murphy's Computer Laws n°5


Reply via email to