save sql history, add a sql connect func
git ignore sql/
disable debug.