Re: upgrading the main database
Markus Hoenicka <[email protected]> Fri, 29 Sep 2006 10:44:37 +0200
| Newsgroups | gmane.text.refdb.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi David, David Nebauer <[email protected]> was heard to say: > refdbd is now failing unless a username is supplied. Here is the > feedback if there is no username: [...] > refdbd has not previously required a username when running an sqlite > backend. > 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. > When a spurious username is supplied it attempts to run but still fails: > [...] > > The database location is correct. > Do you have write permissions in the database directory? I see no other reason why this should fail. I've tested this on FreeBSD and Windows/Cygwin successfully. I'll give it a try on the weekend on a Debian box to make sure. regards, Markus -- Markus Hoenicka [email protected] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de ------------------------------------------------------------------------- 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