help-gnunet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnunet] mysql database setup


From: David Kuehling
Subject: [Help-gnunet] mysql database setup
Date: 06 Mar 2008 23:11:07 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Hi,

after deleting and recreating many gnunet mysql databases in the past, I
finally took the time to put the necessary commands into a shell script.
Maybe others find that useful?  Script is attached

Usage is as follows:

./gnunet-mysql create

  -- asks for username (default:gnunet) and password; then create a
     gnunet database for that user and write the password to the .my.cnf
     file in the user's home directory

./gnunet-mysql delet

  -- delete the gnunet mysql database

With something like this, mysql setup could probably be automatically
done for the Debian installation?  Other packets such as mythtv already
seem to manage automatic mysql setup.

cheers,

David
-- 
GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40

Attachment: gnunet-mysql
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]