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