ไม่งั้น ขึ้นเออเรอแบบรำคาญตายชักเลย
เบื่อออออ
อืมมม ฐานข้อมุล phpmyadmin เนี่ย ต้องช้ายสคริป create_tabels.sql จาก /usr/local/www/phpMyAdmin/scripts มาสร้างเอาน่ะ เสร็จแล้วก็ ชัดดาว แล้วก็ รีสต้าต หนเดียวพอ
เนี่ย ข้างล่างเนี่ย config.inc.php อันที่ แสงดี ก็ปรับเอาเองน่ะ
<?php
/* $FreeBSD: ports/databases/phpmyadmin/files/config.inc.php.sample,v 1.4 2010/03/08 23:24:47 miwi Exp $
*
* Skeleton configuration file -- this file is empty on a fresh
* installaton of phpmyadmin.
*
* Copy any settings you want to override from
* libraries/config.default.php or visit /phpmyadmin/setup/ to generate a
* basic configuration file
*
*/
$cfg['Servers'] = array();
$i = 1;
$cfg['ServerDefault'] = 1;
$cfg['blowfish_secret'] = 'sashimi tempura daizuki desu';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'troo';
$cfg['Servers'][$i]['password'] = 'กูเต้นถาก';
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
$cfg['Servers'][$i]['history'] = 'pma_history';
$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
$cfg['Servers'][$i]['tracking'] = 'pma_tracking';
?>
/* $FreeBSD: ports/databases/phpmyadmin/files/config.inc.php.sample,v 1.4 2010/03/08 23:24:47 miwi Exp $
*
* Skeleton configuration file -- this file is empty on a fresh
* installaton of phpmyadmin.
*
* Copy any settings you want to override from
* libraries/config.default.php or visit /phpmyadmin/setup/ to generate a
* basic configuration file
*
*/
$cfg['Servers'] = array();
$i = 1;
$cfg['ServerDefault'] = 1;
$cfg['blowfish_secret'] = 'sashimi tempura daizuki desu';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'troo';
$cfg['Servers'][$i]['password'] = 'กูเต้นถาก';
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
$cfg['Servers'][$i]['history'] = 'pma_history';
$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
$cfg['Servers'][$i]['tracking'] = 'pma_tracking';
?>
# mysql -u root -p mysql < /usr/local/www/phpMyAdmin/scripts/create_tables.sql๛
No comments:
Post a Comment