From: Christian Grothoff Date: Mon, 6 Sep 2010 21:46:58 +0000 (+0000) Subject: update X-Git-Tag: initial-import-from-subversion-38251~20436 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=26e603606ef13b48bbfca8bc5d20deb54e00455c;p=oweals%2Fgnunet.git update --- diff --git a/src/datacache/plugin_datacache_mysql.c b/src/datacache/plugin_datacache_mysql.c index d83d18cd6..267ea9d3d 100644 --- a/src/datacache/plugin_datacache_mysql.c +++ b/src/datacache/plugin_datacache_mysql.c @@ -39,14 +39,14 @@ ON gnunet.* TO $USER@localhost; SET PASSWORD FOR $USER@localhost=PASSWORD('$the_password_you_like'); FLUSH PRIVILEGES; - * @endverbatim + @endverbatim * 2) In the $HOME directory of $USER, create a ".my.cnf" file * with the following lines * @verbatim [client] user=$USER password=$the_password_you_like - * @endverbatim + @endverbatim * * Thats it -- now you can configure your datastores in GNUnet to * use MySQL. Note that .my.cnf file is a security risk unless its on @@ -61,7 +61,7 @@ * @verbatim $ mysql -u $USER -p $the_password_you_like mysql> use gnunet; - * @endverbatim + @endverbatim * * If you get the message "Database changed" it probably works. * diff --git a/src/datastore/plugin_datastore_mysql.c b/src/datastore/plugin_datastore_mysql.c index c61c45019..4e5d8f9b0 100644 --- a/src/datastore/plugin_datastore_mysql.c +++ b/src/datastore/plugin_datastore_mysql.c @@ -49,13 +49,13 @@ * * 1) in /etc/gnunet.conf, set * @verbatim - * [datastore] - * DATABASE = "mysql" - * @endverbatim + [datastore] + DATABASE = "mysql" + @endverbatim * 2) Then access mysql as root, * @verbatim $ mysql -u root -p - * @endverbatim + @endverbatim * and do the following. [You should replace $USER with the username * that will be running the gnunetd process]. * @verbatim @@ -64,14 +64,14 @@ ON gnunet.* TO $USER@localhost; SET PASSWORD FOR $USER@localhost=PASSWORD('$the_password_you_like'); FLUSH PRIVILEGES; - * @endverbatim + @endverbatim * 3) In the $HOME directory of $USER, create a ".my.cnf" file * with the following lines * @verbatim [client] user=$USER password=$the_password_you_like - * @endverbatim + @endverbatim * * Thats it. Note that .my.cnf file is a security risk unless its on * a safe partition etc. The $HOME/.my.cnf can of course be a symbolic @@ -86,7 +86,7 @@ * @verbatim $ mysql -u $USER -p $the_password_you_like mysql> use gnunet; - * @endverbatim + @endverbatim * * If you get the message "Database changed" it probably works. * @@ -107,7 +107,7 @@ * @verbatim mysql> REPAIR TABLE gn090; mysql> REPAIR TABLE gn072; - * @endverbatim + @endverbatim * * PROBLEMS? *