MySQL 5.0°²×°Í¼½â
ÏÂÃæµÄÊÇMySQL°²×°µÄͼ½â:¡¡¡¡
Ë«»÷ÔËÐГsetup.exe”£¬³öÏÖÈçϽçÃ棺
mysql°²×°Ïòµ¼Æô¶¯£¬°´“Next”¼ÌÐø
Ñ¡Ôñ°²×°ÀàÐÍ£¬ÓГTypical£¨Ä¬ÈÏ£©”¡¢“Complete£¨ÍêÈ«£©”¡¢“Custom£¨Óû§×Ô¶¨Ò壩”Èý¸öÑ¡ÏÎÒÃÇÑ¡Ôñ“Custom”£¬Óиü¶àµÄÑ¡ÏҲ·½±ãÊìϤ°²×°¹ý³Ì
ÔÚ“Developer Components£¨¿ª·¢Õß²¿·Ö£©”ÉÏ×ó¼üµ¥»÷£¬Ñ¡Ôñ“This feature, and all subfeatures, will
be installed on local hard drive.”£¬¼´“´Ë²¿·Ö£¬¼°ÏÂÊô×Ó²¿·ÖÄÚÈÝ£¬È«²¿°²×°ÔÚ±¾µØÓ²ÅÌÉÏ”¡£ÔÚÉÏÃæµÄ“MySQL
Server£¨mysql·þÎñÆ÷£©”¡¢“Client
Programs£¨mysql¿Í»§¶Ë³ÌÐò£©”¡¢“Documentation£¨Îĵµ£©”Ò²Èç´Ë²Ù×÷£¬ÒÔ±£Ö¤°²×°ËùÓÐÎļþ¡£µãÑ¡“Change...”£¬ÊÖ¶¯Ö¸¶¨°²×°Ä¿Â¼¡£
ÌîÉÏ°²×°Ä¿Â¼£¬ÎÒµÄÊÇ“F:\Server\MySQL\MySQL Server
5.0”£¬Ò²½¨Òé²»Òª·ÅÔÚÓë²Ù×÷ϵͳͬһ·ÖÇø£¬ÕâÑù¿ÉÒÔ·Àֹϵͳ±¸·Ý»¹ÔµÄʱºò£¬Êý¾Ý±»Çå¿Õ¡£°´“OK”¼ÌÐø¡£
·µ»Ø¸Õ²ÅµÄ½çÃ棬°´“Next”¼ÌÐø¡£
È·ÈÏÒ»ÏÂÏÈÇ°µÄÉèÖã¬Èç¹ûÓÐÎ󣬰´“Back”·µ»ØÖØ×ö¡£°´“Install”¿ªÊ¼°²×°¡£
ÕýÔÚ°²×°ÖУ¬ÇëÉÔºò£¬Ö±µ½³öÏÖÏÂÃæµÄ½çÃæ
ÕâÀïÊÇѯÎÊÄãÊÇ·ñҪע²áÒ»¸ömysql.comµÄÕ˺ţ¬»òÊÇʹÓÃÒÑÓеÄÕ˺ŵǽmysql.com£¬Ò»°ã²»ÐèÒªÁË£¬µãÑ¡“Skip
Sign-Up”£¬°´“Next”ÂÔ¹ý´Ë²½Öè¡£
ÏÖÔÚÈí¼þ°²×°Íê³ÉÁË£¬³öÏÖÉÏÃæµÄ½çÃ棬ÕâÀïÓÐÒ»¸öºÜºÃµÄ¹¦ÄÜ£¬mysqlÅäÖÃÏòµ¼£¬²»ÓÃÏòÒÔÇ°Ò»Ñù£¬×Ô¼ºÊÖ¶¯ÂÒÆß°ËÔãµÄÅäÖÃmy.iniÁË£¬½« “Configure
the Mysql Server now”Ç°ÃæµÄ¹´´òÉÏ£¬µã“Finish”½áÊøÈí¼þµÄ°²×°²¢Æô¶¯mysqlÅäÖÃÏòµ¼¡£
mysqlÅäÖÃÏòµ¼Æô¶¯½çÃ棬°´“Next”¼ÌÐø¡£
Ñ¡ÔñÅäÖ÷½Ê½£¬“Detailed Configuration£¨ÊÖ¶¯¾«È·ÅäÖã©”¡¢“Standard
Configuration£¨±ê×¼ÅäÖã©”£¬ÎÒÃÇÑ¡Ôñ“Detailed Configuration”£¬·½±ãÊìϤÅäÖùý³Ì¡£
Ñ¡Ôñ·þÎñÆ÷ÀàÐÍ£¬“Developer Machine£¨¿ª·¢²âÊÔÀ࣬mysqlÕ¼ÓúÜÉÙ×ÊÔ´£©”¡¢“Server
Machine£¨·þÎñÆ÷ÀàÐÍ£¬mysqlÕ¼Óý϶à×ÊÔ´£©”¡¢“Dedicated MySQL Server
Machine£¨×¨ÃŵÄÊý¾Ý¿â·þÎñÆ÷£¬mysqlÕ¼ÓÃËùÓпÉÓÃ×ÊÔ´£©”£¬´ó¼Ò¸ù¾Ý×Ô
Ïà¹ØÎĵµ£º
MYSQLÖÐÖ»ÓÐINNODBºÍBDBÀàÐ͵ÄÊý¾Ý±í²ÅÄÜÖ§³ÖÊÂÎñ´¦Àí£¡ÆäËûµÄÀàÐÍÊDz»Ö§³ÖµÄ£¡
$lnk = mysql_connect("localhost", "root", "");
mysql_select_db("test");
mysql_query("BEGIN");
$query = mysql_query("INSERT INTO test VALUES(1, 'yangjun')&quo ......
Ò»¡¢×ܽáһϣº
1.linuxÏÂÆô¶¯mysqlµÄÃüÁ
mysqladmin start
/ect/init.d/mysql start (Ç°ÃæΪmysqlµÄ°²×°Â·¾¶)
2.linuxÏÂÖØÆômysqlµÄÃüÁ
mysqladmin restart
/ect/init.d/mysql restart (Ç°ÃæΪmysqlµÄ°²×°Â·¾¶)
3.linuxϹرÕmysqlµÄÃüÁ
mysqladmin shut ......
Æô¶¯£ºnet start mySql;
¡¡¡¡½øÈ룺mysql -u root -p/mysql -h localhost -u root -p databaseName;
¡¡¡¡ÁгöÊý¾Ý¿â£ºshow databases;
¡¡¡¡Ñ¡ÔñÊý¾Ý¿â£ºuse databaseName;
¡¡¡¡Áгö±í¸ñ£ºshow tables£»
¡¡¡¡ÏÔʾ±í¸ñÁеÄÊôÐÔ£ºshow columns from tableName£»
¡¡¡¡½¨Á¢Êý¾Ý¿â£ºsource fileName.txt;
¡¡¡¡Æ¥Åä× ......
Weblogic 9.1µÄdomainÅäÖÃmysqlÁ¬½Ó³Ø
¡¡¡¡±¾ÎĽéÉÜÔÚweblogic 9.1ϵÄdomainÅäÖÃmysqlÁ¬½Ó³Ø²½Ö裺
¡¡¡¡1.ÔÚweblogicĿ¼ÏµÄserverlibÏÂÌí¼ÓmysqlÇý¶¯
¡¡¡¡mysql-connector-java-3.1.11-bin.jar
¡¡¡¡2.ÔÚweblogicĿ¼ÏµÄcommoninÏÂÕÒµ½commEnv.cmd´ò¿ª
¡¡¡¡ÕÒµ½set weblogic_classpath= ºó±ß¼ÓÉÏmysqlÇý¶¯ ......
1. ʲôÊDzÎÕÕÍêÕûÐÔ?
——————–
²ÎÕÕÍêÕûÐÔ(ÍêÕûÐÔÔ¼Êø)ÊÇÊý¾Ý¿âÉè¼ÆÖеÄÒ»¸öÖØÒª¸ÅÄµ±Êý¾Ý¿âÖеÄÒ»¸ö±íÓëÒ»¸ö»ò¶à¸ö±í½øÐйØÁªÊ±¶¼»áÉæ¼°µ½²ÎÕÕÍêÕûÐÔ¡£±ÈÈçÏÂÃæÕâ¸öÀý×Ó£º
ÎÄÕ·ÖÀà±í - categories
category_id &n ......