The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.