fixes
authorChristian Grothoff <christian@grothoff.org>
Tue, 3 Aug 2010 15:33:19 +0000 (15:33 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 3 Aug 2010 15:33:19 +0000 (15:33 +0000)
src/datastore/Makefile.am
src/datastore/plugin_datastore_mysql.c
src/datastore/test_datastore_api_data_mysql.conf

index fac20f1912f06a112889233cb1ef7c35e1ad4927..9fd0253f320647e0125169a1a99d4e5eb6f482ff 100644 (file)
@@ -73,7 +73,7 @@ libgnunet_plugin_datastore_mysql_la_LIBADD = \
   $(top_builddir)/src/statistics/libgnunetstatistics.la \
   $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lz -lsqlite3
 libgnunet_plugin_datastore_mysql_la_LDFLAGS = \
- $(GN_PLUGIN_LDFLAGS) $(MYSQL_LDFLAGS)
+ $(GN_PLUGIN_LDFLAGS) -lmysqlclient
 libgnunet_plugin_datastore_sqlite_la_CPFLAGS = \
  $(MYSQL_CPPFLAGS)
 
index 447ce71764449e0a659b19228f00932ed912d0ff..637fb83c5e01b7b102f611b28ac25946cad684f8 100644 (file)
@@ -49,9 +49,8 @@
  *
  * 1) in /etc/gnunet.conf, set
  *    <pre>
- *
- *     sqstore = "sqstore_mysql"
- *
+ *     [datastore]
+ *     DATABASE = "mysql"
  *    </pre>
  * 2) Then access mysql as root,
  *    <pre>
index a564fe9bfb0b4cd3af60a81a3af62156d910699b..a72f58a8afcdf43395c400fcbd9d1da196485563 100644 (file)
@@ -21,6 +21,7 @@ ACCEPT_FROM6 = ::1;
 QUOTA = 10000000
 BLOOMFILTER = $SERVICEHOME/fs/bloomfilter
 DATABASE = mysql
+DISABLE_SOCKET_FORWARDING = YES
 # USERNAME = 
 # MAXBUF =
 # TIMEOUT =
@@ -30,8 +31,9 @@ DATABASE = mysql
 # REJECT_FROM6 =
 # PREFIX =
 # DEBUG = YES
-#PREFIX = valgrind --tool=memcheck --leak-check=yes
-#BINARY = /home/grothoff/bin/gnunet-service-datastore
+PREFIX = xterm -T datastore -e gdb --args
+# PREFIX = valgrind --tool=memcheck --leak-check=yes
+BINARY = /home/grothoff/gn9/bin/gnunet-service-datastore
 
 [statistics]
 PORT = 22667