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