diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-09-06 21:46:58 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-09-06 21:46:58 +0000 |
commit | 26e603606ef13b48bbfca8bc5d20deb54e00455c (patch) | |
tree | 387ca1494653d9619b23a8c333870763b6cb3005 /src/datacache/plugin_datacache_mysql.c | |
parent | c447ae3332635db30b6aae1af2ebfedc80695765 (diff) | |
download | gnunet-26e603606ef13b48bbfca8bc5d20deb54e00455c.tar.gz gnunet-26e603606ef13b48bbfca8bc5d20deb54e00455c.zip |
update
Diffstat (limited to 'src/datacache/plugin_datacache_mysql.c')
-rw-r--r-- | src/datacache/plugin_datacache_mysql.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ | |||
39 | ON gnunet.* TO $USER@localhost; | 39 | ON gnunet.* TO $USER@localhost; |
40 | SET PASSWORD FOR $USER@localhost=PASSWORD('$the_password_you_like'); | 40 | SET PASSWORD FOR $USER@localhost=PASSWORD('$the_password_you_like'); |
41 | FLUSH PRIVILEGES; | 41 | FLUSH PRIVILEGES; |
42 | * @endverbatim | 42 | @endverbatim |
43 | * 2) In the $HOME directory of $USER, create a ".my.cnf" file | 43 | * 2) In the $HOME directory of $USER, create a ".my.cnf" file |
44 | * with the following lines | 44 | * with the following lines |
45 | * @verbatim | 45 | * @verbatim |
46 | [client] | 46 | [client] |
47 | user=$USER | 47 | user=$USER |
48 | password=$the_password_you_like | 48 | password=$the_password_you_like |
49 | * @endverbatim | 49 | @endverbatim |
50 | * | 50 | * |
51 | * Thats it -- now you can configure your datastores in GNUnet to | 51 | * Thats it -- now you can configure your datastores in GNUnet to |
52 | * use MySQL. Note that .my.cnf file is a security risk unless its on | 52 | * use MySQL. Note that .my.cnf file is a security risk unless its on |
@@ -61,7 +61,7 @@ | |||
61 | * @verbatim | 61 | * @verbatim |
62 | $ mysql -u $USER -p $the_password_you_like | 62 | $ mysql -u $USER -p $the_password_you_like |
63 | mysql> use gnunet; | 63 | mysql> use gnunet; |
64 | * @endverbatim | 64 | @endverbatim |
65 | * | 65 | * |
66 | * If you get the message "Database changed" it probably works. | 66 | * If you get the message "Database changed" it probably works. |
67 | * | 67 | * |