Setup mysql

John Ralls jralls at ceridwen.us
Thu Feb 3 16:43:13 EST 2011


On Feb 3, 2011, at 11:09 AM, Keith Bellairs wrote:

> So the answer is, yes mysql is implemented. I have used it, but using postgres right now. But if the driver is not there, gnucash will not give you the option. Right John?
> 
> Keith
> 
> On Thu, Feb 3, 2011 at 1:45 PM, John Ralls <jralls at ceridwen.us> wrote:
> 
> On Feb 3, 2011, at 10:23 AM, Kurt Amesbury wrote:
> 
> > Thanks for the info.
> >
> > I'm not familiar with sqlite3, but am familiar with mysql.  Any downside to sqllite3 that you know of?
> >
> > Kurt
> >
> > On Feb 3, 2011, at 13:09 , John Ralls wrote:
> >
> >>
> >> On Feb 3, 2011, at 9:55 AM, Kurt Amesbury wrote:
> >>
> >>> In setting up gnucash, the options for backend storage didn't include mysql.  The only options were sqlite3 and xml.
> >>>
> >>> Is this feature not yet implemented?
> >>>
> >>> Gnucash version: 2.4.0
> >>> OS: MacOS 10.5.8
> >>
> >> From the release notes:
> >>> The only libdbi module included is for SQLite. If you need either the MySQL or Postgresql modules, you will have to build them yourself and install them into Gnucash.app/Contents/Resources/lib/dbd. For instructions, see MacOSX/Quartz.
> >>
> >> The instructions for building the drivers are at http://wiki.gnucash.org/wiki/MacOSX/Quartz#Building_Libdbi_Drivers
> 
> Depends on what your goals are. Sqlite3 is a local, no-admin Sql database that keeps everything in a single file on a local disk.   If you want Sql so that you can independently query your Gnucash database, then Sqlite3 is probably the right solution as it incurs much lower overhead -- both in system and user resources. On the other hand, if you already have a MySql installation, are comfortable administering it (or have an employee who is), have it set up for backups, and want to use it to access your Gnucash data from more than one computer (not simultaneously, Gnucash can't safely do that), then MySql might be a better choice.
> 

Yes, that's right. And the driver isn't in the bundle because I don't use MySql (or Postgresql) on my Mac and would need to install them to build the drivers.

Regards,
John Ralls



More information about the gnucash-user mailing list