Skip Navigation Links
Exit Print View
| Oracle Solaris Cluster Data Service for MySQL Guide Oracle Solaris Cluster 4.1

Search Scope:

- This Document
- Entire Library

## Verifying the Installation and Configuration of MySQL

This section contains the procedure you need to verify the installation and configuration.

## How to Verify the Installation and Configuration of MySQL

This procedure does not verify that your application is highly available because you have not yet installed your data service.

Note - Before verifying the installation and configuration of MySQL, ensure that the logical hostname for the MySQL is available. You will need to complete the appropriate registration and configuration procedure in this document according to your zone type.

1. (Optional) Log in to your target zone.

       # zlogin mysql-zone

2. Start the MySQL Server for this instance.

       #cd MySQL-Base-directory

       # ./bin/mysqld --defaults-file=MySQL-Database-directory/my.cnf \
       --basedir=MySQL-Base-directory \
       --datadir=MySQL-Database-directory \
       --user=mysql
       --pid-file=MySQL-Database-directory/mysqld.pid &

3. Connect to the MySQL instance.

       # MySQL-Base-directory/bin/mysql -S /tmp/Logical-host.sock -uroot

4. Stop the MySQL server instance.

       # kill -TERM `cat MySQL-Database-directory/mysqld.pid

5. (Optional) Leave the target zone.

Copyright © 2000, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |