1.เตรียมความพร้อมก่อน 2.download phpMyAdmin 3. run phpMyAdmin(index.php)ผ่าน Browser 2.download phpMyAdmin จาก http://www.phpMyAdmin.net ตัวที่ต้องการใช้ ในที่นี้ใช้ phpMyAdmin-2.5.4 ต้องดูด้วยว่าตัวที่โหลดมาใช้สนับสนุน(support) PHP&mysql-server เวอร์ชันที่ใช้อยู่หรือไม่ ให้เก็บ file ที่ โหลดมาไว้ใน document root (/var/www/html/ สำหรับ Fedora) จากนั้นจึงแตก file ด้วยคำสั่ง - Shell#> tar zxvf file-name.tar.gz |
![]() |
- จากนั้นเข้าไปแก้ config file config.inc.php - Shell#> vi /var/www/html/phpMyAdmin-2.5.4/config.inc.php |
![]() |
แก้ $cfg[PmaAbsoluteUri] ให้ตรงกับ ip หรือ domain name และ directory ที่เก็บ phpMyAdmin |
![]() |
ระบุประเภทการ authentication (แต่ละแบบดูเอาเองนะ ไม่ค่อยเข้าใจเหมือนกัน อิอิ ผมชอบกิน cookie) |
![]() |
ระบุ host,auth_type,user,password ให้ตรงกับข้อมูลที่อยู่ในฐานข้อมูล mysql table user |
![]() |
แสดงข้อมูลในฐานข้อมูล mysql table user
|
3. run phpMyAdmin(index.php)ผ่าน Browser |