Next Topic

Previous Topic

Book Contents

Can I use a different TCP port for MySQL? (Unix)

In order to change the port used by the aggregated database (MySQL), complete the installation of Traverse and then do the following steps:

Windows

  1. Stop Traverse if it is already running using the controller.
  2. Edit <TRAVERSE_HOME>\etc\my.ini and change the port number specified by port=nnnn entries. There should be two such entries and you should specify the same value for both.
  3. Edit the configuration file TRAVERSE_HOME\etc\emerald.xml and locate the following section:

    <dge vendor="mysql"

    port="nnnn"

    [...]

    Change the value of the port parameter to the new port number entered in my.ini above.

  4. Restart Traverse.

UNIX

  1. Stop Traverse if it is already running using TRAVERSE_HOME/etc/traverse.init.
  2. Edit the configuration file <TRAVERSE_HOME>/etc/mysql.conf and change the port number specified by port=nnnn entries. There should be two such entries, and you should specify the same value for both.
  3. Edit TRAVERSE_HOME/etc/emerald.xml and locate the following section:

    <dge vendor="mysql"

    port="nnnn"

    [...]

    Change the value of the port parameter to the new port number entered in mysql.conf above.

  4. Edit TRAVERSE_HOME/etc/emerald.env and locate the following section:

    MYSQL_PORT="nnnn"

    Change the value to the new port number entered in mysql.conf.

  5. Restart Traverse.