Mysql no-doubtly is the most popular database server among web user for it available on most hosting and SMEs. It's distribution also available on most linux distro, including the popular Ubuntu.
Mysql data file is the base of mysql database storage. Relocating folder usually for harddrive partition storage management issue. Managing MySQL data file is kinda tricky, because since Ubuntu 8.04, MySQL data file is protected by apparmor by default. Meaning, we cant simply move around files related to MySQL, as all location need to be registered.
Basic step is to edit mysql config file, in /etc/mysql/my.cnf.
Make sure the service is stopped.
$ sudo /etc/init.d/mysql stop
$ sudo vi /etc/mysql/my.cnf
Look for datadir directive, change it to your new location. Datadir location has to be actual location, not a symbolic link. Save and quit the editor. Dont forget to move old database location into the new folder, most importantly "mysql", as the folder contains user authentication info. Otherwise you'll find unable to log in to the database.
Apparmor Part
Apparmor is a security software for Linux. Apparmor protects unauthorised changes to system critical files. To open apparmor protection for MySQL, open a shell terminal, and type :
$ sudo vi /etc/apparmor.d/usr.sbin.mysqld
Add the new location:
/var/www/mysql_datadir/ r,
/var/www/mysql_datadir/** rwk,
Restart apparmor by :
$ sudo /etc/init.d/apparmor restart
If everything went right, mysql start status should showing [ok], otherwise, consulting syslog somehow could help. Type this before restarting mysql service
$ tail -f /var/log/syslog
In other terminal,
$ sudo /etc/init.d/mysql start
Now your database is located in folder you prefer to.
Affordable internet finally available !
With a series of new regulation from Ministry of Communication and Information (Menkominfo), now internet subcription is getting affordable. Compare to my last two (article 1 & article 2) article related to internet rates, currently unlimited internet is available with cheaper monthly fee.
Started of by Indosat with its Broom Prabayar Unlimited, price start from Rp. 100.000 (US$ 9) per month, you can enjoy unlimited internet. Even nothing much to be proud of beside the cheap price, but after launched several months, Indosat is overwhelming with increasing of subscriber, exceed their capasity. As demand increases, it's getting hard to the get the Broom's starter pack.

Then followed by XL with XL internet unlimited prabayar, at approximately same rates, XL plot the service with only 250K subscriber. Not really sure if the quota has been surpased, but same thing happen, no where we can get the starter pack. Telkomsel recently lauched their first unlimited prepaid internet. As they claim have suprerior QoS, monthly fee slightly higher than other competitor.
All these service above carying same one term : Fair Usage Policy. As now limiting access no longer acceptable for subcriber, Fair Usage policy seems to be best fit for current situation. Fair usage policy is limiting connection speed when a sucbriber reach certain quota. Most GSM internet provider lock the speed at 64kbps when quota reach 2-3GB. This is quite tricky because they mostly use term of Broadband 3.5G speed in their promotion, although the maximum speed only at 256kbps.
My personal choice for home internet is Firstmedia. Although some said the customer service isnt nice (in solving problem) but as long as you have no problem with your access, I almost can say its beyond expectation. With Rp. 135.000 (+tax) (US$ 12), speed we can get up to 384kpbs flat no fair usage policy. A real download could reach almost 50KBps from Rapidshare.
So far, I'm quite happy with this service. Hope this can help you decide what the personal internet connection that suits you.