From 9ef6e3637ac086d29e8cd86bb856ecd4889001a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Euzenat?= <Jerome.Euzenat@inria.fr> Date: Tue, 24 Oct 2006 14:45:00 +0000 Subject: [PATCH] - added database creation instructions --- .../inrialpes/exmo/align/service/dbschema.sql | 29 ++++++++++++++++--- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/src/fr/inrialpes/exmo/align/service/dbschema.sql b/src/fr/inrialpes/exmo/align/service/dbschema.sql index d7accac4..9c318529 100644 --- a/src/fr/inrialpes/exmo/align/service/dbschema.sql +++ b/src/fr/inrialpes/exmo/align/service/dbschema.sql @@ -1,7 +1,28 @@ +# +# Create the database. If you change any value here, report +# the changes in the DBInfo.php file. +# + +CREATE DATABASE AServDB; + +# +# Create a MySQL user. Change 'localhost' to the name of the server +# that hosts MySQL. +# + +GRANT ALL PRIVILEGES ON AServDB.* TO adminAServ@localhost + IDENTIFIED BY 'aaa345'; + +# +# Create a MySQL user with restricted right for SQL queries +# + +GRANT select ON AServ.* TO alignserver@localhost IDENTIFIED BY 'adf342'; + // alignment info create table alignment ( - id varchar(50), + id varchar(100), owlontology1 varchar(100), owlontology2 varchar(100), type varchar(5), @@ -15,7 +36,7 @@ create table alignment ( // cell info create table cell( - id varchar(50), + id varchar(100), cell_id varchar(20), uri1 varchar(100), uri2 varchar(100), @@ -27,6 +48,6 @@ create table cell( // cell method create table method( - id varchar(50), + id varchar(100), tag varchar(20), - extension varchar(100)); \ No newline at end of file + extension varchar(100)); -- GitLab