This forum is no longer active. Please post your questions to our new community site
mysql datadir on USB stick
|
|
I would like my bitnami sql-server to use a database for my bitnami mediawiki which is located on an USB stick. The stick-database comes from MoWeS Portable and is normally run on Windows if that is relevant. I tried to change basedir and datadir in the my.cnf and in /bitnami-mediawiki/mysql/scripts/ctl.sh I changed the lines with the bitnami-sql-data-folder in it to the usb-sql-data-folder, but then the bitnami sql-server can not be started anymore. I am also interested in putting the whole thing (the bitnami mediawiki stack) on an usb stick to be able to run it from any Linux System like MoWeS Portable is running from any Windows Machine. Please help me, thank you! |
|
|
Hi, I think for Linux the most easy option is to install the stack as a regular user in a common folder, for example in “/tmp/mediawiki”. Then move this folder to your usb stick and mount in a different machine. Create a symlink to the previous installation directory (/tmp/mediawiki → /media/your_usb/mediawiki) and that’s all :) |

