This collection of MySQL scripts includes the following BASH tools.
The script will create a backup of the current WordPress directory files & database. When this is complete a prompt will appear to check the version, run a core replace for the WordPress, and enable a db repair at next login via wp-config.php.
Valid wp-config.php database information required with adequate SQL priveleges.
wp-cli alternative support intented in future releases.
The wpermadb script will scan the wp-config.php present in the current directory, login, and upon receiving URLs, run a find and replace. Eventually will be appended with wp-cli alternatives.
The drop import script will drop all tables upon receiving a database name, user, and password - then import a new sql database.
Works best if database is .sql format and located in present directory.