Re: upgrading the main database
David Nebauer <[email protected]> Sat, 30 Sep 2006 03:15:33 +0930
| Newsgroups | gmane.text.refdb.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Markus, > refdbd only requires a username if you use the -a or -c switches. In this case > no client connection can provide the username and password required to connect > to the database server. However, you are right that this does not make much > sense in the case of SQLite. Actually refdbd attempts to guess a username using > the getlogin() function if none is provided. This is sufficient on all systems > that I've tested so far. I have no idea why this fails on your system. I've > changed refdbd to use a dummy username "root" if getlogin() fails. Please check > whether this fixes the problem. Mystery solved. The problem was with my refdbd command. I was passing to the '-i' parameter the full filepath to the database file itself </var/lib/refdb/db/refdb> instead of the path to the database *directory* </var/lib/refdb/db>. When I used the latter value the command worked fine. You may wish to reverse the recent change to refdbd. Regards, David. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV