Friday, February 20, 2015

Creating Users and Databases

It is tedious to create database. Well, not really hard, just annoying.

While 3 lines of code to create database, create user and grant user privileges to the database are not hard to write, one needs to remember correct syntax and to place same text 2-3 times.

To mitigate this issue, I created a tiny template to help me with it. It is available at:

Or embedded here for your convenience: