Hi,
Ich würde gern euch Fragen ob mein Php Script funktionieren würde.
< Anfänger :P
Das 'Y' hab ich in dem Moment nur c&p
Ich würde gern euch Fragen ob mein Php Script funktionieren würde.
< Anfänger :P
PHP Code:
<?php
$con = mysql_connect("x","x","x");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("x", $con);
mysql_query("INSERT INTO user (Host, User, Password, Select_priv, Insert_priv, Update_priv, Delete_priv, Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv, File_priv, Grant_priv, References_priv, Index_priv, Alter_priv, Show_db_priv, Super_priv, Create_tmp_table_priv, Lock_tables_priv, Execute_priv)
VALUES ('127.0.0.1', 'Admin', 'Passwort', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y')");
mysql_close($con);
?>