Pat,<br><br>I went ahead and created a db for you.  The credentials and privs are listed in a file in the board&#39;s directory.   Let me know if it needs adjusted or anything.  <br><br>Ted<br><br><div class="gmail_quote">
On Tue, Feb 14, 2012 at 12:04 PM, Pat Barron <span dir="ltr">&lt;<a href="mailto:pat@lectroid.com">pat@lectroid.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 02/14/2012 1:13 AM, Vance Kochenderfer wrote:<br>
&gt; I believe Pat was going to use an ssh tunnel (i.e., &#39;ssh -L<br>
&gt; 3306:localhost:3306 <a href="mailto:user@wplug.org">user@wplug.org</a>&#39;) to communicate with MySQL.<br>
&gt; This way, only the data lives on the server; the application is<br>
&gt; entirely on his desktop.<br>
<br>
</div>Exactly.  I talked to Ted a little bit yesterday and clarified that.<br>
<br>
I did a proof-of-concept at home last night (using Postgres as a<br>
back-end, just because it&#39;s what I happen to have running at home).<br>
Seems to work fine, and no GnuCash bits need to be installed on the<br>
server side.  Just uses the DB for data storage.<br>
<div class="im"><br>
&gt; This seems fine to me, with the proviso that we create a separate<br>
&gt; MySQL user that *only* has access to this database.  Principle of<br>
&gt; least privilege and all that.<br>
<br>
</div>Works for me.  ;-)<br>
<div class="im"><br>
&gt; Pat, one thing to keep in mind is that the next treasurer may not<br>
&gt; want to use the same tools.  I know that at least once in WPLUG&#39;s<br>
&gt; past, a treasurer has handed over his data files which were then<br>
&gt; ignored by his successor.  I&#39;d recommend, in addition to the<br>
&gt; database, generating something in plaintext that can be picked up<br>
&gt; by anyone.  Here&#39;s the format I used, FWIW.  :)<br>
&gt; &lt;<a href="http://www.wplug.org/pipermail/wplug-board/2010-April/001703.html" target="_blank">http://www.wplug.org/pipermail/wplug-board/2010-April/001703.html</a>&gt;<br>
<br>
</div>True.  That&#39;s why I&#39;m trying to make it as simple as possible.  I intend<br>
to have Treasurer&#39;s Reports in roughly the format you describe (to<br>
present at board meetings and GUMs), but that&#39;s just a snapshot in<br>
time.  A &quot;real&quot; accounting system lets you view the history too.<br>
<br>
But yeah, my eventual successor would not necessarily care to do that.<br>
So by keeping it relatively simple, if the work gets thrown away later,<br>
it&#39;s no big loss.  ;-)<br>
<div class="im"><br>
&gt; To be honest, if MySQL can meet your needs, I&#39;d prefer not to run<br>
&gt; Postgres.  Just want to avoid having another service to keep an<br>
&gt; eye on.<br>
<br>
</div>MySQL would be fine.  I just understand Postgres better (and run it at<br>
home), have been a Postgres user for a very long time.  So I&#39;m a bit of<br>
a Postgres bigot.  But there&#39;s nothing Postgres can do for me that MySQL<br>
can&#39;t.<br>
<div class="im"><br>
&gt; As I see it, you&#39;d need:<br>
&gt; 1. A MySQL username<br>
&gt; 2. A password for that user<br>
&gt; 3. A database (CREATE DATABASE gnucash ?)<br>
&gt; 4. Privileges for the user on that database<br>
&gt;<br>
&gt; Does any particular schema need to be set up for GNUcash to use?<br>
&gt; Am I forgetting anything else?<br>
<br>
</div>I think that&#39;s it (and yeah, the DB name it expects is &quot;gnucash&quot; - the<br>
version of GnuCash I&#39;m running on my desktop seems to get unhappy if the<br>
DB is called anything else, at least using the Postgres back-end).  The<br>
user that accesses that DB doesn&#39;t need to have any access to anything<br>
else.  GnuCash initializes the DB (with all the tables it needs and<br>
such) when you first set it up, all it needs going in is a &quot;blank&quot;<br>
database and access to it.<br>
<span class="HOEnZb"><font color="#888888"><br>
--Pat.<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
wplug-internet mailing list<br>
<a href="mailto:wplug-internet@wplug.org">wplug-internet@wplug.org</a><br>
<a href="http://www.wplug.org/mailman/listinfo/wplug-internet" target="_blank">http://www.wplug.org/mailman/listinfo/wplug-internet</a><br>
</div></div></blockquote></div><br>