I would recommend downloading the manual for MySQL from their website. Pay particular attention to the chapter on security. MySQL by default will have a couple demo tables you may want to delete or secure. The root account needs a password as well.
http://dev.mysql.com/doc/
You should use the client like:
mysql -u root -h <host> -p
If after creating the initial tables, "mysql -u root" works (on the same machine) that means that you need to create a password for the root account.
I use mysql as the db backend for amarok. I cheated and used the gui utility "mysql-administrator" to add the amarok user and configure a password.
One thing that I noticed is that amarok.directories.dir has full paths. If you use MySQL as a back end, and use a share to store the music or podcasts, you may want to have the same path used regardless of the computer you are running Amarok on.
Code:
mysql> SELECT dir FROM directories
-> WHERE dir LIKE '%LQ%';
+------------------------------------------------+
| dir |
+------------------------------------------------+
| ./mnt/hpmedia/podcasts/LQ Radio |
| ./mnt/hpmedia/podcasts/LQ Radio » LQ Podcasts |
| ./mnt/hpmedia/podcasts/ZENcast/LQ Radio |
+------------------------------------------------+
3 rows in set (0.01 sec)
My podcasts directory is in $HOME/podcasts on my desktop computer (hpmedia). On my laptop, they are accessed via an NFS share mounted on /mnt/hpmedia/podcasts. On the desktop, I created a symbolic link /mnt/hpmedia/podcasts -> /home/jschiwal/podcasts. That way the database entries will be correct regardless of which computer I am running amarok on.
You may also want to configure Amarok to only track new files only on one computer (the one with the actual library). Otherwise you may have the access times constantly being changed whenever another machine updates the collection triggering a rescanning on each machine.
Another thing to do is open up a port on the firewall for mysql. The default is
tcp port 3306. That will allow the other computers on the lan to use your server.
Good Luck!