Can't set up new file with mysql backup

Geert Janssens geert.gnucash at kobaltwit.be
Sun Dec 27 07:38:55 EST 2015


On Saturday 26 December 2015 15:30:30 Eric Beversluis wrote:
> I'm trying to set up a new file with a mysql backup. The documentation
> (2.5) seems to indicate that when I first save data I should use
> 'save as' and select mysql. But the only option I'm getting is 'xml'.
> My older files are xml, but I want to use mysql starting wth the new
> year.
> 
> What do I do to set up a new file with a mysql backend?
> 
> I'm using GnuCash 2.6.9 on Fedora 22. I'm trying to use either the
> "export accounts" function or to import an account tree that I've
> exported from the old file. But I don't get a mysql option even if I
> just use the setup wizard and don't try to import an account
> structure.
> 
> Thanks.

Hi Eric,

It's not mysql "backup", but mysql "backend" ;)

If this option is missing while trying to save your data, that means you are missing the right 
dependencies on your system.

On Fedora, you'll need to install libdbi-*dbd*-mysql to be able to use the mysql backend. This 
is an optional package that's not installed automatically.

For completeness, if you wish to use the other sql based backends (sqlite3 and postgresql) 
these are provide by the optional packages
libdbi-*dbd*-sqlite
libdbi-*dbd*-pgsql


Regards,

Geert


More information about the gnucash-user mailing list