diff --git a/README.AServ b/README.AServ index 4f08a51c85e8dda96a32c2e1a38d053bcc4013b7..714af2a50a0e7bc8acbedd0b918ec301eb59c5e9 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 0dcd31b4d7ab5d44ae8eedbf1758a6682c1f3589..256c631e665131170777cfa11512ce59b242df8c 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>