#1 changed adapter, modified db connection(it cause Segmentation fault when compiling mysql2 with mingw)