Simplify and add MySQL, Postgresql and sqlite3 libs.