phpstudyÔõôװÖÃphpmyadmin
ÔÚ php study ÖÐ×°Öà phpmyadmin µÄÒªÁìÓÐÒÔÏ 4 ¸ö°ì·¨£ºÏÂÔز¢½âѹËõ phpmyadmin ѹËõÎļþµ½ php study ×°ÖÃĿ¼¡£ÖØÃüÃû config.sample.inc.php ÎļþΪ config.inc.php ²¢ÉèÖà mysql Óû§ÃûºÍÃÜÂë¡£ÔÚ php study Ö÷Ãæ°åÖÐÆôÓà phpmyadmin ЧÀÍ¡£»á¼û http://localhost/phpmyadmin/ url ²¢Ê¹ÓÃÉèÖõÄƾ֤µÇ¼¡£
ÔõÑùÔÚ PHP Study ÖÐ×°Öà PHPMyAdmin
°ì·¨ 1£ºÏÂÔØ PHPMyAdmin
»á¼û PHPMyAdmin ¹Ù·½ÍøÕ¾£ºhttps://www.phpmyadmin.net/
µ¥»÷¡°ÏÂÔØ¡±±êÇ©Ò³£¬È»ºóÑ¡ÔñËùÐèµÄ PHPMyAdmin °æ±¾¡£
½«ÏÂÔصÄѹËõÎļþ½âѹËõµ½ PHP Study ×°ÖÃĿ¼Ï£¬Í¨³£Îª C:\phpStudy¡£
°ì·¨ 2£ºÉèÖà PHPMyAdmin
ÔÚ½âѹËõºóµÄÎļþ¼ÐÖУ¬ÕÒµ½ config.sample.inc.php Îļþ¡£
½«¸ÃÎļþÖØÃüÃûΪ config.inc.php¡£
ʹÓÃÎı¾±à¼Æ÷·¿ª config.inc.php Îļþ£¬ÕÒµ½ÒÔϲ¿·Ö£º
$cfg['Servers'][$i]['auth_type'] = 'cookie'; $cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = ''; $cfg['Servers'][$i]['host'] = 'localhost';
µÇ¼ºó¸´ÖÆ
½« $cfg[‘Servers’][$i][‘user’] ÉèÖÃΪ MySQL Óû§Ãû£¬Ä¬ÈÏÇéÐÎÏÂΪ root¡£
½« $cfg[‘Servers’][$i][‘password’] ÉèÖÃΪ MySQL ÃÜÂë¡£
°ì·¨ 3£ºÆôÓà PHPMyAdmin
Á¬Ã¦Ñ§Ï°¡°PHPÃâ·ÑѧϰÌõ¼Ç£¨ÉîÈ룩¡±£»
ÔÚ PHP Study Ö÷Ãæ°åÖУ¬µ¥»÷¡°ÉèÖᱡ£
ÔÚ×ó²à±ßÀ¸ÖУ¬Ñ¡Ôñ¡°Web ЧÀÍ¡±¡£
Ñ¡ÖС°PHPMyAdmin¡±¸´Ñ¡¿ò¡£
µ¥»÷¡°È·¶¨¡±¡£
°ì·¨ 4£º×°ÖÃÍê³É
»á¼û http://localhost/phpmyadmin/ URL¡£
ʹÓÃÔÚ config.inc.php ÎļþÖÐÉèÖõÄÓû§ÃûºÍÃÜÂëµÇ¼¡£
×¢ÖØ£º
ÈôÊÇÊý¾Ý¿âδÔËÐУ¬ÇëÔÚ×°Öà PHPMyAdmin ֮ǰÆô¶¯ Apache ºÍ MySQL ЧÀÍ¡£
ÈôÊÇÓöµ½ÈκÎÎÊÌ⣬ÇëÉó²é PHPMyAdmin ¹Ù·½Îĵµ»òÔÚ PHP Study ÂÛ̳ÉÏ×·Çó×ÊÖú¡£
ÒÔÉϾÍÊÇphpstudyÔõôװÖÃphpmyadminµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡