using 2.3.7 with mysql

Phil Longstaff plongstaff at rogers.com
Wed Dec 2 16:22:20 EST 2009


If you want to use with mysql, you also need the mysql libdbi driver (also known as a dbd).  It looks like you're using a linux distro, so look for a package with mysql and dbd and/or dbi in its name (googling gave me libdbd-mysql-... for debian, for example).

Phil




________________________________
From: Colin Law <clanlaw at googlemail.com>
To: Peter <vmail at mycircuit.org>
Cc: gnucash-user at gnucash.org
Sent: Wed, December 2, 2009 4:06:48 PM
Subject: Re: using 2.3.7 with mysql

2009/12/2 Peter <vmail at mycircuit.org>:
> Colin Law wrote:
>>
>> 2009/12/2 Peter <vmail at mycircuit.org>:
>>
>>>
>>> Colin Law wrote:
>>>
>>>>
>>>> 2009/12/2 Peter <vmail at mycircuit.org>:
>>>>
>>>>
>>>>>
>>>>> Hi
>>>>> I successfully compiled and run 2.3.7 and I wanted to check out the new
>>>>> sql backend features ( especially mysql )
>>>>> However, I can't find any option or documentation on how to use the db
>>>>> backend.
>>>>>
>>>>> Sorry, if I missed the relevant parts of the doc, I just can't find it
>>>>>
>>>>>
>>>>>
>>>>
>>>> Just do File, Save As and select mysql as the type.  Then enter db
>>>> name and so on.  You must have a mysql server available of course.
>>>>
>>>> Colin
>>>>
>>>>
>>>
>>> When I do this, only 'xml' appears in drop down menu, the mysql relevant
>>> data ( host, database, user, password ) remain grayed-out and I can not
>>> modify them. I have a mysql server running, although it is not installed
>>> in
>>> a standard location and the socket file is not in a standard location
>>> neither.
>>>
>>>
>>
>> Did you specify --enable-dbi  for configure when building?  This
>> enable the db code.
>>
>> Colin
>>
>
> yes, I did
>
> ./configure --prefix=/dist/gnucash_237 --with-html-engine=webkit
> --enable-dbi

Assuming that after configure you did make clean and make then I have
run out of ideas, sorry.

Anyone else?

Colin
_______________________________________________
gnucash-user mailing list
gnucash-user at gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


More information about the gnucash-user mailing list