NAME

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

DESCRIPTION

Enables the MySQL/InnoDB backing store.

If using MySQL, you must create and grant access to your application's database and the "ladybug" database, for the user specified in your ladybugrc. If there is no ladybugrc, a default username of "ladybug" with empty password will be used for credentials. See Devel::Ladybug::Constants.

# mysql -u root -p
mysql> create database "ladybug";
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.