9tumOnline :: View topic - การ set ให้ phpmyadmin เรียก password

การ set ให้ phpmyadmin เรียก password

   

 

9tumOnline Forum Index -> Webmaster & Developer Talk -> Web programming

 

9tum
Posts: 627
16609 Gil
Site Admin
Site Admin

PostPosted: Sat Jul 09, 2005 5:45 am
View user's profile Send private message Send e-mail Visit poster's website Reply with quote

Quote:
ใน PHPMyAdmin. เปิด "config.inc.php"

จาก


$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';


เปลี่ยนเป็น

$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'รหัสที่เราตั้ง';

การตั้ง รหัสไหม่ของ root ทำตามรูป



จากรูปรหัสที่ตั้ง คือ geheim ส่วนเราต้องการให้เป็นอะไรก็ แก้ไขเอา


ต่อไป ตั้งค่าให้เรียก ให้ กรอก password ก่อนใช้งาน phpmyadmin

แก้ไขที่ file "config.inc.php" ในส่วนของ 'auth_type'
ดังนี้

$cfg['Servers'][$i]['auth_type'] = 'config'; <=== เปลี่ยนเป็น http
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'รหัสที่เราตั้ง';

จากนั้น ลอง เรียก phpmyadmin ดู



 


____________

1
Post new topic   Reply to topic

บุคคลที่กำลัง ดูหัวข้อนี้:0 Registered, 0 Hidden and 0 Guests
สมาชิก : None

.: 9tum.com by: นายตั้ม :. E-mail : 9tum@9tum.com , MSN : 9tum@9tum.com