Add curl_setopt_array to createDatabase