Get MySQL database from popular CMS such as Wordpress, Drupal etc.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
inc
LICENSE
README.md
composer.json
get_create_my_cnf.php
get_create_mysql_db.php
get_drop_mysql_db.php

README.md

get_mysql_db_php_from_cms

Possible usage for: DevOps automation, backups sripting and much more.

Get create MySQL database(s) & user(s) SQL script from popular CMS such as Wordpress, Drupal, Joomla!, Magento, Yii2 Framework both advanced & basic application templates.

Please, let me know If you want to add some more missing CMS and Frameworks written on PHP.

Usage:

$ php get_create_mysql_db.php /home/taras/public_html

Get drop MySQL database(s) & user(s) SQL script.

Usage:

$ php get_drop_mysql_db.php /home/taras/public_html

Generate .my.cnf configuration file from MySQL settings to use instead of credentials.

Usage:

$ php get_create_my_cnf.php /home/taras/public_html