【openwrt源码地址】【源码猫分享】【ob流程源码】mya源码
1.linuxä¸å®è£
phpMyAdmin
linuxä¸å®è£ phpMyAdmin
openwrt源码地址 phpMyAdminæ¯ä¸ç§åºäºWebçå è´¹MySQL管çå·¥å ·ãphpMyAdminæ¯ç¨PHPç¼åçï¼å æ¤åªææ¯æPHPçæå¡å¨æè½ä½¿ç¨phpMyAdminãphpMyAdmiè½å¤éè¿æµè§å¨å®æå ä¹ææçSQLæä½ãå ¶å®è£ æ¥éª¤å¦ä¸ï¼openwrt源码地址ï¼1ï¼ä¸è½½æºç ï¼/project/phpmyadmin/phpMyAdmin/3.5.1/phpMyAdmin-3.5.1-all-languages.tar.gzï¼å½åï¼-5-8ï¼ææ°çæ¬ä¸º3.5.1ã
openwrt源码地址ï¼2ï¼è§£åå°Webæå¡å¨çæä»¶æ ¹ç®å½ï¼å³/usr/local/apache2/htdocsã
openwrt源码地址#tar -zxvf phpMyAdmin-3.5.1-all-languages.tar.gz -C /usr/local/apache2/htdocs
openwrt源码地址ï¼3ï¼å°å®è£ ç®å½éå½å为phpMyAdminã
openwrt源码地址#mv /usr/local/apache2/htdocs/phpMyAdmin-3.5.1-all-languages /usr/local/apache2/htdocs/phpMyAdmin
openwrt源码地址è¿å ¥ç®å½/usr/local/apache2/htdocs/phpMyAdmin/librariesï¼æ¥çé ç½®æ件config.default.phpã
openwrt源码地址#cd /usr/local/apache2/htdocs/phpMyAdmin/libraries/
openwrt源码地址#vi config.default.php
openwrt源码地址openwrt源码地址
ä¿®æ¹é ç½®æ件config.default.php
openwrt源码地址$cfg['Servers'][$i]['host'] = 'localhost';
openwrt源码地址æå®MySQLæå¡å¨æå¨ç主æºåï¼é常ç¨é»è®¤å¼ã
openwrt源码地址$cfg['Servers'][$i]['port'] = '';
openwrt源码地址æå®MySQLççå¬ç«¯å£ï¼ä¿æ空ç½å表示使ç¨é»è®¤ç«¯å£ã
openwrt源码地址$cfg['Servers'][$i]['auth_type'] = 'config';
openwrt源码地址æå®è®¤è¯æ¹æ³ãå¨æ¬æºè°è¯æ¶ç¨configãå¦æå¨ç½ä¸è°è¯ï¼ä½¿ç¨cookieã
openwrt源码地址$cfg['blowfish_secret'] = 'php';
openwrt源码地址æå®ç¨äºcookie认è¯çä¿¡æ¯ï¼å¯ä»¥æ¯ä»»ä½å符串ã
openwrt源码地址$cfg['Servers'][$i]['user'] = 'root';
openwrt源码地址æå®MySQL管çè çå¸å·ã
openwrt源码地址$cfg['Servers'][$i]['password'] = 'rootpass';
openwrt源码地址æå®MySQLrootå¸æ·çå¯ç ã
openwrt源码地址ï¼4ï¼æµè¯ãå¼å¯æµè§å¨ï¼è¾å ¥http://localhost/phpMyAdmin/ãå¦æå°$cfg['Servers'][$i]['auth_type']设置为âcookieâï¼å°±ä¼åºç°å¾1æ示çç»å½çé¢ãå¦æ设置为âconfigâæè æåç»å½åå°±è½è¿å ¥phpMyAdminç主页é¢ï¼å¾2ï¼ã
openwrt源码地址openwrt源码地址