Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 18c66041 authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

- mentionned server database changes

- put small database server creation in README
parent 9415c7f3
No related branches found
No related tags found
No related merge requests found
...@@ -28,19 +28,24 @@ MYSQL FOR THE FIRST TIME ...@@ -28,19 +28,24 @@ MYSQL FOR THE FIRST TIME
------------------------ ------------------------
$ sudo /usr/local/mysql/bin/mysqld_safe --user=mysql & $ 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 password <mysqlpassword>
$ /usr/local/mysql/bin/mysqladmin -u root -h localhost password mysqlpassword $ /usr/local/mysql/bin/mysqladmin -u root -h localhost password <mysqlpassword>
$ /usr/local/mysql/bin/mysql -u root -ppasswd $ /usr/local/mysql/bin/mysql -u root -p<mysqlpassword>
sql> source dbschema.sql sql> CREATE DATABASE AServDB;
sql> GRANT ALL PRIVILEGES ON AServDB.* TO adminAServ@localhost IDENTIFIED BY 'aaa345';
sql> quit 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 $ /usr/local/mysql/bin/mysqldump -u adminAServ -paaa345 AServDB > toto.sql
And restoring:
$ /usr/local/mysql/bin/mysql -u adminAServ -paaa345 AServDB $ /usr/local/mysql/bin/mysql -u adminAServ -paaa345 AServDB
sql> source toto.sql; sql> source toto.sql;
LAUNCHING MYSQL AND LOADING SAMPLE DATABASE LAUNCHING MYSQL AND LOADING SAMPLE DATABASE
------------------------------------------- -------------------------------------------
......
...@@ -64,6 +64,9 @@ The main modification in this version is more independence from the ...@@ -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 autodetection of renderers and methods in server</li>
<li>Added menu of available alignments when possibles</li> <li>Added menu of available alignments when possibles</li>
<li>Added cut method in server</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>Suppressed all useless import and imprecise catch</li>
<li>Implemented an abstract notion of ontology cache</li> <li>Implemented an abstract notion of ontology cache</li>
<li>Suppressed "localhost" from local URL in README, tutorial and documentation</li> <li>Suppressed "localhost" from local URL in README, tutorial and documentation</li>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment