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

ʹÓà MySQL Workbench ¿ÉÊÓ»¯µÄÉè¼Æ MySQL Êý¾Ý¿â

Ó¢ÎÄÔ­ÎÄ£º
http://www.packtpub.com/article/visual-mysql-database-design-in-mysql-workbench
ÏÂÃæÊDz¿·Ö·­Òë¹ýÀ´µÄ£¬×ªÔØ×Ô£ºhttp://zuolo.info/2008/11/%e4%bd%bf%e7%94%a8-mysql-workbench-%e5%8f%af%e8%a7%86%e5%8c%96%e7%9a%84%e8%ae%be%e8%ae%a1-mysql-%e6%95%b0%e6%8d%ae%e5%ba%93-1%e8%af%91%e6%96%87/
MySQL Workbench ÊÇ MySQL AB ×î½üÊͷŵĿÉÊÓÊý¾Ý¿âÉè¼Æ¹¤¾ß¡£Õâ¸ö¹¤¾ßÊÇÉè¼Æ MySQL Êý¾Ý¿âµÄרÓù¤¾ß¡£
MySQL Workbench ÓµÓкܶàµÄ¹¦ÄܺÍÌØÐÔ£»ÕâƪÓÉ Djoni Darmawikarta дµÄÎÄÕÂͨ¹ýÒ»¸öʾÀýÕ¹ÏÖÁËÆäÖеÄһЩ¡£ÎÒÃǽ«Õë¶ÔÒ»¸ö¶©µ¥ÏµÍ³½¨Á¢Ò»¸öÎïÀíÊý¾ÝÄ£ÐÍ£¬ÕâÀïµÄ¶©µ¥ÏµÍ³¿ÉÒÔÊÇÏúÊÛµ¥Ò²¿ÉÒÔÊǶ©µ¥£¬²¢ÇÒʹÓà forward-engineer£¨ÕýÏòÒýÇ棩 ½«ÎÒÃǵÄÄ£ÐÍÉú³ÉΪһ¸ö MySQL Êý¾Ý¿â¡£
MySQL Workbench ÊÇ MySQL ×î½üÊͷŵĿÉÊÓÊý¾Ý¿âÉè¼Æ¹¤¾ß¡£Õâ¸ö¹¤¾ßÊÇÉè¼Æ MySQL Êý¾Ý¿âµÄרÓù¤¾ß¡£
ÄãÔÚ MySQL Workbench Öн¨Á¢µÄ±»³Æ֮ΪÎïÀíÊý¾ÝÄ£ÐÍ¡£Ò»¸öÎïÀíÊý¾ÝÄ£ÐÍÊÇÕë¶ÔÒ»¸öÌض¨ RDBMS ²úÆ·µÄÊý¾ÝÄ£ÐÍ£»±¾ÎÄÖеÄÄ£Ðͽ«¾ßÓÐһЩ MySQL µÄ¶ÀÌع淶¡£ÎÒÃÇ¿ÉÒÔʹÓÃËüÉú³É£¨forward-engineer£©Êý¾Ý¿â¶ÔÏ󣬳ýÁË°üº¬±íºÍÁУ¨×ֶΣ©Í⣬Ҳ¿ÉÒÔ°üº¬ÊÓͼ¡£
MySQL Workbench ÓµÓкܶàµÄ¹¦ÄܺÍÌØÐÔ£»ÕâƪÓÉ Djoni Darmawikarta дµÄÎÄÕÂͨ¹ýÒ»¸öʾÀýÕ¹ÏÖÁËÆäÖеÄһЩ¡£ÎÒÃǽ«Õë¶ÔÒ»¸ö¶©µ¥ÏµÍ³½¨Á¢Ò»¸öÎïÀíÊý¾ÝÄ£ÐÍ£¬ÕâÀïµÄ¶©µ¥ÏµÍ³¿ÉÒÔÊÇÏúÊÛµ¥Ò²¿ÉÒÔÊǶ©µ¥£¬²¢ÇÒʹÓà forward-engineer£¨ÕýÏòÒýÇ棩 ½«ÎÒÃǵÄÄ£ÐÍÉú³ÉΪһ¸ö MySQL Êý¾Ý¿â¡£
ÎÒÃǵÄʾÀýÖÐʹÓà MySQL Workbench ´´½¨µÄÎïÀíÄ£ÐÍ¿´ÉÏÈ¥¾ÍÏñÏÂͼÕâÑù£º
 
 
 
´´½¨¶©µ¥·½°¸(ORDER Schema)
Ê×ÏÈÈÃÎÒÃÇÀ´´´½¨Ò»¸ö±£´æ¶©µ¥ÎïÀíÄ£Ð͵ķ½°¸¡£µã»÷ + °´Å¥£¨ºìÉ«±ê×¢µÄµØ·½£©
 
 
 
¸ü¸Äеķ½°¸Ä¬ÈÏÃû³ÆΪ¶©µ¥¡£×¢Ò⣬µ±Äã¼üÈë·½°¸Ãûʱ£¬ÔÚ Physical Schemata ÉϵıêÇ©ÃûÒ²»áËæÖ®¸Ä±ä——ÕâÊÇÒ»¸öºÜºÃµÄÌØÐÔ¡£
 
¶©µ¥·½°¸±»Ôö¼Óµ½Ä¿Â¼£¨Catalog£©ÖÐ (ͼÖкìɫȦסµÄ²¿·Ö)¡£
 
 
 
ÖØÃüÃû·½°¸ºó¹Ø±Õ schema ´°¿Ú¡£
 
 
 
´´½¨¶©µ¥±í
ÎÒÃÇÏÖÔÚ´´½¨¶©µ¥Ä£ÐÍÖеÄÈý¸ö±í£ºORDER ±íÒÔ¼°ËüµÄÁ½¸ö×Ó±í SALES_ORDER ºÍPURCHASE_ORDER¡£Ê×ÏÈ£¬È·ÐÅÄãÒѾ­Ñ¡ÔñÁË ORDER ·½°¸µÄ±êÇ©£¬ÕâÑù£¬ÎÒÃÇ´´½¨µÄ±í²Å»á°üº¬ÓÚÕâ¸ö·½°¸¡£
 
ÎÒÃǽ«Òª´´½¨µÄ±íÊÇ×÷Ϊ EER ͼ±íչʾµÄ(EER = Enhanced Entity


Ïà¹ØÎĵµ£º

PowerDesignerÉ趨MySQL×Ö¶ÎidentityÀàÐÍ

×ÔÔö³¤ÀàÐÍÔö¼Ó
1.Èç¹ûdbmsÊÇMsSql,ÔòÑ¡¶¨±íºó£¬database-> edit   current   dbms-> ³öÏÖDBMS   properties¶Ô»°¿ò£¬Ñ¡ÔñGeneralÒ³£¬×ó²àµÄÊ÷Ñ¡ÔñSQL   2000-> Profile-> Column-> Extended   Attributes   ÏÂÃæµÄExtIdentityIncrementÊDz½½ø ......

MYSQLºÍORACLEµÄһЩ²Ù×÷Çø±ð

ÓкܶàÓ¦ÓÃÏîÄ¿, ¸ÕÆð²½µÄʱºòÓÃMYSQLÊý¾Ý¿â»ù±¾ÉÏÄÜʵÏÖ¸÷ÖÖ¹¦ÄÜÐèÇó£¬Ëæ×ÅÓ¦ÓÃÓû§µÄÔö¶à£¬Êý¾ÝÁ¿µÄÔö¼Ó£¬MYSQL½¥½¥µØ³öÏÖ²»¿°ÖظºµÄÇé¿ö£ºÁ¬½ÓºÜÂýÉõÖÁå´»ú£¬ÓÚÊǾÍÓаÑÊý¾Ý´ÓMYSQLǨµ½ORACLEµÄÐèÇó£¬Ó¦ÓóÌÐòÒ²ÒªÏàÓ¦×öһЩÐ޸ġ£±¾ÈË×ܽá³öÒÔϼ¸µã×¢ÒâÊÂÏϣÍû¶Ô´ó¼ÒÓÐËù°ïÖú¡£
1.×Ô¶¯Ôö³¤µÄÊý¾ÝÀàÐÍ´¦Àí
MYSQLÓÐ ......

mysql ×Ó²éѯɾ³ý¼Ç¼

    mysql ¿ÉÒÔͨ¹ý×Ó²éѯµÃµ½ÒªÉ¾³ýµÄ¼Ç¼Ìõ¼þ£¬È»ºóͨ¹ý×Ó²éѯµÃ½á¹ûÆ¥ÅäҪɾ³ýµÄ¼Ç¼¡£µ«ÊÇ mysql ²»ÄÜÖ±½Óɾ³ý×Ó²éѯ±íÖеÄÊý¾Ý£¬±ØÐëͨ¹ýÒ»¸öÁÙʱ±íÀ´½â¾ö¡£ÀýÈ磺
    delete from t_transaction where exists
    (select d.* from t_ti_category a,t_category b,t_ ......

mysql Ë÷Òý


 
 
²é¿´Ä³¸ö±íµÄ½¨±íÓï¾ä £ºshow create table data_statdata;
drop index ts on data_statdata;
Ë÷ÒýÊǼÓËÙ²éѯµÄÖ÷ÒªÊֶΣ¬Ìرð¶ÔÓÚÉæ¼°¶à¸ö±íµÄ²éѯ¸üÊÇÈç´Ë¡£±¾½ÚÖУ¬½«½éÉÜË÷ÒýµÄ×÷Óá¢Ìص㣬ÒÔ¼°´´½¨ºÍɾ³ýË÷ÒýµÄÓï·¨¡£
13.4.1 ʹÓÃË÷ÒýÓÅ»¯²éѯ
Ë÷ÒýÊÇ¿ìËÙ¶¨Î»Êý¾ÝµÄ¼¼Êõ£¬Ê×ÏÈͨ¹ýÒ»¸öʾÀýÀ´Á˽ ......

phpmyadminÖÐMySQLÈçºÎ¼ÓÃÜ(ÅäÖÃ)

ת×Ôhttp://blog.csdn.net/ytz_linuxer/archive/2009/07/04/4321259.aspx
ÒÔ°æ±¾phpMyAdmin-2.6.1.tar.gzΪÀý
      ÏȽâѹphpMyAdmin-2.6.1.tar.gzµ½/usr/local/apache2/htdocs£¬
µÃµ½Îļþ¼ÐphpMyAdmin-2.6.1£¬½«ÆäÖØÃüÃûΪphpmyadmin,(ÕâÑùÔÚÒÔºóµÄ²Ù×÷Öн«»á±äµÄ¼ò±ã)¡£
    ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ