oracle½¨¶à¸ödblink
ÓÃtg4mssqlÁ´½Óoracle.
¹ý³Ì²»ÔÚÃèÊö£¬googleºÜ¶à¡£
ÎÊÌ⣺
1¡¢mssql expressµÄʱºò£¬Ê§°Ü
½«serverÓÃתÒå×Ö·ûд³ö£¬³É¹¦¡£
HS_FDS_CONNECT_INFO="SERVER=SHAM0415\\SQLEXPRESS;DATABASE=GMT_KJ"
2¡¢½¨¶à¸öµÄʱºò£¬²»ÄܽâÎö¡£ tnsping ÃüÁî×ܲ»Í¨¹ý¡£
ÕÒÁ˺ܶ࣬ͬһ¸öÌû×Ó£¬×ªÁËÎÞÊý´Î¡£¡£
°¦¡£¡£ÖйúµÄ¼¼Êõ°¡¡£¡£
×Ô¼ºÑо¿£¬×îºó·¢ÏÖ
MSSQL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
(CONNECT_DATA =
(SID = MSSQL))
(HS= OK)
)
MSSQLÒª¶¥¸ñд£¬Ç°Ãæ²»ÔÊÐíÓпոñ¡£
²éÁËһϣ¬³ýÁ¬½Ó´®Ãû×Ö£¨È磺MSSQL£©Í⣬ÆäËûÐУ¨Ã¿Ò»ÐУ©Ê×Ó¦¸ÃÓпոñ(space)¡£
(HS= OK) ²»¿Éȱ¡£
תһ¸öÀý×Ó£º
oracle.net.config.ServiceAliasException:10
´ð£º
ÕâÊÇÓÉÓÚtnsnames.oraÎļþ¸ñʽ²»¶Ô£¬
ӦעÒâ³ýÁ¬½Ó´®Ãû×Ö£¨È磺BCV£©Í⣬ÆäËûÐУ¨Ã¿Ò»ÐУ©Ê×Ó¦¸ÃÓпոñ(space)¡£
¸½¼þ£º
°Ñtnsnames.oraÎļþÖеÄ
BCV=
(space)[ (DESCRIPTION_LIST = # Optional depending on whether u have
(space)# one or more descriptions
(space)# If there is just one description, unnecessary ]
(space)(DESCRIPTION=
(space)[ (SDU=2048) ] # Optional, defaults to 2048
(space)# Can take values between 512 and 32K
(space)[ (ADDRESS_LIST= # Optional depending on whether u have
(space)# one or more addresses
(space)# If there is just one address, unnecessary ]
(space)(ADDRESS=
(space)[ (COMMUNITY=) ]
(space)(PROTOCOL=tcp)
(space)(HOST=)
(space)(PORT=)
(space))
(space)[ (ADDRESS=
(space)(PROTOCOL=ipc)
(space)(KEY=)
(space))
(space)]
(space)[ (ADDRESS=
(space)[ (COMMUNITY=) ]
(space)(PROTOCOL=decnet)
(space)(NODE=)
(space)(OBJECT=)
(space))
(space)]
(space)... # More addresses
(space)[ ) ] # Optional depending on whether ADDRESS_LIST is used or not
(space)[ (CONNECT_DATA=
(space)(SID=)
(space)[ (GLOBAL_NAME=) ]
(space))
(space)]
(space)[ (SOURCE_ROUTE=yes) ]
(space))
(space)(DESCRIPTION=
(space)[ (SDU=2048) ] # Optional, defaults to 2048
(space)# Can
Ïà¹ØÎĵµ£º
oracle±í¿Õ¼ä²Ù×÷Ïê½â
1
2
3×÷Õߣº À´Ô´£º ¸üÐÂÈÕÆÚ£º2006-01-04
5
6
7½¨Á¢±í¿Õ¼ä
8
9CREATE TABLESPACE data01
10DATAFILE '/ora ......
1 ¡¢´´½¨Óû§ºÍ×é
/usr/sbin/groupadd oinstall
/usr/sbin/groupadd dba
/usr/sbin/useradd -g oinstall -G dba oracle
2¡¢ÅäÖÃOSºËÐIJÎÊý
1£©±à¼Îļþ /etc/sysctl.conf
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmm ......
OracleµÄÎﻯÊÓͼÌṩÁËÇ¿´óµÄ¹¦ÄÜ£¬¿ÉÒÔÓÃÓÚÔ¤ÏȼÆËã²¢±£´æ±íÁ¬½Ó»ò¾Û¼¯µÈºÄʱ½Ï¶àµÄ²Ù×÷µÄ½á¹û£¬ÕâÑù£¬ÔÚÖ´Ðвéѯʱ£¬¾Í¿ÉÒÔ±ÜÃâ½øÐÐÕâЩºÄʱµÄ²Ù×÷£¬¶ø´Ó¿ìËٵĵõ½½á¹û¡£ÎﻯÊÓͼÓкܶ෽ÃæºÍË÷ÒýºÜÏàËÆ£ºÊ¹ÓÃÎﻯÊÓͼµÄÄ¿µÄÊÇΪÁËÌá¸ß²éѯÐÔÄÜ£»ÎﻯÊÓͼ¶ÔÓ¦ÓÃ͸Ã÷£¬Ôö¼ÓºÍɾ³ýÎﻯÊÓͼ²»»áÓ°ÏìÓ¦ÓóÌÐòÖÐSQLÓï¾äµÄÕýÈ ......
OracleµÄÍâ¼üÓÃÀ´ÏÞÖÆ×Ó±íÖвο¼µÄ×ֶεÄÖµ£¬±ØÐëÔÚÖ÷±íÖдæÔÚ¡£¶øÇÒÔÚÖ÷±íµÄ¼Ç¼·¢Éú±ä»¯µ¼ÖÂÍâ¼ü²Î¿¼Î¨Ò»Ô¼ÊøÖµ·¢ÉúÁ˱仯ʱ£¬¶¨ÒåÁËһϵÁеĶ¯×÷¡£ ÔÚSQL92±ê×¼Öж¨ÒåÁ˼¸ÖÖÍâ¼ü¸Ä±äºó£¬ÈçºÎ´¦Àí×Ó±í¼Ç¼µÄ¶¯×÷£¬ÆäÖаüÀ¨£º
ÏÞÖÆRestrict£ºÕâÖÖ·½Ê½²»ÔÊÐí¶Ô±»²Î¿¼µÄ¼Ç¼µÄ¼üÖµÖ´Ðиüлòɾ³ýµÄ²Ù×÷£»ÖÃΪ¿ÕSet to null ......
ÓÃoracleµÄжÔسÌÐò²¢²»ÄÜÍêȫжÔظɾ»¡£Èç֮ǰµÄÃüÃûµÄoracle sid ²»ÄÜÔÙʹÓ᣻áÌáʾsid´æÔÚ¡£ÏÂÃæÊÇÔÚwinxpÏÂÍêȫжÔØoracleµÄ·½·¨¡£
1¡¢¿ªÊ¼££¾ÉèÖ㣾¿ØÖÆÃæ°å££¾¹ÜÀí¹¤¾ß££¾·þÎñ
Í£Ö¹ËùÓÐOracle·þÎñ¡£
2¡¢¿ªÊ¼££¾³ÌÐò££¾Oracle - OraHome81££¾Oracle ......