Before you install the server, install the MySQL database
and provide the JDBC JAR file for the installation process.
Before you begin
Before you install the
IBM® UrbanCode™
Build server,
install MySQL. If you are evaluating
IBM UrbanCode
Build, you can
install the database on the same computer as the
IBM UrbanCode
Build server.
For example, the command to install MySQL on a Linux system is similar to this following
code:
yum install mysql mysql-server
When you install IBM UrbanCode
Build, you must
have the MySQL connection information, and a user account with table creation privileges.
Procedure
- Log in to the MySQL command line interface. The command might look like the following
example:
mysql -u username -ppassword
For
username, specify the user name for MySQL. The default user name
is root. For password, specify the password for
that user name. The default account has no password; in this case, omit the -p flag
and the password. There is no space between the -p flag and the password.
- Create a database. The following commands are an example of to create this database:
CREATE USER 'ibm_ucb'@'localhost' IDENTIFIED BY 'password';
CREATE DATABASE ibm_ucb;
GRANT ALL ON ibm_ucb.* TO 'ibm_ucb'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;
- Log out of the MySQL command line interface.
- Obtain the MySQL JDBC driver. The JDBC JAR file is included with the installation files. The driver is unique to the edition
that you use.
- Copy the JDBC JAR file to the
installer_directory\lib\ext directory.
- Begin to install the server. See Installing the server in interactive mode. When you are prompted for the
database type, enter mysql.
- Provide the JDBC driver class that IBM UrbanCode
Build uses to
connect to the database. The default value is com.mysql.jdbc.Driver.
- Next, provide the JDBC connection string. Typically, the string is similar to the following code:
jdbc:mysql://DB_URL:DB_PORT/DB_NAME
This
example shows a connection string:
jdbc:mysql://localhost:3306/ibm_ucb
- Finish by entering the database user name and password.