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

Òì¹¹Êý¾Ý¿âÊý¾Ýͬ²½(´ÓProgressµ½MySQL)

Ò»Ö±Ïëдµã¶«Î÷£¬µ«È´³Ù³ÙûÓпªÊ¼£¬½ñÌìÎÞÒâÖлص½ERP100Õâ¸öÍøÕ¾£¬·¢ÏÖÓÐÁËQADµÄרÇø£¬ÓÚÊÇ£¬Ò»Ê±ÈÈѪ·ÐÌÚ£¬Ð´Á˵㶫Î÷£¬¾Í½è´Ë»ú»á½«ÄÚÈÝÒ²·¢µ½ÕâÀï°É£¬ºÇºÇ¡£
ÆäʵÄÚÈݶ¼ÊDZ¾ÈËдµÄ£¬²»¹ýΪÁËͼ·½±ã£¬ÔÚERP100ÖÐдÍêÁË£¬È»ºóÖ±½ÓCopyµ½ÕâÀ͵Á˵ãÀÁ£¬ºÇºÇ¡£
ÒÔÏÂÊÇÕýÎÄ£¬ÔÚERP100ÖеĵØÖ·ÊÇ
http://bbs.erp100.com/forum.php?mod=viewthread&tid=74269&page=1&extra=#pid438182
ÓÉÓÚСµÜ½Ó´¥QADÒ²Ö»Óж̶̼¸Äêʱ¼ä£¬Ä¿Ç°Ò²Ö»ÊǸոÕÈëÃŵIJËÄñ¼¶±ð£¬Ï£Íû½è´Ë»ú»áÓëÊìϤQADÈí¼þµÄÇ°±²Ò»Æð½»Á÷£¬ºÇºÇ¡£
ÏîÄ¿Ãû³Æ£º
Òì¹¹Êý¾Ý¿âÊý¾Ýͬ²½(´ÓProgressµ½MySQL)
±³¾°½éÉÜ£º
ÎÒÏÖÔÚ¹«Ë¾Ê¹ÓõÄQAD°æ±¾ºÜÀÏ£¬ÊÇ85gµÄ£¬ÓÚÊÇ£¬ÒªÉý¼¶µ½eb2.1£¬µ«ÓÉÓÚÓкܶàË®¾§±¨±íÊÇÖ±½ÓÁ¬µ½QADºǫ́ȡÊýµÄ£¬¶øeb2.1¶ÔÁ¬½ÓÊýÏÞÖÆÔÚ1¸ö£¬Òò´Ë£¬¹«Ë¾¾ö¶¨½«QADµÄÊý¾Ýͬ²½µ¼Èëµ½MySQLÊý¾Ý¿âÖУ¬ÕâÑù£¬Ö»Òª½«Ë®¾§±¨±íµÄÁ¬½ÓÖØÐÂÖ¸ÏòMySQL£¬¾Í¿ÉÒÔÕý³£Ê¹ÓÃÁË¡£
ʵÏÖ˼·£º
ҪʵÏÖʵʱͬ²½£¬×îÖ±½ÓµÄ¾ÍÊÇ´¥·¢Æ÷ÁË£¬Í¨¹ýÔÚ´¥·¢Æ÷ÖзÖÎö¸÷×ֶεÄÖµ£¬Éú³ÉSQLÓï¾ä£¬²¢´æÈëÎı¾ÎļþÖУ¬È»ºó£¬¶¨ÆÚµ÷ÓÃÒ»¶ÎJava³ÌÐò£¬¶ÁÈ¡Îı¾ÖеÄSQLÓï¾ä£¬½«Êý¾Ý²åÈëMySQLÊý¾Ý¿âÖС£
×¢£ºµ±Ê±ÔÚÏîÄ¿·ÖÎö½×¶Î£¬Êµ¼Ê»¹ÓÐ1Ì×·½°¸£¬Ò²ÊÇͨ¹ý´¥·¢Æ÷¼Ç¼±»Ð޸ĵÄÊý¾Ý£¬È»ºóдÈëÒ»¸ö×Ô¶¨Òå±íµÄRaw×ֶΣ¬È»ºó£¬¶¨Ê±Ö´ÐÐÒ»¶ÎProgress³ÌÐò£¬½«ÐÞ¸ÄдÈëµ½MySQLÖУ¬µ«ÓÉÓÚÕâ¸ö·½°¸ÐèÒª¶àÕ¼ÓÃÒ»¸öLicence£¬Òò´Ë£¬×îÖÕ±»·ÅÆú¡£
ʵÏÖ·½·¨£º
1. ÉèÖÃTrigger
½øÈëData Dictionary(Êý¾Ý×Öµä)£¬µã Edit -> Modify Table£¬ÔÚµ¯³öµÄ´°¿ÚÖÐÊäÈëÒª½¨TriggerµÄ±íÃû£¬ÀýÈç pt_mstr£¬È»ºó£¬ÔÚÖ®ºóµÄ´°¿ÚÖУ¬ÔÚ×îÏÂÃæµÄ°´Å¥ÖпÉÒÔÕÒµ½ Trigger µÄ°´Å¥£¬½øÈ¥Ö®ºó¾Íµ½ÁËTriggerµÄÉèÖýçÃæÁË£¬ÕâÀïÎÒÃÇÖ÷ÒªÔÚ Write ºÍ Delete ÉÏÃæÉèÖÃ(Æäʵ£¬QADµÄ²Î¿¼ÊÖ²áÉϺÃÏñÊÇÍƼöµÄReplication-Write ºÍ Replication-Delete£¬µ«µ±Ê±²âÊÔµÄʱºòºÃÏñÓеãÎÊÌ⣬Òò´Ë£¬Ã»ÓÐʹÓá£ÁíÍ⣬Create²»Óùܣ¬ÒòΪ£¬´¥·¢ÁËCreateÖ®ºóÒ»¶¨»á´¥·¢WriteµÄ)£¬ÔÚµÚÒ»¸öÀ¸Î»ÌîÈëTriggerÒªÖ´ÐеijÌÐò(Ò»°ãÒÔ.t½áβ)£¬½«ºóÃæµÄCRC¼ìÑéÉèÖÃΪno(·ñÔò£¬³ÌÐòÔÚÖ´ÐÐʱ»á±¨´í)£¬ÉèÖÃÍêºóµãF4Í˳ö£¬²¢ÔÚµ¯³öµÄ´°¿ÚÖеã»÷±£´æ£¬ÕâÑù£¬Trigger¾ÍÉèºÃÁË¡£
2. ±àдTrigger´úÂë
ÏÈ¿´ÏÂÃæµÄ´úÂ룺
TRIGGER PROCEDURE FOR WRITE OF PT_MSTR OLD BUFFER OLD_PT_MSTR./*ÐÞ¸ÄÊý¾ÝʱµÄTrigger*/
TRIGGER PROCEDURE FOR DELETE OF PT_MSTR./*ɾ³ýÊý¾ÝʱµÄ


Ïà¹ØÎĵµ£º

´î½¨JSP ×éºÏMyEclipse£«MySQL£«Tomcat¿ª·¢»·¾³

Ò»¡¢°²×°JDK ¡¡¡¡Ê×ÏÈÏÂÔØJDK 5.0£¨JDK 5.0µÄÏÂÔØÒ³ÃæΪ£ºhttp://java.sun.com/j2se/1.5.0/download.jsp£©£» È»ºóÔËÐÐJDK 5.0°²×°³ÌÐòjdk-1_5_0_06-windows-i586-p.exe£¬°²×°¹ý³ÌÖÐËùÓÐÑ¡Ïî±£³ÖĬÈÏ£»×îºóÅäÖÃJDKµÄ»·¾³±äÁ¿£ºÔÚ“ÎҵĵçÄÔ”ÉϵãÓÒ¼ü—>“ÊôÐÔ”—>“¸ß¼¶”& ......

MySQL³£ÓÃÃüÁî

µÚÒ»ÕС¢mysql·þÎñµÄÆô¶¯ºÍÍ£Ö¹
net stop mysql
net start mysql
µÚ¶þÕС¢µÇ½mysql
Óï·¨ÈçÏ£º mysql -uÓû§Ãû -pÓû§ÃÜÂë
¼üÈëÃüÁîmysql -uroot -p£¬ »Ø³µºóÌáʾÄãÊäÈëÃÜÂ룬ÊäÈë12345£¬È»ºó»Ø³µ¼´¿É½øÈëµ½mysqlÖÐÁË£¬mysqlµÄÌáʾ·ûÊÇ£º
mysql>
×¢Ò⣬Èç¹ûÊÇÁ¬½Óµ½ÁíÍâµÄ»úÆ÷ÉÏ£¬ÔòÐèÒª¼ÓÈëÒ»¸ö²ÎÊý-h»úÆ÷IP
µ ......

Proftpd MySQL [Step by Step]

Link from : http://www.5ilinux.com/blog/archives/000091.html
1.Ê×ÏÈÎÒÃǽ¨Á¢ÏàÓ¦µÄÓû§ºÍÓû§×é
groupadd -g 5500 ftpgroup
adduser -u 5500 -s /bin/false -d /bin/null -c "proftpd user" -g ftpgroup ftpuser
2.²Ù×÷Êý¾Ý¿â
mysql mysql -uroot -ppassword
create database ftpdb
grant select, upd ......

Linux+Apache+Mysql+PhpÏêϸ°²×°Îĵµ

ËùÐèÈí¼þÔ´´úÂë°ü£º
httpd-2.2.4.tar.gz   mysql-5.0.27.tar.gz   php-5.2.1.tar.bz2
freetype-2.3.2.tar.gz   gd-2.0.34.tar.gz   jpegsrc.v6b.tar.gz
libpng-1.2.8.tar.bz2   libxml2-2.6.24.tar.bz2  zlib-1.2.2.tar.gz
°²×°Ë³Ðò£ºapache -> mysql ......

JDBC ¼òµ¥µÄMysqlÁ¬½Ó

/*ÑÝʾһ¸öJDBC³ÌÐò£¬´ÓMysqlµÄLMDÊý¾Ý¿âÖжÁ³ö±íadminµÄÒ»¸öÐÅÏ¢*/
import java.sql.*;
public class TestMysqlConnection {
    public static void main(String[] args) {
        Connection conn = null;
        Statement stmt = ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ