Welcome to Ubuntu-MM Q&A, Ubuntu Linux ႏွင့္ ပတ္သက္သမွ် သိခ်င္တာ ေမးပါ။ မေမးခင္ ေမးၿပီးသား ရွိမရွိ ရွာပါ။ အေမးရွိၿပီး အေျဖမရွိေသးပါက ေမးခြန္းကို Vote ေပးခဲ့ပါ။

Categories

1 like 0 dislike
lampp မွာ localhost/phpmyadmin ကုိ ဝင္ဖုိ႔ေခၚရင္ Connection for controluser as defined in your configuration failed ဆုိတဲ့ Error ေပၚလာပါတယ္။

chmod 755 config.inc.php ဆုိပီးေတာ့လည္း ရွာၾကံႀကိဳးစားၾကည့္ပါတယ္။ အဆင္မေျပပါ။ ကူညီၾကပါ။ ကူညီၾကပါ။
asked in Server by (380 points)

1 Answer

0 like 0 dislike
$cfg['Servers'][$i]['host'] = 'localhost';
ဆိုတာေလး ျပင္ၾကည့္ေပးပါ ပိတ္ထားရင္ ဖြင့္လိုက္ပါ။
127.0.0.1 နဲ႔ Localhost အလုပ္မလုပ္တာပါ။
answered by (4.1k points)
$cfg['Servers'][$i]['host'] = 'localhost'; ဒီအတုိင္းရိွပီးသားပါခင္ဗ်ာ။ မပိတ္ထားပါဘူး။
$cfg['Servers'][$i]['verbose'] = 'mysql wampserver';
//uncomment this
$cfg['Servers'][$i]['auth_type'] = 'cookie';
//comment this
//$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysql if your server does not have mysqli */
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
/*
 * phpMyAdmin configuration storage settings.
 */

/* User used to manipulate with storage */
// $cfg['Servers'][$i]['controlhost'] = '';
// $cfg['Servers'][$i]['controlport'] = '';
$cfg['Servers'][$i]['controluser'] = '$dbuser';
$cfg['Servers'][$i]['controlpass'] = '$dbpass';

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Nov 11, 2016 in Graphics by sawphyothu (120 points)
...