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