0) && isset($mode) && ($mode == "reload"))
{
$result = mysql_query("FLUSH PRIVILEGES");
if ($result != 0) {
echo "
$strMySQLReloaded";
} else {
echo "
$strReloadFailed";
}
}
?>
1)
{
echo "- ";
echo '';
}
if($server > 0) {
// Don't display server-related links if $server==0 (no server selected)
if(empty($cfgServer['only_db'])) {
if($cfgServer['adv_auth'])
{
if (empty($cfgServer['port'])) {
$dbh = mysql_connect($cfgServer['host'],$cfgServer['stduser'],$cfgServer['stdpass']);
} else {
$dbh = mysql_connect($cfgServer['host'].":".$cfgServer['port'],$cfgServer['stduser'],$cfgServer['stdpass']);
}
$rs_usr=mysql_query("select * from mysql.user where User=\"".$cfgServer['user']."\"",$dbh);
$result_usr=mysql_fetch_array($rs_usr);
$rs_db=mysql_query("select * from mysql.db where User=\"".$cfgServer['user']."\"",$dbh);
if(mysql_num_rows($rs_db)>0) {
$result_db=mysql_fetch_array($rs_db);
}
if($result_usr['Create_priv']=='Y') {
$CREATE=TRUE;
// BEGIN
// 2001-05-04, Lem9: The create_priv on a single database does not allow
// to create a database
// } elseif(!empty($result_db) && $result_db['Create_priv']=='Y') {
// $CREATE=TRUE;
// END
} else {
$CREATE=FALSE;
}
if($CREATE) {
?>
-
- &display=simple">
- &display=simple">
- &display=simple">
-
";
echo "$strUsers ";
print show_docu("manual_Privilege_system.html#Privilege_system");
}
?>
-
-
- ">
- ">
- ">
-
-
(sourceforge)
[ ChangeLog ]
-
-
phpMyAdmin
-
[ ]