´´½¨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
Ïà¹ØÎĵµ£º
mysql error number 2003
Can't connect to MySQL server xxx.xxx.xxx.xxx (10061)
ÔÚubuntu 9.04ÖÐĬÈÏ°²×°ÁËmysql£¬Ä¬ÈÏÖ»Äܱ¾µØ·ÃÎÊ£¬googleÁËһϣº
²ÉÓÃ
µÇ¼µ½MySQL·þÎñÆ÷¶Ë£¬ÔÚmysql¿âÏÂÖ´ÐÐ
grant all on *.* to 'remote'@'172.16.21.39' identified by 'password';
¼´¿É
Èç¹ûÒªÉèÖÃÎ ......
Êý¾Ý×Öµä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 ......
ÔÚÀûÓÃNETWORK_LINK·½Ê½µ¼³öµÄʱºò£¬³öÏÖÁËÕâ¸ö´íÎó¡£
Ïêϸ´íÎóÐÅÏ¢ÈçÏ£º
bash-3.00$ expdp yangtk/yangtk directory=d_temp dumpfile=jiangsu.dp network_link=test113 logfile=jiangsu.log tables=cat_org
Export: Release11.1.0.6.0 - 64bit Production onÐÇÆÚ¶þ, 16 9ÔÂ, 2008 17:08:22
Copyright (c) 2003, 2007, ......
ǰЩÈÕ×Ó£¬Êý¾Ý¿â¿Õ¼ä±¬Âú£¬ÒѾÔö³¤µ½´æ´¢¿Õ¼äµ¥¸ö´æ´¢ÎļþµÄ×î´óÖµ32G¡£µ«ÊÇ£¬²ÉÓÃÁ˺ܶà°ì·¨²ÅÊͷŵô±í¿Õ¼ä£¬Ö÷ÒªÊÇϵͳÖдóÁ¿Ê¹Ó÷ÖÇø±í£¬¶øÕë¶Ô·ÖÇø±íÇå³ýÊý¾Ý£¬²»»áÊͷűí¿Õ¼ä£¬±ØÐë°Ñ·ÖÇødropµô£¬²Å»áÊͷſռ䡣¼Ç¼һϵ±Ê±²Ù×÷ʱѧϰºÍʹÓõÄһЩÓï¾ä£º
Ò»¡¢dr ......
ÓÃInstallAnywhere´ò°üJava³ÌÐò°üº¬MySQLÊý¾Ý¿â
InstallAnywhere´ò°üJava³ÌÐòʱ¿ÉÒÔ×Ô¶¯Íê³ÉjreµÄ´ò°ü£¬µ«ÊÇÐèÒªMySQLÊý¾Ý¿âµÄ³ÌÐò¾ÍµÃÊÖ¶¯Ìí¼Ó¡£×ÊÁÏÌ«ÉÙ£¬¾À½áÁËÈýÌ죬ÖÕÓÚ½â¾ö
1¡¢ ÏÂÔØÂÌÉ«°æµÄMySQL£¬¿ÉÒÔÈ¥¹ÙÍøÏÂÔØ¡£ÍøÓÑÖÆ×÷ÁËMySQLµÄÂÌÉ«¾«¼òBat°æ£¨http://download.csdn.net/source/524812 ......