Integration: Relational Databases

MySQL

Overview | Environments | Databases | Tables | Constraints | Datatypes | Queries | Updates | Example


Databases

The CREATE DATABASE statement is used to declare a MySQL database within an Omnidex Environment File. This statement can either be issued directly, or it can be extracted from MySQL using the EXTRACT statement as discussed in the previous section.

The CREATE DATABASE statement must include the DSN or File DSN that identifies the MySQL database, as well as the MySQL user and password. It is recommended to use a System DSN, rather than a User DSN, so that the DSN will be accessible across all users and from the Omnidex Network Services. Note that the database type is ODBC, with a subtype of MYSQL, reflecting that ODBC is the primary method of accessing a MySQL database.

create database                "SIMPLE"
 type                          odbc
 subtype                       mysql
 dsn                           "simple"
 user                          "simple"
 password                      "simple"
 index_directory               "idx"
 in                            "simple.xml";

MySQL Security

Omnidex provides three methods of supporting MySQL security.

One of these approaches must be used to allow connections to the MySQL database. Administrators should insure that the user and password provides access to all of the database objects referenced in the Omnidex Environment Files.

Prev | Next

Additional Resources

See also: