Metadata-Version: 1.1
Name: mysqlrocket
Version: 0.1.0
Summary: Simple CLI tool to create and delete easily MySQL databases.
Home-page: https://github.com/cypx/mysqlrocket
Author: Cyprien Devillez
Author-email: cyp@bidouille.info
License: GPL
Description: ***********************************************
        MYSQLROCKET  - Simple & fast MySQL manage tool 
        ***********************************************
        
        **MysqlRocket** is a Simple CLI tool to create and delete easily MySQL databases.
        
        |flattr|_
        
        usage: mysqlrocket [-h] [-v] [-u U] [-H H] [-p P] {bk,dp,mk,ls,rm,st} ...
        
        mysqlrocket commands are:
        
        * **bk**        Backup all databases on MySQL server
        * **dp**        Dump and gzip a MySQL database
        * **mk**        Create a MySQL database with an dedicated user and a random password
        * **ls**        Show databases on MySQL server
        * **rm**        Delete a MySQL database
        * **st**     	Check your mysqlrocket config and MySQL server connectivity
        
        Optional arguments:
        
        * **-h, --help**     show this help message and exit
        * **-v, --version**  Show program version.
        * **-u U**           mysql user
        * **-H H**           mysql host
        * **-p P**           mysql password
        
        See 'mysqlrocket <command> -h' for more information on a specific command.
        
        PyPI package `<http://pypi.python.org/pypi/mysqlrocket>`__ 
        
        Sources `<https://github.com/cypx/mysqlrocket>`__ 
        
        Installation
        ##############
        
        Install it easily:
        
        Using pip
        **************
        
        .. code-block:: bash
        
        	$ pip install mysqlrocket
        
        Using easy_install
        *********************
        
        On most Linux distribution 
        
        .. code-block:: bash
        
        	$ easy_install mysqlrocket
        
        But on some, prerequisites are required, for example, on Debian 6
        
        .. code-block:: bash
        
        	$ aptitude install python-pip python2.6-mysqldb
        
        (mysqldb could not be installed by easy_install cause of some system dependencies)
        
        Upgrade
        ##########
        
        Using pip
        **************
        
        .. code-block:: bash
        
        	$ pip --upgrade mysqlrocket
        
        Using easy_install
        *********************
        
        .. code-block:: bash
        
        	$ easy_install --upgrade mysqlrocket
        
        Examples
        ##########
        
        Create a new database
        *************************
        
        Create a new database whith an associated user account using the same name and a random password
        
        .. code-block:: bash
        
        	$ mysqlrocket mk DATABASE_NAME
        
        Create a new database whith an associated user account using the same name and force password
        
        .. code-block:: bash
        
        	$ mysqlrocket mk DATABASE_NAME -f DATABASE_PASSWORD
        
        Backup databases
        *************************
        
        Dump all databases avalaible on your server to the current directory
        
        .. code-block:: bash
        
        	$ mysqlrocket bk
        
        Dump database
        *************************
        
        Dump a databases to the current directory
        
        .. code-block:: bash
        
        	$ mysqlrocket dp DATABASE_NAME
        
        
        Show all databases
        *************************
        
        Show all databases avalaible on your server
        
        .. code-block:: bash
        
        	$ mysqlrocket ls
        
        Show all databases avalaible on your server and some information (tables number, size...)
        
        .. code-block:: bash
        
        	$ mysqlrocket ls -a
        
        Remove a database
        *************************
        
        Remove a database and all user account with the same name if they exist
        
        .. code-block:: bash
        
        	$ mysqlrocket rm DATABASE_NAME
        
        
        Check mysqlrocket configuration
        ************************************
        
        Check your mysqlrocket config file and MySQL server connectivity
        
        .. code-block:: bash
        
        	$ mysqlrocket st
        
        
        
        
        .. |flattr| image:: http://api.flattr.com/button/flattr-badge-large.png
         :alt: Flattr this git repo
        .. _flattr: https://flattr.com/submit/auto?user_id=cypx&url=https://github.com/cypx/mysqlrocket&title=mysqlrocket&language=&tags=github&category=software
        
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: License :: OSI Approved
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Database
Classifier: Topic :: Utilities
Classifier: Development Status :: 4 - Beta
