Bash Script: Create MySQL Database & User with Optional Password

I have been using DigitalOcean for my personal projects. And one repeated things that I had to do is the creation of MySQL database & user. I know I could have used some CPanel like GUIs and even some of them came to my mind like VestaCP, Ajenti, ServerPilot, etc. But all come with sort …

Read moreBash Script: Create MySQL Database & User with Optional Password

Configure your Bash Shell for Magento 2 CLI Commands

One of the major improvement in Magento 2 is the introduction of CLI commands based on Symfony Console Component. CLI commands can perform multiple tasks. Some of them are: Installing Magento (and related tasks such as creating or updating the database schema, creating the deployment configuration, and so on) Clearing the cache Managing indexes, including …

Read moreConfigure your Bash Shell for Magento 2 CLI Commands

Run Magento database repair tool from CLI using Ruby’s Mechanize

Shell Scripting which is great for task automation, falls short when it comes to web browser automation. In the case of Magento, using Shell script you can do many operations like Installation, Migration, Deployment, Backup, etc. & even more. But when it comes to run the Database Repair Tool(a great tool for repairing Magento database …

Read moreRun Magento database repair tool from CLI using Ruby’s Mechanize

Backup Magento project files / DB using the bash script

I have googled for the bash script to backup Magento sites/DB but none of them worked for me the way I wanted. So I decided to create a custom bash script which is simple and does the job perfectly. I have developed the script for my own need. But I thought it would be helpful …

Read moreBackup Magento project files / DB using the bash script