I was running an example from a mysqli tutorial.
$mysqli = new mysqli(\"localhost\", \"user\", \"password\", \"database\"); if($mysqli->connect_errno) { ech
try something like this
$mysqli = new mysqli("localhost", "user", "password");
in this way you are connected to database
and put this query using mysqli Create Database database1
mysqli
Create Database database1