Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

On a fresh install of MySQL on Ubuntu (assuming MySQL is being used for Mifos development only). BE CAREFUL, you can end up messing up your mysql setup. You need to understand that you have enough RAM to have MySQL on RAM. (if you are not doing anything apart from Mifos development then 3GB RAM is enough for MySQL on RAM)

Code Block

# become root, and be extra careful about the next commands
sudo su
stop mysql
# copy the mysql data directorycpdirectory
cp -rp /var/lib/mysql/ ~/
# allocate 500 MB memory for data directorymountdirectory
mount -t tmpfs -o size=500M tmpfs /var/lib/mysql/
cp -rp ~/mysql/* /var/lib/mysql/
start mysql
# exit root, get back to your previous login mode
exit

...