![]() Registered Member ![]()
|
I just upgraded my Kubuntu 10.10 to 11.04 and was surprised to find that upon opening Amarok (2.4.0) all of my statistics had disappeared.
I am using the external MySQL database functionality, and I can confirm from the back-end that the statistics are missing. Lucky for me I have a backup of the database from a few days ago. I'd like to restore this backup. I tried the following: quit amarok, restore the backup using mysql command line client, then start Amarok. The results were very strange. After starting Amarok all my tracks and statistics seemed to be there. Then Amarok began to do its normal periodic "Update Collection" thing automatically, and after that process finished Amarok showed only a couple dozen random artists (instead of the thousands I'd expect) and had some statistics. I've tried this process several times and also done a couple full scans, but the same thing happens each time -- Amarok's update collection process wipes out almost everything. Very very weird. I feel confident that this mysql backup file has all my statistics data -- but how do I restore it? |
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
WORKAROUND:
Here are the steps I took to get my statistics data back using my MySQL backup file. Note that this procedure will wipe out your other Amarok settings such as bookmarks, layout, etc. Also note that in the following commands you'll have to replace the mysql user and password with your own, as well as replace the full path to your backup file.
|
Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, sandyvee, Sogou [Bot]