MySQL in a Container (Docker)

Colin Law clanlaw at gmail.com
Wed Mar 14 04:44:32 EDT 2018


On 14 March 2018 at 03:28, jhinz <jhinz402 at hotmail.com> wrote:

> Had been running GNU Cash connected to a VM running linux and MySQL.
> Switched to MySQL running on a container and started receiving an error in
> GNUCash.  The error msg read "Cannot write to the database".  Once that
> occurred the entire database seem to be corrupted.
>
> I do not believe there is an issue with MySQL running in a container as I
> have other apps running against it and have not had an issue.  Never had an
> issue when running MySQL in a VM either.
>
> Any ideas?
>
> Plus I was thinking of switching from MySQL to a file based repository.
> Any
> guidance on making the switch rather than simply creating new opening
> balances in a new file?
>

Assuming you can still open your old accounts on mysql (or can reload a
backup) then all you have to do is File > Save As, select Compressed XML,
browse to the folder you want to save in and Save it.

Colin


More information about the gnucash-user mailing list