[EDIT] Using a different datadir with maridb

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

[EDIT] Using a different datadir with maridb

Postby apowell656 » Sun May 12, 2013 12:38 am

EDIT: My original question may have been out of frustration, but let me rephrase the question. I would like to set up a small LAMP server and ideally use the smaller flash drives for the system and be able to store databases on an external drive in case of a failure. I have an external drive (80 GB) that I could install ArchLinux on, but I kind of prefer having the flash drives separately although I am not so tied to that idea if there would be a performance gain, etc. by keeping everything on on drive.

I know that I can change the DocumentRoot location for Apache, but wondering if there is away to point the location of saved databases for Mariadb/MYSQL and have everything work in my preferred method. My efforts to do so have not worked (adding the variable datadir=/media/sites/myql).

Any advice would be appreciated.

Andre


I have looked on Google and the wiki concerning using a different directory for storing my databases. It appears that MYSQL only needs the variable datadir = /blah/blah, but adding this to maridb causes it to crash. Any help would be appreciated.

- Andre
apowell656
 
Posts: 41
Joined: Fri Jan 25, 2013 1:24 am

Return to Marvell Kirkwood

Who is online

Users browsing this forum: Google [Bot] and 3 guests