This section describes how to install MySQL, if you skipped the MySQL installation option during the interactive installation or used the silent installation.
Note:
When you install Zend Server for IBM i , you can use the full or custom installation types to choose to install phpMyAdmin and MySQL. Both phpMyAdmin and MySQL are installed on your local machine under the default location <install_dir>\phpMyAdmin and <install_dir>\MySQL.
A link to this phpMyAdmin installation is added in the Zend Server for IBM i Dashboard.
To begin MySQL Installation select Option 6 ‘MySQL Management menu ’ from the Send server Service menu (GO ZENDSVR/ZSMENU):
MySQL installation (optional) |
MySQL Installation Option
Press Enter to start the MySQL installation or F3 to skip MySQL installation.
Note:
You can install the MySQL database later using the Setup Tool.
To install MySQL following installation:
1. Open the Setup Tool by running the command go zendsvr/zcmenu in your i/OS emulator screen.
2. Select Option 6 - MySQL management menu.
3. You will be prompted to install the MySQL database.
Note: MySQL must be installed by QSECOFR.
If you pressed Enter and MySQL is already installed in the directory /usr/local/MySQL, the following prompt will appear:
MySQL installation (optional) |
MySQL already installed
If this prompt has appeared, MySQL is already installed. Press F3 to finish the installation.
If MySQL has not been previously installed, it will be installed now:
MySQL installation (optional) |
MySQL installation
A dialog will appear reminding you to set a password for the MySQL root user:
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! |
MySQL Instructions
In addition to the instructions in the dialog, the MySQL Daemon can later be stopped/started through the Setup Tool.
|
|
To start/stop your MySQL Deamon (after the MySQL installation):
go zendsvr/zsmenu
|
Press Enter to continue.
MySQL installation (optional) |
MySQL Installation Confirmation
A confirmation message will appear stating the location of your MySQL installation.
See the 'Testing your MySQL Connection using Zend Studio', section, below, for more on connecting to the MySQL database.
Press F3 to finish and exit the installation process.
If you installed MySQL, you can use Zend Studio in order to test your MySQL connection and access your database.
Note:
See http://www.zend.com/en/products/studio/for-i5os for more on Zend Studio for i/OS.
|
|
To test your MySQL connection:
|
See the Zend Studio for i/OS User Guide for more information.
Note:
To uninstall MySQL:
1. Stop the ZMYSQL subsystem
2. Delete ZMYSQL library
3. Remove the directory /usr/local/mysql-5.0.45-i5os-power-64bit
4. Remove the directory /usr/local//mysqldata
5. Remove the link /usr/local/mysql
6. Remove /etc/my
See http://dev.mysql.com/doc/refman/5.0/en/installation-i5os.html-(external link) for more information.
|
|
Related Links: Installing Zend Server for IBM i http://dev.mysql.com/doc/refman/5.0/en/installation-i5os.html |
|
|
|