Changes between Initial Version and Version 1 of DatabasePermissions


Ignore:
Timestamp:
2009-08-23T14:53:56+02:00 (15 years ago)
Author:
Morris Swertz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DatabasePermissions

    v1 v1  
     1= To use MOLGENIS you need proper permissions
     2
     3== MySQL ==
     4
     5In the MolgenisProperties file you need to set database parameters
     6
     7{{{
     8#!CodeExample
     9#!sql
     10db_driver = com.mysql.jdbc.Driver
     11#your username here
     12db_user = molgenis
     13#your password her
     14db_password = molgenis
     15#the url has pattern jdbc:mysql://<yourserver>/<yourdatabase>
     16db_uri= jdbc:mysql://localhost/molgenis?innodb_autoinc_lock_mode=2
     17}}}
     18
     19Subsequently you need to give proper permissions to this user. Open the mysql client and type:
     20
     21grant all privileges on yourdatabase.* to youruse@yourtomcatserver identified by 'yourpassword';
     22flush privileges;
     23
     24For the default user this is:
     25
     26grant all privileges on molgenis.* to molgenis@localhost identified by 'molgenis';
     27flush privileges;