Terminal based notes keeping app with mysql database