<?php
require_once('skipif.inc');
require_once('skipifconnectfailure.inc');
+require_once("connect.inc");
+
+if (!$IS_MYSQLND)
+ die("skip mysqlnd only, libmysql does not know about open_basedir restrictions");
if (file_exists('./simple.csv') && !unlink('./simple.csv'))
die("skip Cannot remove previous CSV file");
fclose($fp);
@unlink('./simple.csv');
-require_once("connect.inc");
if ($socket == "" && $host != NULL && $host != 'localhost' && $host != '.') {
/* could be a remote TCP/IP connection. LOCAL INFILE may not work */
if (gethostbyaddr($host) != gethostname()) {