aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2025-05-06 20:50:09 +0300
committerMunyoki Kilyungi2025-05-06 20:50:09 +0300
commit3020472f1d6cd0ce909a245631c465acfcc308ba (patch)
treedc5d6d716e34ec5292f5835d5d28e04ae8920e26
parent32055ca38c3d2807e58e8718a6de39d37b8ad362 (diff)
downloadgn-machines-3020472f1d6cd0ce909a245631c465acfcc308ba.tar.gz
Use "db_webqtl_local" for the database.
Reviewed-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r--genenetwork-development.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/genenetwork-development.scm b/genenetwork-development.scm
index f841255..0b22f77 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_local?unix_socket=/run/mysqld/mysqld.sock")
(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_local?unix_socket=/run/mysqld/mysqld.sock"
"http://localhost:9082/sparql")
;; Stop genenetwork3, replace old xapian index and
;; start genenetwork3.
@@ -322,7 +322,7 @@ genenetwork3 source from the latest commit of @var{project}."
(system* (string-append gn3-dir "/scripts/index-genenetwork")
"is-data-modified"
#$%xapian-directory
- "mysql://webqtlout:webqtlout@localhost/db_webqtl?unix_socket=/run/mysqld/mysqld.sock"
+ "mysql://webqtlout:webqtlout@localhost/db_webqtl_local?unix_socket=/run/mysqld/mysqld.sock"
"http://localhost:9082/sparql"))))
(setenv "LAMINAR_REASON" "Nightly xapian index rebuild")
(invoke #$(file-append laminar "/bin/laminarc")
@@ -505,7 +505,7 @@ server described by CONFIG, a <genenetwork-configuration> object."
"\"\n"
"GN_SERVER_URL=\"https://cd.genenetwork.org/api3/\"\n"
"AUTH_SERVER_URL=\"https://auth-cd.genenetwork.org/\"\n"
- "SQL_URI=\"mysql://webqtlout:webqtlout@localhost/db_webqtl?unix_socket=/run/mysqld/mysqld.sock\"\n"
+ "SQL_URI=\"mysql://webqtlout:webqtlout@localhost/db_webqtl_local?unix_socket=/run/mysqld/mysqld.sock\"\n"
"SSL_PRIVATE_KEY=\"" gn2-secrets "/gn2-ssl-private-key.pem\"\n"
"AUTH_SERVER_SSL_PUBLIC_KEY=\"" gn2-secrets "/gn-auth-ssl-public-key.pem\"\n"))