From 18c6604111424772dcdf672f7f2f3c6405406e63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Euzenat?= <Jerome.Euzenat@inria.fr> Date: Sat, 10 Feb 2007 20:47:39 +0000 Subject: [PATCH] - mentionned server database changes - put small database server creation in README --- README.AServ | 17 +++++++++++------ html/relnotes.html | 3 +++ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/README.AServ b/README.AServ index 4f08a51c..714af2a5 100644 --- a/README.AServ +++ b/README.AServ @@ -28,19 +28,24 @@ MYSQL FOR THE FIRST TIME ------------------------ $ sudo /usr/local/mysql/bin/mysqld_safe --user=mysql & -$ /usr/local/mysql/bin/mysqladmin -u root password mysqlpassword -$ /usr/local/mysql/bin/mysqladmin -u root -h localhost password mysqlpassword -$ /usr/local/mysql/bin/mysql -u root -ppasswd -sql> source dbschema.sql +$ /usr/local/mysql/bin/mysqladmin -u root password <mysqlpassword> +$ /usr/local/mysql/bin/mysqladmin -u root -h localhost password <mysqlpassword> +$ /usr/local/mysql/bin/mysql -u root -p<mysqlpassword> +sql> CREATE DATABASE AServDB; +sql> GRANT ALL PRIVILEGES ON AServDB.* TO adminAServ@localhost IDENTIFIED BY 'aaa345'; sql> quit -Sample saving of the server content: +Of course, you are advised to use different user, password and database name. This can be achieved either: +- by changing values of DBMSBASE, DBMSUSER and DBMSPASS in AlignmentServer and recompiling; +- by passing parameters dbmsbase, dbmsuser and dbmspass to AlignmentServer. +Sample backup of the server content: $ /usr/local/mysql/bin/mysqldump -u adminAServ -paaa345 AServDB > toto.sql + +And restoring: $ /usr/local/mysql/bin/mysql -u adminAServ -paaa345 AServDB sql> source toto.sql; - LAUNCHING MYSQL AND LOADING SAMPLE DATABASE ------------------------------------------- diff --git a/html/relnotes.html b/html/relnotes.html index 0dcd31b4..256c631e 100644 --- a/html/relnotes.html +++ b/html/relnotes.html @@ -64,6 +64,9 @@ The main modification in this version is more independence from the <li>Added autodetection of renderers and methods in server</li> <li>Added menu of available alignments when possibles</li> <li>Added cut method in server</li> +<li>Revised server database structure, implemented automatic creation + of the database</li> +<li>Protected database insertion with safe-quoting function</li> <li>Suppressed all useless import and imprecise catch</li> <li>Implemented an abstract notion of ontology cache</li> <li>Suppressed "localhost" from local URL in README, tutorial and documentation</li> -- GitLab