Alex Efros > Narada > narada-setup-mysql

Download:
Narada-v1.4.5.tar.gz

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

narada-setup-mysql - initialize project database

VERSION ^

This document describes narada-setup-mysql version v1.4.5

USAGE ^

    narada-setup-mysql [--clean]

DESCRIPTION ^

Initialize/drop your Narada project's MySQL database.

If "config/db/db" absent or empty do nothing.

When executed without params will create database (if needed) and load sql dumps into database (if var/sql/db.scheme.sql exist).

When executed with --clean option will drop project's database with all tables.

Script must be executed only from "project root directory".

CONFIGURATION AND ENVIRONMENT ^

narada-setup-mysql use these configuration files:

    config/db/db
    config/db/login
    config/db/pass
    config/db/host
    config/db/port

Database initialized using these files (db.scheme.sql must exist and will be loaded first, other files will be loaded in undefined order):

    var/sql/db.scheme.sql
    var/sql/*.sql

SUPPORT ^

Bugs / Feature Requests

Please report any bugs or feature requests through the issue tracker at https://github.com/powerman/Narada/issues. You will be notified automatically of any progress on your issue.

Source Code

This is open source software. The code repository is available for public review and contribution under the terms of the license. Feel free to fork the repository and submit pull requests.

https://github.com/powerman/Narada

    git clone https://github.com/powerman/Narada.git

Resources

AUTHOR ^

Alex Efros <powerman@cpan.org>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2008-2015 by Alex Efros <powerman@cpan.org>.

This is free software, licensed under:

  The MIT (X11) License
syntax highlighting: