MAN page from OpenSuSE perl-OpenXPKI-Core-0.9.1389-6.362.CS.i586.rpm
OpenXPKI::Server::DBI::Driver::MySQL
Section: User Contributed Perl Documentation (3)
Updated: 2008-09-30
Index Name
OpenXPKI::Server::DBI::Driver::MySQL
Description
This is the MySQL driver for OpenXPKI's database interface. Itimplements all MySQL specific stuff.
Driver specific stuff
BIGINT and
NUMERIC are
"numeric (49)".
MySQL does not support sequence generators. Therefore we use the autoincrement feature for unique IDs in tables.This driver uses InnoDB by default.
Functions
get_dsn
MySQL uses
NAME,
PORT and
HOST.
NAME is required. The otherparameters are optional. mysql_ssl is switched off.
get_new_serial
MySQL does not support sequence generators. We use the autoincrement featureto emulate this. Sequence generators are implemented as tables.
sequence_exists
We try to detect an already existing squence by selecting the maximuminserted serial from the relating table.
create_sequence
creates a new table for the sequence emulation.
drop_sequence
deletes table for the sequence emulation. Must be called with
MODE setto
FORCE.
Index
- Name
- Description
- Driver specific stuff
- Functions
- get_dsn
- get_new_serial
- sequence_exists
- create_sequence
- drop_sequence
This document was created byman2html,using the manual pages.