Revert "Using mysqli now"

This reverts commit 370cd8ad48b860c4285ffbbdb55cf89f23193c50.