บทที่ 12 การจัดการฐานข้อมูล MySQL


ขั้นตอน
 การติดตั้ง PhpMyAdmin มีขั้นตอน ดังต่อไปนี้
12.1การติดตั้งโปรแกรมPhpMyAdmin
.การทำ download โปรแกรม PhpMyAdmin ได้ที่เว็บไซต์ http://www.phpmyadmin.net/



















เว็บไซต์ www.phpmyadmin.net











เวอร์ชั่นที่ทดสอบเป็น phpMyAdmin-2.7.0-pl2.zip
2. ทำการแตกไฟล์ด้วย WinRAR หรือ Winzip
3. เข้าไปในโฟลเดอร์ที่แตกมา ให้ทำการเปลี่ยนชื่อโฟลเดอร์







4. คัดลอกโฟลเดอร์ phpMyAdmin ไปไว้ในห้องเก็บเว็บไซต์ C:\Inetpub\wwwroot\
















5. เข้าไปในโฟลเดอร์  C:\Inetpub\wwwroot\phpMyAdmin 


















6 .ใช้ Editor 
 (อาจใช้ EditPlus หรือ Notepad) เข้าไปแก้ไขไฟล์ config.default.php
เปลี่ยนจาก (อยู่ประมาณบรรทัด 71)

$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
// with 'config' auth_type)
เป็น
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = 'รหัสผ่านมายเอสคิวแอล'; // MySQL password (only needed
// with 'config' auth_type)


7. ทดสอบเข้าใช้งาน
http://localhost/phpMyAdmin/หรือ
http://192.168.1.8/phpMyAdmin/ 























หน้าตาโปรแกรม PhpMyAdmin 

กรณีต้องการเปลี่ยนรายละเอียดเป็นภาษาไทย ให้คลิกภาษาที่ Language เป็น Thai (th-utf-8)



















 12.2 การใช้งานโปรแกรม PhpMyAdmin