install mysql with database position inside the sdcard

hi,
I would use a mysql database with my yun, but I would put the database within the sdcard and not in the / srv / mysql directory.
Is there someone who made it and can tell me the correct procedure of installation and configuration.
Thanks

use sqlite instead - when you configure a sqlite db you tell it where to install, I normally put it in www on the sd card

ExpandingYunDiskSpace by SD card, once you did it /srv is located at SD card.

http://wiki.openwrt.org/doc/howto/lamp

Install Mysql-server for Yun.

mikeruss:
use sqlite instead - when you configure a sqlite db you tell it where to install, I normally put it in www on the sd card

The sqlite is very nice file base database engine, if you need super write speed, you could sink it into memory, save the file at /tmp which is RAM based. (need some kind of recover code since power off it will be gone.)

thanks,
I'll try sqlite.
but, no one has modified mysql so that it writes on sdcard ?

Once You did ExpandingYunDiskSpace by SD card, every thing locates and run from SD card (after boot)

ExpandingYunDiskSpace by SD card, once you did it /srv is located at SD card.