Scroll to navigation

DBIx::Class::Migration::Script::Help::dsn(3) User Contributed Perl Documentation DBIx::Class::Migration::Script::Help::dsn(3)

NAME

DBIx::Class::Migration::Script::Help::dsn - the dsn for a database you are connecting to

SYNOPSIS

    dbic-migration install --username myuser --password mypass --dsn DBI:SQLite:mydb.db

DESCRIPTION

String that represents a valid dsn as defined in DBI.

This should be the "dsn" for the database we connect to for deploying ddl, ddl changes and fixtures. Uasually used with the "user" and "password" options for when you are running in an enviroment above development and you are no longer using a developer level database sandbox.

When required you can also populate this option with the %ENV variables

    DBIC_MIGRATION_TARGET_USERNAME
    DBIC_MIGRATION_TARGET_PASSWORD
    DBIC_MIGRATION_TARGET_DSN

SEE ALSO

DBIx::Class::Migration, DBIx::Class::Migration::Script, DBIx::Class::Migration::Features, DBIx::Class::Migration::Tutorial

AUTHOR

See DBIx::Class::Migration for author information

COPYRIGHT & LICENSE

See DBIx::Class::Migration for copyright and license information

2020-06-03 perl v5.38.2