Daniel Macks wrote:
:
> Looking at the PostInst, I see it's doing:
>
> # create initial database
> # it is safe to call mysql_install_db even if a db is already present
> /sw/bin/mysql_install_db --user=mysql
>
> Digging into that script, apparently it doesn't realize I already have
> a mysql database installed, so it tries to set up a new one, which is
> different from the old.
So looks like calling /sw/bin/mysql_install_db has been no longer safe.
I'm going to delete these lines, or to make them conditional,
like calling mysql_install_db only if datadir is empty.
By the way, for upgrade users, there is /sw/bin/mysql_upgrade{,_shell}.
Maybe I should also add such lines into PostInstScript.
Thank you for your report,
--
ASARI Takashi @ Todai Fink Team
http://fink.sodan.ecc.u-tokyo.ac.jp/
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel