Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

²úÆ· °²×°ÖÐµÄ MySql ÂÌ»¯½Ì³Ì

    ×î½üÊÕµ½·´À¡£¬ºÜ¶à¿Í»§Á¬MySql¶¼ÎÞ·¨ÕýÈ·°²×°¡£ÊÕµ½ÈÎÎñ£¬Òª½«MySql´òµ½²úÆ·ÖУ¬ºÍ²úÆ·Ò»Æð°²×°ºÍжÔØ£¬À­¿ª¼Ü
ʽ¸É°É£¬Ã»·¨×Ó¡£
    Ñо¿Ò»Õ󣬷¢ÏÖ½«°²×°ºÃµÄMySqlÎļþ¼ÐCopyµ½ÆäËüµçÄÔÉÏ£¬ÔÙ½â¾öºÃÁ½¸öÎÊÌâÓ¦¸Ã¾Í¿ÉÒԺͰ²×°°æÒ»ÑùÕý³£Ê¹Óá£
1.Copyµ½ÁËÆäËüµçÄÔÉϵIJ»Í¬Ä¿Â¼£¬Ó¦¸ü¸ÄMysqlµÄÅäÖÃ.
2.½«MySql×¢²á³ÉwindowsµÄϵͳ·þÎñ.
    ÏÂÃ棬¾ÍÈÃÎÒ˵һÏÂÎÊÌâµÄ½â¾ö֮·
1.¾­Ñо¿ÖªµÀ£¬MysqlµÄ±¾µØ·¾¶ÅäÖÃÐÅÏ¢ÊÇ´æÔÚmy.iniÎļþϵġ£ÔÚmy.iniÖеÄ[mysqld]·¢ÏÖbasedir="C:/Program Files/MySQL/MySQL Server 5.0"¼°datadir="C:/Program Files/MySQL/MySQL Server 5.0/Data/",È·¶¨Õâ¾ÍÊÇ
°²×°Ö®ºóÒª¸ü¸ÄµÄµØ·½¡£
2.¾­¹ý¶à´ÎʵÑ飬ÔÚMySQL/MySQL Server 5.0µÄbinĿ¼ÏÂÖ´ÐÐ,ÏÂÃæÕâDOCÃüÁ
mysqld-nt --install MySQL --defaults-file="bin\my.ini"
¾Í¿ÉÒÔ½«MySQLÕý³£µÄ×¢²áwindowsµÄϵͳ·þÎñ.
Ö´ËmysqlµÄ×Ô°²×°¾Í½²½âÍê±Ï£¬¿´ÆðÀ´ºÜ¼òµ¥£¬²»¹ý¹ý³Ì»¹ÊǺܼèÐÁµÄ¡£ÖÁÓÚÈçºÎºÍ²úÆ·Ò»Æð°²×°ºÍжÔØ,²¢²»ÓëÔ­ÓеÄ
MySqlÓгåÍ»£¬ºóÃæ»á¼ÌÐø½éÉÜ


Ïà¹ØÎĵµ£º

ÔÚ Cygwin ÖбàÒë MySQL ¿Í»§¶Ë

ת×Ôhttp://www.phpvim.net/windows/build-mysql-client-on-cygwin.html
MinTTY ÊÇÒ»¸öСÇɵ«È´ºÜʵÓÃµÄ Cygwin Öն˻ú£¬µ«ÓиöÑÏÖصÄÎÊÌâ¾ÍÊÇÎÞ·¨µ÷Óý»»¥Ð﵀ Windows Ô­Éú³ÌÐò£¬±ÈÈç˵
mysql.exe£¬µ±ÄãÔÚ MinTTY ÖÐÊäÈëÈçϵÄÃüÁ
1
$ mysql -uroot
-p
±¾À´ mysql.exe »áÌáʾÊäÈëÃÜÂ룬µ«ÔÚ MinTTY ÖгÌÐò»áÖ± ......

MySQLÖÐÐÞ¸ÄÃÜÂë¼°·ÃÎÊÏÞÖÆÉèÖÃÏê½â

¡¡MySQLÊÇÒ»¸öÕæÕýµÄ¶àÓû§¡¢¶àÏß³ÌSQLÊý¾Ý¿â·þÎñÆ÷¡£MySQLÊÇÒÔÒ»¸ö¿Í»§»ú/·þÎñÆ÷½á¹¹µÄʵÏÖ£¬ËüÓÉÒ»¸ö·þÎñÆ÷ÊØ»¤³ÌÐòmysqldºÍºÜ¶à²»Í¬µÄ¿Í»§³ÌÐòºÍ¿â×é³É¡£ÓÉÓÚÆäÔ´ÂëµÄ¿ª·ÅÐÔ¼°Îȶ¨ÐÔ£¬ÇÒÓëÍøÕ¾Á÷ÐÐ±à »ÓïÑ PHPµÄÍêÃÀ½áºÏ£¬ÏÖÔںܶàÕ¾µã¶¼ÀûÓÃÆäµ±×÷ºó¶ËÊý¾Ý¿â£¬Ê¹Æä»ñµÃÁ˹㷺ӦÓᣴ¦ÓÚ°²È«·½ÃæµÄ¿¼ÂÇ£¬ÐèҪΪÿһÓû§¸ ......

¼¸ÖÖÆƽâmysql rootÃÜÂëµÄ·½·¨

·½·¨Ò»
ʹÓÃphpmyadmin£¬ÕâÊÇ×î¼òµ¥µÄÁË£¬ÐÞ¸Ämysql¿âµÄuser±í£¬²»¹ý±ðÍüÁËʹÓÃPASSWORDº¯Êý¡£
·½·¨¶þ
ʹÓÃmysqladmin£¬ÕâÊÇÇ°ÃæÉùÃ÷µÄÒ»¸öÌØÀý¡£
mysqladmin -u root -p password mypasswd
ÊäÈëÕâ¸öÃüÁîºó£¬ÐèÒªÊäÈërootµÄÔ­ÃÜÂ룬ȻºórootµÄÃÜÂ뽫¸ÄΪmypasswd¡£
°ÑÃüÁîÀïµÄroot¸ÄΪÄãµÄÓû§Ãû£¬Äã¾Í¿ÉÒÔ¸ÄÄã ......

phpmyadminÁ¬½Ó¶à¸öMySQLÊý¾Ý¿â


ÔÚphpmyadminµÄ¸ùĿ¼Ï½¨Á¢config.inc.php
дÈëÈçÏ´úÂ룺
<?php
//phpmyadmin ÅäÖÃÎļþ
//±¾µØMySQLÊý¾Ý¿â
$i=1;
$cfg['Servers'][$i]['host']          =
'localhost';
$cfg['Servers'][$i]['user']          ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ