NAME

Devel::Ladybug::Persistence::MySQL - Vendor-specific overrides for MySQL/InnoDB

DESCRIPTION

Enables the MySQL/InnoDB backing store.

When using MySQL, you must create and grant access to your application's database and the "op" database prior to use.

# mysql -u root -p
mysql> create database "op";
mysql> grant all on op.* to <username>@<hostname>;

mysql> create database "yourapp";
mysql> grant all on yourapp.* to <username>@<hostname>;

FUNCTION

  • connect(%args)

    Constructor for a MySQL GlobalDBI object.

    %args is a hash with keys for database (database name), host, port, user, and pass.

    Returns a new GlobalDBI instance.

SEE ALSO

GlobalDBI, DBI, DBD::mysql

Devel::Ladybug::Persistence

This file is part of Devel::Ladybug.