´´½¨oracle·ÃÎÊmysqlµÄÊý¾ÝÁ´Â·²½Öè
(1)µÇ½µ½mysql
C:\Documents and Settings\Administrator>mysql -h localhost -u root -p
Enter password: *****
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 69
Server version: 5.0.51a-community-nt MySQL Community Edition (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
(2)´´½¨Êý¾Ý¿â
mysql> create database oracle;
Query OK, 1 row affected (0.00 sec)
(3)´´½¨±»·ÃÎʵÄmysqlÓû§
mysql> grant all privileges on oracle.* to 'orauser'@'%' identified by 'orauser'
with grant option;
Query OK, 0 rows affected (0.00 sec)
mysql> exit
Bye
(4)µÇ½¸ÃÓû§£¬²¢²âÊÔ
C:\Documents and Settings\Administrator>mysql -h localhost -u orauser -p
Enter password: *******
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 70
Server version: 5.0.51a-community-nt MySQL Community Edition (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> use oracle;
Database changed
mysql> create table test(tid integer,tname varchar(20));
Query OK, 0 rows affected (0.06 sec)
mysql> insert into test(tid,tname)values(1,'byf');
Query OK, 1 row affected (0.03 sec)
mysql> insert into test(tid,tname)values(2,'others');
Query OK, 1 row affected (0.02 sec)
mysql> select * from test;
+------+--------+
| tid | tname |
+------+--------+
| 1 | byf |
| 2 | others |
+------+--------+
2 rows in set (0.00 sec)
mysql>
(5)°²×°mysql odbc driver 3.51²¢ÉèÖÃodbcÊý¾ÝÔ´
data source name:mysqlora
server:localhost
user: orauser
password:orauser
database:oracle
(6)ÅäÖóõʼ»¯²ÎÊý%ORACLE_HOME%/admin/initmysqlora.ora
HS_FDS_CONNECT_INFO =mysqlora
HS_FDS_TRACE_LEVEL = on
(7)ÅäÖÃ%ORACLE_HOME%/newtwork/admin/tnsname.ora
mysqlora=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
&nb
Ïà¹ØÎĵµ£º
oracle±í¿Õ¼ä²Ù×÷Ïê½â
1
2
3×÷Õߣº À´Ô´£º ¸üÐÂÈÕÆÚ£º2006-01-04
5
6
7½¨Á¢±í¿Õ¼ä
8
9CREATE TABLESPACE data01
10DATAFILE '/ora ......
ORACLE±¸·Ý²ßÂÔ(ORACLE BACKUP STRATEGY)
2007Äê11ÔÂ02ÈÕ ÐÇÆÚÎå 16:03
¸ÅÒª
1¡¢Á˽âʲôÊDZ¸·Ý
2¡¢Á˽ⱸ·ÝµÄÖØÒªÐÔ
3¡¢Àí½âÊý¾Ý¿âµÄÁ½ÖÖÔËÐз½Ê½
4¡¢Àí½â²»Í¬µÄ±¸·Ý·½Ê½¼°ÆäÇø±ð
5¡¢Á˽âÕýÈ·µÄ±¸·Ý²ßÂÔ¼°ÆäºÃ´¦
Ò»¡¢Á˽ⱸ·ÝµÄÖØÒªÐÔ
¿ÉÒÔ˵£¬´Ó¼ÆËã»úϵͳ³öÊÀµÄÄÇÌìÆð£¬¾ÍÓÐÁ˱¸·ÝÕâ¸ö¸ÅÄ ......
Êý¾Ý×Öµädict×ÜÊÇÊôÓÚOracleÓû§sysµÄ¡£
¡¡¡¡1¡¢Óû§£º
¡¡¡¡¡¡select username from dba_users;
¡¡¡¡¸Ä¿ÚÁî
¡¡¡¡¡¡alter user spgroup identified by spgtest;
¡¡¡¡2¡¢±í¿Õ¼ä£º
¡¡¡¡¡¡select * from dba_data_files;
¡¡¡¡¡¡select * from dba_tablespaces;//±í¿Õ¼ä
¡¡¡¡¡¡select tablespace_name,sum(bytes), sum(b ......
Checking kernel parameters
Checking for semmsl=250; found semmsl=250. Passed
Checking for semmns=32000; found semmns=32000. Passed
Checking for semopm=100; found semopm=32. Failed <<<<
Checking for semmni=128; found semmni=128.&nb ......
ǰЩÈÕ×Ó£¬Êý¾Ý¿â¿Õ¼ä±¬Âú£¬ÒѾÔö³¤µ½´æ´¢¿Õ¼äµ¥¸ö´æ´¢ÎļþµÄ×î´óÖµ32G¡£µ«ÊÇ£¬²ÉÓÃÁ˺ܶà°ì·¨²ÅÊͷŵô±í¿Õ¼ä£¬Ö÷ÒªÊÇϵͳÖдóÁ¿Ê¹Ó÷ÖÇø±í£¬¶øÕë¶Ô·ÖÇø±íÇå³ýÊý¾Ý£¬²»»áÊͷűí¿Õ¼ä£¬±ØÐë°Ñ·ÖÇødropµô£¬²Å»áÊͷſռ䡣¼Ç¼һϵ±Ê±²Ù×÷ʱѧϰºÍʹÓõÄһЩÓï¾ä£º
Ò»¡¢dr ......