how do I import an sql file over a php script?
I tried it with this code, but it doesn't work!
nothing happens, just the Database is created!
$link = mysql_connect("$db_hostname");
if (! $link)
die("Couldn't connect to MySQL");
mysql_create_db("$db_default");
mysql_close($link);
mysql_query("mysql -u'$db_username -p $db_password $db_default < install.sql");