PHP mysql_create_db() May 24, 2012 Pramod T P It creates a MySQL database Example <?php $conn = mysql_connect(‘localhost’, ‘root’, ‘passowrd’); mysql_query(“CREATE DATABASE database_name”, $conn) or die(“Failed”); ?>