Comment 31 for bug 973951

Revision history for this message
David M. Wheeler (general-y) wrote :

@Clint
My apologies for the "cute" e-mail.

>>"That package installed OK, but then I got an error that the next MySQL package could not install, because the MySQL root >>password was not the default. I clicked OK (because I know that I changed it), and went on my merry way...until...."
>>
>>This is very confusing, can you provide more information on that?

Let me explain in a bit more detail:

I was installing a fresh Ubunutu 12.04 server, as I said in post #26
As part of that install, the scripts set up MySQL, and walk you through several package installs for MySQL elements.

The first MySQL package to be installed (that I noticed) warned me about not using a strong password for the MySQL root password. So I accepted the advice and modified the MySQL root password. That package accepted the new password and installed fine.

The problem occurs when the LAMP server installation script trys to install the NEXT MySQL package. That script is expecting that the MySQL password is still set to a default value (or not password at all, I'm not sure).

<NOW HERE IS THE MAIN POINT> This next package DOES NOT INSTALL because it does not know what the MySQL root password is, AND IT DOES NOT PROMPT THE USER TO ENTER IT </NOW HERE IS THE MAIN POINT>

I solved my problem by NOT CHANGINGE THE MYSQL ROOT PASSWORD DURING THE INSTALLATION PROCESS
After everything was installed and I had everything working just the way I wanted it,
Then (and only then) did I change the MySQL root password.

The BUG (I believe -- as I stated in post #28) is the installation scripts, not MySQL.

Hope this helps.