BHL
Archive
This is a read-only archive of the BHL Staff Wiki as it appeared on Sept 21, 2018. This archive is searchable using the search box on the left, but the search may be limited in the results it can provide.

MySQL Configuration

MySQL is installed on the common service host bhl-mandible

Installation and maintenance is via apt-get

common tasks



bhladmin@bhl-mandible:~$ mysql -u root -p
mysql> create database `environment_component_toolname`;


bhladmin@bhl-mandible:~$ mysql -u root -p
mysql> grant all on `environment_component_toolname`.* to `bhletech`@`157.140.%`;

(note that mysql root password is the same as the bhletech user)


how to test if it's working



bhladmin@bhl-mandible:~$ mysql -u bhletech -p
mysql> show databases;


Configure to connect to the database service bhl-db1.nhm.ac.uk as the bhletech user and confirm the application connectivity.