Alex Efros > Narada > narada-setup-mysql

Download:
Narada-v2.2.0.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 v2.2.0

USAGE ^

    narada-setup-mysql [--clean]

DESCRIPTION ^

Should be executed in project deploy directory (or Narada 1.x project root directory).

Initialize/drop your Narada project's MySQL database.

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

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

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

CONFIGURATION AND ENVIRONMENT ^

    config/mysql/db
    config/mysql/login
    config/mysql/pass
    config/mysql/host
    config/mysql/port
    var/mysql/db.scheme.sql
    var/mysql/*.sql
    var/use/mysql

Narada 1.x project use config/db/ instead of config/mysql/, and var/sql/ instead of var/mysql/.

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: