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_db_query("mysql","select * from user where User=\"".$cfgServer['user']."\"",$dbh);
$result_usr=mysql_fetch_array($rs_usr);
$rs_db=mysql_db_query("mysql","select * from 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;
} elseif(!empty($result_db) && $result_db['Create_priv']=='Y') {
$CREATE=TRUE;
} else {
$CREATE=FALSE;
}
if($CREATE) {
?>
-
- ">
- ">
- ">
-
-
-
- ">
- ">
- ">
-
-
new (but still unofficial) phpMyAdmin-Homepage (sourceforge)
[ ChangeLog ]
-
Official phpMyAdmin-Homepage
-
phpMyAdmin
-
[ ]