added initial support for mysqli