Hi everyone
I hoppe you can help me please.
I am using GG to replicate between two MySQL data bases, but I receive a error when I am doing the extract configuration.
Here is my configuration:
--- Source
VMware
Win XP 32bits
mysql-5.5.24-win32 community server
nomina database
--- Target
VMware
Win XP 32bits
mysql-5.5.24-win32 community server
nomina database
E:\goldenGate>install addservice
Service 'GGSMGR' created.
Install program terminated normally.
GGSCI (hpxp1) 2> EDIT PARAMS MGR
PORT 7809
GGSCI > start manager
--- MySQL
E:\MySQL\my.ini
log-bin="E:/MySQL/log/mysqllogs.bin"
max_binlog_size=4096
binlog_format=row
E:\goldenGate>net stop MySQL
The MySQL service is stopping..
The MySQL service was stopped successfully.
E:\goldenGate>
E:\goldenGate>net start MySQL
The MySQL service is starting..
The MySQL service was started successfully.
E:\MySQL\log>dir
Volume in drive E is New Volume
Volume Serial Number is 7410-5A7E
Directory of E:\MySQL\log
05/22/2012 03:33 PM <DIR> .
05/22/2012 03:33 PM <DIR> ..
05/22/2012 03:33 PM 107 mysqllogs.000001
05/22/2012 03:33 PM 30 mysqllogs.index
2 File(s) 137 bytes
2 Dir(s) 8,385,495,040 bytes free
E:\MySQL\log>
--- Extract
GGSCI> add extract exmysql, tranlogs, begin now
GGSCI> add exttrail E:\goldenGate\dirdat\my, extract exmysql
GGSCI> edit params exmysql
extract exmysql
dboptions host localhost, connectionport 3306
sourcedb nomina, userid root, password admin1
exttrail E:\goldenGate\dirdat\my
DISCARDFILE discardNomina.log, APPEND
table nomina.*;
--- ERROR
2012-05-23 08:56:39 ERROR OGG-00303 Oracle GoldenGate Capture for ODBC, EXMYSQL.prm: Did not recognize dboptions parameter argument host.
2012-05-23 08:56:39 ERROR OGG-01668 Oracle GoldenGate Capture for ODBC, EXMYSQL.prm: PROCESS ABENDING.
I read the Oracle documentation and dboptions with host and connectionport its only for replicat, then I try again
--- ERROR
extract exmysql
sourcedb nomina, userid root, password admin1
exttrail E:\goldenGate\dirdat\my
DISCARDFILE discardNomina.log, APPEND
table nomina.*;
2012-05-23 08:58:05 ERROR OGG-00551 Oracle GoldenGate Capture for ODBC, EXMYSQL.prm: Database operation failed: Couldn't connect to nomina. ODBC error: SQLSTATE IM002 native database error 0. [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified.
2012-05-23 08:58:05 ERROR OGG-01668 Oracle GoldenGate Capture for ODBC, EXMYSQL.prm: PROCESS ABENDING.
GGSCI 16> status all
Program Status Group Lag Time Since Chkpt
MANAGER RUNNING
EXTRACT STOPPED EXMYSQL 00:00:00 15:25:51
GGSCI (VENUS) 17>
Kind Regards
I hoppe you can help me please.
I am using GG to replicate between two MySQL data bases, but I receive a error when I am doing the extract configuration.
Here is my configuration:
--- Source
VMware
Win XP 32bits
mysql-5.5.24-win32 community server
nomina database
--- Target
VMware
Win XP 32bits
mysql-5.5.24-win32 community server
nomina database
E:\goldenGate>install addservice
Service 'GGSMGR' created.
Install program terminated normally.
GGSCI (hpxp1) 2> EDIT PARAMS MGR
PORT 7809
GGSCI > start manager
--- MySQL
E:\MySQL\my.ini
log-bin="E:/MySQL/log/mysqllogs.bin"
max_binlog_size=4096
binlog_format=row
E:\goldenGate>net stop MySQL
The MySQL service is stopping..
The MySQL service was stopped successfully.
E:\goldenGate>
E:\goldenGate>net start MySQL
The MySQL service is starting..
The MySQL service was started successfully.
E:\MySQL\log>dir
Volume in drive E is New Volume
Volume Serial Number is 7410-5A7E
Directory of E:\MySQL\log
05/22/2012 03:33 PM <DIR> .
05/22/2012 03:33 PM <DIR> ..
05/22/2012 03:33 PM 107 mysqllogs.000001
05/22/2012 03:33 PM 30 mysqllogs.index
2 File(s) 137 bytes
2 Dir(s) 8,385,495,040 bytes free
E:\MySQL\log>
--- Extract
GGSCI> add extract exmysql, tranlogs, begin now
GGSCI> add exttrail E:\goldenGate\dirdat\my, extract exmysql
GGSCI> edit params exmysql
extract exmysql
dboptions host localhost, connectionport 3306
sourcedb nomina, userid root, password admin1
exttrail E:\goldenGate\dirdat\my
DISCARDFILE discardNomina.log, APPEND
table nomina.*;
--- ERROR
2012-05-23 08:56:39 ERROR OGG-00303 Oracle GoldenGate Capture for ODBC, EXMYSQL.prm: Did not recognize dboptions parameter argument host.
2012-05-23 08:56:39 ERROR OGG-01668 Oracle GoldenGate Capture for ODBC, EXMYSQL.prm: PROCESS ABENDING.
I read the Oracle documentation and dboptions with host and connectionport its only for replicat, then I try again
--- ERROR
extract exmysql
sourcedb nomina, userid root, password admin1
exttrail E:\goldenGate\dirdat\my
DISCARDFILE discardNomina.log, APPEND
table nomina.*;
2012-05-23 08:58:05 ERROR OGG-00551 Oracle GoldenGate Capture for ODBC, EXMYSQL.prm: Database operation failed: Couldn't connect to nomina. ODBC error: SQLSTATE IM002 native database error 0. [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified.
2012-05-23 08:58:05 ERROR OGG-01668 Oracle GoldenGate Capture for ODBC, EXMYSQL.prm: PROCESS ABENDING.
GGSCI 16> status all
Program Status Group Lag Time Since Chkpt
MANAGER RUNNING
EXTRACT STOPPED EXMYSQL 00:00:00 15:25:51
GGSCI (VENUS) 17>
Kind Regards