MySQLÓÅ»¯Ó²¼þÌá¸ßÐÔÄÜ
ÓÅ»¯MySQL·þÎñÆ÷µÄÅäÖòÎÊý£¬¿ÉÒÔÌá¸ßMySQLÊý¾Ý¿âµÄÐÔÄÜ£¬µ«ÊǶÔÓÚÅäÖýϵ͵ķþÎñÆ÷À´Ëµ£¬ÄãÎÞÂÛÔõôÓÅ»¯ÅäÖ㬶¼²»»áµÃµ½ÀíÏëµÄЧ¹û£¬ÄǾÍÖ»ÄÜÌá¸ßÄãÓ²¼þÅäÖã¬À´³¹µ×ÓÐЧµØ¸ÄÉÆ·þÎñÆ÷µÄÐÔÄÜ¡£
¾ßÌåµÄ·½·¨ÈçÏ£º
Ò»¡¢ÔÚÉèÖÃMySQL ʱ£¬Ó¦¸ÃÅäÖÃÆäʹÓþ²Ì¬¿â¶ø²»Êǹ²Ïí¿â¡£Ê¹Óù²Ïí¿âµÄ¶¯Ì¬¶þ½øÖÆϵͳ¿É½ÚÊ¡´ÅÅ̿ռ䣬µ«¾²Ì¬¶þ½øÖÆϵͳ¸ü¿ì£¨È»¶ø£¬Èç¹ûÏ£Íû×°ÈëÓû§×Ô¶¨ÒåµÄº¯Êý£¬Ôò²»ÄÜʹÓþ²Ì¬¶þ½øÖÆϵͳ£¬ÒòΪUDF »úÖÆÒÀÀµÓÚ¶¯Ì¬Á¬½Ó£©¡£
¶þ¡¢Ôö¼Ó¸ü¿ìµÄ´ÅÅÌÒÔ¼õÉÙI/O µÈ´ýʱ¼ä¡£Ñ°µÀʱ¼äÊÇÕâÀï¾ö¶¨ÐÔÄܵÄÖ÷ÒªÒòËØ¡£Öð×ÖµØÒƶ¯´ÅÍ·ÊǺÜÂýµÄ£¬Ò»µ©´ÅÍ·¶¨Î»£¬´Ó´ÅµÀ¶Á¿éÔò½Ï¿ì¡£
Èý¡¢ÔÚ²»Í¬µÄÎïÀíÉ豸ÉÏÉè·¨ÖØзÖÅä´ÅÅ̻¡£Èç¹û¿ÉÄÜ£¬Ó¦½«ÄúµÄÁ½¸ö×æµÄÊý¾Ý¿â´æ·ÅÔÚ²»Í¬µÄÎïÀíÉ豸ÉÏ¡£Çë×¢Ò⣬ʹÓÃͬһÎïÀíÉ豸ÉϵIJ»Í¬·ÖÇøÊDz»¹»µÄ¡£ÕâÑùûÓаïÖú£¬ÒòΪËüÃÇÈÔ½«ÕùÓÃÏàͬµÄÎïÀí×ÊÔ´£¨´ÅÅÌÍ·£©¡£
ÔÚ½«Êý¾ÝÖØзŵ½²»Í¬É豸֮ǰ£¬Ó¦¸Ã±£Ö¤Á˽â¸ÃϵͳµÄ×°ÔØÌØÐÔ¡£Èç¹ûÔÚÌض¨µÄÎïÀíÉ豸ÉÏÒѾÓÐÁËijЩÌض¨µÄÖ÷Òª»î¶¯£¬½«Êý¾Ý¿â·Åµ½¸Ã´¦Êµ¼ÊÉÏ¿ÉÄÜ»áʹÐÔÄܸü»µ¡£ÀýÈ磬²»Òª°ÑÊý¾Ý¿âÒƵ½´¦Àí´óÁ¿Web ͨÐŵÄWeb ·þÎñÆ÷É豸ÉÏ¡£
ËÄ¡¢ÔÚ»úÆ÷Öа²×°¸ü¶àµÄÄÚ´æ¡£ÕâÑùÄܹ»Ôö¼Ó·þÎñÆ÷µÄ¸ßËÙ»º´æºÍ»º³åÇøµÄ³ß´ç£¬Ê¹·þÎñÆ÷¸ü¾³£µØʹÓôæ·ÅÔÚÄÚ´æÖеÄÐÅÏ¢£¬½µµÍ´Ó´ÅÅÌÈ¡ÐÅÏ¢µÄÒªÇó¡£
Îå¡¢Èç¹ûÓÐ×ã¹»µÄRAM ʹËùÓн»»»ÔÚÄÚ´æÎļþϵͳÖÐÍê³É£¬ÄÇôӦ¸ÃÖØÐÂÅäÖÃϵͳ£¬È¥µôËùÓдÅÅ̽»»»ÉèÖ᣷ñÔò£¬¼´Ê¹ÓÐ×ãÒÔÂú×ã½»»»µÄR A M£¬Ä³Ð©ÏµÍ³ÈÔȻҪÓë´ÅÅ̽øÐн»»»¡£
Ïà¹ØÎĵµ£º
µÚÒ»ÕС¢mysql·þÎñµÄÆô¶¯ºÍÍ£Ö¹
net stop mysql
net start mysql
µÚ¶þÕС¢µÇ½mysql
Óï·¨ÈçÏ£º mysql -uÓû§Ãû -pÓû§ÃÜÂë
¼üÈëÃüÁîmysql -uroot -p£¬ »Ø³µºóÌáʾÄãÊäÈëÃÜÂ룬ÊäÈë12345£¬È»ºó»Ø³µ¼´¿É½øÈëµ½mysqlÖÐÁË£¬mysqlµÄÌáʾ·ûÊÇ£º
mysql>
×¢Ò⣬Èç¹ûÊÇÁ¬½Óµ½ÁíÍâµÄ»úÆ÷ÉÏ£¬ÔòÐèÒª¼ÓÈëÒ»¸ö²ÎÊý-h»úÆ÷IP
µ ......
Ò»ÖÖ±íÇý¶¯,³ýÁËinnodb»¹ÓÐÆäËüµÄ,ÀýÈçisam,myisamµÈ.
innodbµÄÌØÉ«ÔÚÓÚÖ§³Ö²¢·¢Óë±í¼äÒýÓÃ
MySQLÖ§³Ö¶àÖÖ´æ´¢ÒýÇ棬Óû§¿ÉÒÔ·½±ãµÄÑ¡Óò»Í¬µÄ´æ´¢ÒýÇæÀ´Ö§³Ö×Ô¼ºµÄÓ¦Óã¬Ã¿ÖÖ²»Í¬µÄ´æ´¢ÒýÇ涼ÓÐÆä×Ô¼ºµÄÌØÐÔ
InnodbÊÇÆäÖеÄÒ»ÖÖ´æ´¢ÒýÇ棬ËüµÄÌØÐÔÊÇÖ§³ÖÊÂÎñ£¬²¢ÇÒ²ÉÓöà°æ±¾²¢·¢¿ØÖƵķ½Ê½À´Ìá¸ß²¢·¢¶È
Ö÷Òª ......
×ÔÖú½¨Õ¾ÔËÓª/ÔËάϵͳ(jboss)°²×°Î¬»¤ÊÖ²á
1.Èí¼þ¸ÅÊö
1.1×ÔÖú½¨Õ¾ÔËÓª/ÔËάϵͳÊÇ»ùÓÚASPÔËӪģʽµÄÆóÒµÔËÓª¹ÜÀíƽ̨ϵͳ£¬ÓɶÀÁ¢µÄÓ¦Ó÷þÎñÆ÷·Ö±ðÌṩͳһÔËÓª¹ÜÀí¹¦ÄÜ¡¢
¸÷²úÆ·ÔËӪϵͳµÄ¹¦ÄÜ¡£
1.2¿ª·¢ÓïÑÔ
±¾ÏµÍ³²ÉÓÃJ2EE¼¼Êõ¼Ü¹¹£¬Ê¹Óõ½java, xml, xsl£¬javascript£¬htmlµÈ¸÷Ïî¼¼Êõ£¬Êý¾Ý¿âÊ¹Ó ......
°²裝MySQL-Server
$ sudo apt-get install mysql-server
°²裝Apache HTTP Server
$ sudo apt-get install apache2
°²裝PHP for Apache HTTP Server
$ sudo apt-get install php5
°²裝MySQL for Apache HTTP Server
$ sudo apt-get install libapache2-mod-auth-mysql
$ sudo apt-get ......
MySql¼òÒױʼÇ
1£º°²×°http://download.mysql.cn/src/2006/0710/5543.html£»
2£º´ò¿ªmysqlµÄCMD
3£º´´½¨Ò»¸öÊý¾Ý¿â¼°±í£º
mysql> CREATE DATABASE bbs;
mysql> CREATE TABLE pet (name VARCHAR(20), owner VARCHA ......