Man pages sections > man3 > DBIx::DataSource::mysql

DBIx::DataSource::mysql - MySQL driver for DBIx::DataSource

DataSource::mysql(3pm) User Contributed Perl Documentation DataSource::mysql(3pm)

NAME

DBIx::DataSource::mysql - MySQL driver for DBIx::DataSource

SYNOPSIS

  use DBIx::DataSource;
  use DBIx::DataSource qw( create_database drop_database );
  create_database( "dbi:mysql:$database", $username, $password )
    or warn $DBIx::DataSource::errstr;
  create_database( "dbi:mysql:database=$database;host=$hostname;port=$port",
                   $username, $password )
    or warn $DBIx::DataSource::errstr;
  drop_database( "dbi:mysql:$database", $username, $password )
    or warn $DBIx::DataSource::errstr;
  drop_database( "dbi:mysql:database=$database;host=$hostname;port=$port",
                  $username, $password )
    or warn $DBIx::DataSource::errstr;

DESCRIPTION

This is the MySQL driver for DBIx::DataSource.

AUTHOR

Ivan Kohler <ivan-dbix-datasource@420.am> Copyright (c) 2000 Ivan Kohler Copyright (c) 2000 Mail Abuse Prevention System LLC All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

BUGS

SEE ALSO

DBIx::DataSource::Driver, DBIx::DataSource, DBD::mysql, DBI
2000-09-25 perl v5.14.2