about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2025-07-04 15:30:23 +0300
committerMunyoki Kilyungi2025-07-22 10:06:29 +0300
commit71dd60916b4d615792ba4bd7737acc6aae6142c8 (patch)
tree235b80df528fbda37109b409d3a1d843a984a8ec
parent521efc79a8125c56e81c4ca8b7b284d33c596441 (diff)
downloadgn-machines-71dd60916b4d615792ba4bd7737acc6aae6142c8.tar.gz
genenetwork-development: Set utf-8 chars in mysql socket.
-rw-r--r--genenetwork-development.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/genenetwork-development.scm b/genenetwork-development.scm
index dd063d7..843c02b 100644
--- a/genenetwork-development.scm
+++ b/genenetwork-development.scm
@@ -241,7 +241,7 @@ executed."
             (setenv "GN3_LOCAL_URL" (string-append "http://localhost:" (number->string #$gn3-port)))
             (setenv "GENENETWORK_FILES" #$genotype-files)
             (setenv "HOME" "/tmp")
-            (setenv "SQL_URI" "mysql://webqtlout:webqtlout@localhost/db_webqtl?unix_socket=/run/mysqld/mysqld.sock")
+            (setenv "SQL_URI" "mysql://webqtlout:webqtlout@localhost/db_webqtl?unix_socket=/run/mysqld/mysqld.sock&charset=utf8")
             (chdir "genenetwork2")
             ;; XXXX: FIXME: R/Qtl tests fail because files are generated in
             ;; the "/tmp" directory.  Currently, "/tmp" is mapped by gn2/gn3
@@ -277,7 +277,7 @@ genenetwork3 source from the latest commit of @var{project}."
                 (setenv "PYTHONPATH" (getcwd))
                 (invoke "./scripts/index-genenetwork" "create-xapian-index"
                         xapian-build-directory
-                        "mysql://webqtlout:webqtlout@localhost/db_webqtl?unix_socket=/run/mysqld/mysqld.sock"
+                        "mysql://webqtlout:webqtlout@localhost/db_webqtl?unix_socket=/run/mysqld/mysqld.sock&charset=utf8"
                         "http://localhost:9082/sparql")
                 ;; Stop genenetwork3, replace old xapian index and
                 ;; start genenetwork3.