add database script for mysql