Manage Your Amarok Music Collection with MySQL
Amarok is a powerful music player for Linux, Unix and Windows OS with an intuitive interface. It makes playing the music you love and discovering new music easier than ever before – and it looks good doing it! It can be used to organize a library of music into folders according to genre, artist and album. It can edit tags attached to most music formats, associated album art, attach lyrics and automatically “score” music by keeping play count statistics.
Amarok uses an embedded MySQL database to manage music collections. If you don’t want to dump all your local hard drive with large volume of music files and wish to manage your music collections with an external database, then Amarok has a option for that too.
In this article, let us see how to manage music collections with external MySQL database. It will work on all platforms that supports MySQL. Here, I use Ubuntu 13.04 for this tutorial.
If you haven’t installed MySQL before, install it use the following command:
sk@sk:~$ sudo apt-get install mysql-server mysql-client
During installation, it will ask you to set the password for MySQL root user password. Enter the password twice and continue the installation.
Create MySQL database for Amarok
Let us create a database called amarokdb and database user amarokuser with password ubuntu. Change these values as per your requirement:
sk@sk:~$ mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 42 Server version: 5.5.31-0ubuntu0.13.04.1 (Ubuntu) Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> create database amarokdb; Query OK, 1 row affected (0.01 sec) mysql> GRANT ALL ON amarokdb.* TO amarokuser@localhost IDENTIFIED BY 'ubuntu'; Query OK, 0 rows affected (0.01 sec) mysql> flush privileges; Query OK, 0 rows affected (0.01 sec) mysql> exit Bye
Open Amarok. Go to Settings -> Configure Amarok -> Database. In the database section click on Use external MySQL database checkbox. Enter the MySQL server IP Address, user and database details and click the Apply button.
Like us on Facebook
We need your assistance to stay live
This week Top Posts
- Wow! Linux Foundation To Offer Free Linux Course This Summer Worth $2,400 on EdX : Wow! Early last week it was all over the internet, if you haven't heard it yet then this is the t...0 comments |
- Grive: An Unofficial, Open Source Linux Client For Google Drive : A couple of months before, we have featured a Linux client for Google Drive named Syncdrive, which w...1 comment |
- Top Things To Do After Installing Ubuntu 13.10 'Saucy Salamander' : Ubuntu 13.10 Saucy Salamander will be released on coming October 17th with many new salient featur...0 comments |
- How To "Fix E: Could not open file /var/lib/dpkg/status" : QUESTION: I get the following error when I use sudo apt-get update: E: Could not open file /var/...0 comments |
- Install Sublime Text 3 In Fedora Easily With Fedy : Sublime Text is a sophisticated text editor for code, markup and prose. In this tutorial we are goi...0 comments |
- Install nSnake Game In Terminal : From github repo nsnake is a clone of the classic snake game that we all used to play on our cellp...0 comments |
- Install Sublime Text 3 In Fedora Easily With Fedy
- Grive: An Unofficial, Open Source Linux Client For Google Drive
- Install nSnake Game In Terminal
- How To “Fix E: Could not open file /var/lib/dpkg/status”
- Wow! Linux Foundation To Offer Free Linux Course This Summer Worth $2,400 on EdX
- Fedora 21 Scheduled For Release In October
- Install Uget Download Manager In Ubuntu, Fedora, Debian
- Download Elementary OS ‘Luna’ Official Wallpapers
- Install Power Commands 0.1.5 On Ubuntu 14.04/13.10/12.10/12.04
- 5 Android Apps that’s Going to Make Running Your Business Less Stressful
This work by unixmen.com is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Copyright © 2008-2013 Unixmen.com .