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 DBI object.
%args
is a hash with keys fordatabase
(database name),host
,port
,user
, andpass
.Returns a new DBI instance.
SEE ALSO
This file is part of Devel::Ladybug.