Page 1 of 1
Configuring squeezecenter during update
Posted: 18 Dec 2011, 17:26
by Moloko
Hi,
I've started an update thru the command line.
On the point where the configuration of squeezecenter is done, the install asks: "Configure database for squeezecenter with dbconfig-common?" and then "Perform upgrade on database for squeezecenter with dbconfig-common? "
It then prompts me to enter "Password of the database's administrative user:"
What is the password??
If you know it, please PM me...
Re: Configuring squeezecenter during update
Posted: 19 Dec 2011, 03:27
by Binkem
If you haven't changed the password you should just press enter and leave the password blank.
Re: Configuring squeezecenter during update
Posted: 20 Dec 2011, 16:13
by Moloko
Hi,
That's what I also thought I would answer on the question "Perform upgrade on database for squeezecenter with dbconfig-common?"... BUT:
In the command prompt on my B3 I can login to mysql as follows with an empty password by pressing Enter: (either as my own user or 'su')
Code: Select all
karr@b3:~$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 5283
Server version: 5.1.49-3 (Debian)
So I was assuming the installation would accept an empty password...
Or am I having a mental glitch??

Re: Configuring squeezecenter during update
Posted: 20 Dec 2011, 17:01
by Binkem
Afaik if you can log into Mysql with a blank password, you should be able to upgrade your bubba using a blank password. Perhaps you could post the error messages you get when trying to update?
Re: Configuring squeezecenter during update
Posted: 21 Dec 2011, 17:23
by Ubi
what's the problem here actually? You confirmed the password is blank, so on the question "enter password" you press enter. You seem to be confused that there is a difference between an empty password and no password at all.
Re: Configuring squeezecenter during update
Posted: 22 Dec 2011, 15:58
by Moloko
Binkem wrote:Afaik if you can log into Mysql with a blank password, you should be able to upgrade your bubba using a blank password. Perhaps you could post the error messages you get when trying to update?
There is a prompt error message in plain text, after that there's a message in gray with blue background saying:
Package configuration
┌───────────────────────┤ Configuring squeezecenter ├───────────────────────┐
│ │
│ ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
│ password: YES)
│
│ Fortunately,
│ /var/cache/dbconfig-common/backups/squeezecenter_7.5.4.dfsg1-2.mysql
│ holds a backup of the database, made just before the upgrade.
│
│ If at this point you choose "retry", you will be prompted with all the
│ configuration questions once more and another attempt will be made at
│ performing the operation. "retry (skip questions)" will immediately
│ attempt the operation again, skipping all questions. If you choose
│ "abort", the operation will fail and you will need to downgrade,
│ reinstall, reconfigure this package, or otherwise manually intervene to
│ continue using it.
│
│ <Ok>
I hope this answers your question...
On the question to enter the password, this is the exact question:
┌──────────────────────┤ Configuring squeezecenter ├──────────────────────┐
│ Please provide the password for the administrative account with which │
│ this package should create its MySQL database and user. │
│ │
│ Password of the database's administrative user: │
│ │
│ _______________________________________________________________________ │
│ │
│ <Ok> <Cancel> │
│ │
└─────────────────────────────────────────────────────────────────────────┘
So I just press 'Enter' (without going down to 'Ok') and I get the error message as seen above.
Came to think of:
Could it be a terminal setting in Putty that needs to be adjusted?
I am really stuck here...
Re: Configuring squeezecenter during update
Posted: 24 Dec 2011, 16:48
by Moloko
Bah, I did a reset of the root password (set it to blank again) and restarted the upgrade. The upgrade install procedure went thru without problems.
Case closed.