Database Link to Mysql Database.
Hi Guys.
I need to Create a Database Link a Mysql database that is running over a Red Hat server to my Oracle 10g Database that is running over SUSE. I Have an Application server where the user runs forms and Report. The user access the Application Server that allow them to connect to Oracle Database because is a web Environtment. I would like to access MYSQL database to pull our some data to create a couple of Views for my Users.
Thanks in Advance.
Emmanuel
PD: do I need to configure some ODBC or just modify my tnsname.ora file???
add a space to each line in the SID section of your listener - only GTW_LISTENER and SID_LIST_GTW_LISTENER are valid commands to start at the first position in the file.
In addition please remove that line from your gateway init file: HS_FDS_SHAREABLE_NAME=C:\Program Files\MySQL\Connector ODBC 5.2\myodbc5w.dll
HS_FDS_SHAREABLE_NAME is used on Unix to specify the ODBC Driver Manager - as you're on Windows where Windoes ships a valid ODBC Driver Manager you don't need to specify that parameter.manager. In addition please remove the set ODBCINI parameter as the Windows ODBC Driver Manager uses the registry. So make sure you have created a 64bit ODBC system DSN using the 64bit MySQL ODBC driver (it has to be the 64bit ODBC driver as you're on a 64bit Windows using a 64bit DG4ODBC)
- Klaus
Similar Messages
-
Any Good link for mysql Installation in solaris 10?
Please share with me good link for mysql, Tomcat installation(latest version)
I found http://instmysql5sol10.blogspot.com/ in internet but not able to download "Download the packages (both Standard and Max) and save them in an appropriate directory".alan.pae wrote:
attempted to install Solaris on it. Everything goes OK but I am confused by an info message that I get upon booting the system from CD:
SunOS Release 5.10 Version Generic_137138-09 *32-bit* You got it installed and then you booted from the CD???
If you booted from the hard disk then run:
isainfo -kv
alanNo, of course not. It isn't installed yet. I meant that I booted the
computer from from the install DVD to start the installation process.
But thanks for the info. I'll install it and will run this command. -
Oracle database link to MySQL select only one row
Hello,
I have created a connection from the Oracle batabase 11.2 to a MySQL database via database link. The following statement shows, that 35 rows are in the mySQL table:
SQL> select count(*) from "main_pages"@MOREWEB;
COUNT(*)
35
But a normal select statement only return 1 row.
SQL> select "subject" from "main_pages"@MOREWEB;
subject
Übersicht: Referenzen
I am using the mysql-connector-odbc-3.51.30-winx64 driver. A newer version cann't be installed because on Windows Server 2008 R2 I get an error with an missing dll-file. The DataDirect-ODBC-driver is not possible, because we like to use the free MySQL-database an DataDirect only support the enterprise edition.
I also have tried to limit the HS_OPEN_CURSORS or dont limit the HS_FDS_FETCH_ROWS, but there is no difference in the result. I always get only one row.
HS Init.ora
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO = moreweb
HS_FDS_TRACE_LEVEL = ON
HS_FDS_FETCH_ROWS=1
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
HS tracefile
Oracle Corporation --- MITTWOCH NOV 05 2014 13:56:22.066
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- MITTWOCH NOV 05 2014 13:56:22.066
Version 11.2.0.1.0
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "ON"
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "1"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using mpgw as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
SQL text from hgopars, id=1, len=36 ...
00: 53454C45 43542043 4F554E54 282A2920 [SELECT COUNT(*) ]
10: 46524F4D 20606D61 696E5F70 61676573 [FROM `main_pages]
20: 60204131 [` A1]
Deferred open until first fetch.
Performing delayed open.
SQL text from hgopars, id=1, len=40 ...
00: 53454C45 43542041 312E6073 75626A65 [SELECT A1.`subje]
10: 63746020 46524F4D 20606D61 696E5F70 [ct` FROM `main_p]
20: 61676573 60204131 [ages` A1]
Deferred open until first fetch.
Performing delayed open.
Please can help me someone.
Thanks.
Biancamxallen wrote:
Bianca,
If you log directly into MySQL and issue the same query (select "subject" from "main_pages";) what data is returned?
I looks to me that you count is the number of rows in the entire table "main_pages"
while you select is for the data in the "subject" column only.
This seems to indicate that you have just one row in that subject column.
Regards,
Matt
WHAATT?
What do you mean by "just one row in that subject column"?
That makes no sense at all. A row is a row. A column is a part of a row. All rows have all columns, though not all columns of all rows will necessarily have an assigned value. Lacking a WHERE clause to filter rows, any SELECT should return all rows. -
anyone know the syntax to link to a table in mysql,
i'm developing an expert system, having problem linking up with the database.....i'm quite new to java......anyone know the syntax to link to a table in mysql, There is no "syntax".
http://java.sun.com/docs/books/tutorial/jdbc/index.html
There endless online resources on JDBC
having problem linking up with the database.....i'm quite new to java......And problems with stuck kkkkeeeeyyyyyssss...... -
Can't link to MySQL from different website
I have succcessfully set up a table on my ISP's server
holding a MySQL database. One of my websites uses the data in one
table on their website.
I now want to use another table on the same database, for
another client (I am only doing it temporarily so no security
worries).
The problem is that although I am setting up everything
exactly the same way I cannot get access to the database. I have
tried setting up another user name and account to sign into the
database for the new client but no luck.
I am also logged into my mac as Root user and have full admin
privillages.
The error message I get says: MySQL error # 1045 access
denied for user 'assistdirect_net'@'wmphpp06.st.lyceu.net' (using
password: YES)
Any ideas?Check your local firewall/iptables configuration.
-
Oracle10g how to link to mysql on 64 bit-system
hi,i use hsodbc connect to mysql-odbc.
but hsodbc only can be used in 32 bit-system,i can't update oracle10g to oracle11 and use dg4odbc.
how to resolve this problem? thxWelcome to the forums !
This forum is meant for issues related to Oracle certification. Pl re-post in a more appropriate forum (such as Heterogeneous Connectivity
HTH
Srini -
Button to link to MySQL?
I am a Java beginner.
I am writing a program for recording customers' payment.
I would like to a button on a GUI for me to click to add a record. For example, I can add a record of $100 to MySQL simply by clicking this button. Whenever the customer pays, I can click it to add the record.
What code should I write? Are there any recommended books for me to refer to?
Many thanks for great help in advance.I have consulted my books and Google.
Should anything be missing here?
ButtonHandler handler = new ButtonHandler();]
paymentButton.addActionListener( handler );
class ButtonHandler implements ActionListener
void actionPerformed (Action Event event)
// MySQL stuff here;
// assume that I have specified the data types
statement.executeQuery(
"INSERT into paymentTable (customerIDColumn, paymentAmountColumn....)
values (1, 100...);" );
} -
Creating a DB link between mySQL and Oracle
How can I create a dblink in mySQL to view the data in an Oracle 10g table?
Thanks
RoaldRoald.vandenBerg wrote:
How can I create a dblink in mySQL to view the data in an Oracle 10g table?
Thanks
Roaldheterogeneous services; -
How to connect APEX with MYSQL via Apex's Database link
How do i connect APEX with MYSQL via Apex's Database link? The OBE doesn't go into specific detail about how to link the two.
can someone please elaborate on what these are and where i can find them in mysql:
Database Link Name
Connect To Schema
Password
Remote Hostname or IP
Remote Host Port
SID or Service Name
I need to link to mysql database so I can set up a 3D pie chart in apexHi jononioo
A database link is a device for connecting between Oracle database instances only. Oracle does have a method for connecting to other database systems (Transparent Gateway) but this is restricted to other commercial databases and I don't believe there is a gateway for Mysql. (I could be wrong)
I don't know Mysql but maybe there is some way to push data to the Oracle instance. Other than that, is there any reason why the data has to reside in the Mysql database?
Regards
Andre -
Database Link Error to MySQL when using variables
Hi Guys
I currently hava a database link to MySQL. I can read, insert, delete and update with no problems when using literals. However when I attempt to carry out the same actions using pl/sql variables I recieve the following error:
ORA-02055: distributed update operation failed; rollback required
ORA-02068: following severe error from AAA1
ORA-28511: lost RPC connection to heterogeneous remote agent using SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ProdDB.btl.net)(PORT=1527))(CONNECT_DATA=(SID=AAA1)))
ORA-06512: at line 15
Could you kindly give me some suggestions?
PL/SQL Code
Declare
MSISDN2 char(8);
IMSI2 number(28,0);
ICC2 number(28,0);
cnt number(28,0);
Begin
MSISDN2 :='610-0850';
IMSI2:=8950167090300132451;
ICC2:=702670161017765;
delete from "SUBSCRIBERS"@AAA1 where "MSISDN" = MSISDN2;--"ICC" = ICC2 or "IMSI" = IMSI2;
End;
System Info:
Oracle Database 10.2.0.5.0 on Redhat Linux 64 bit
Oracle Database Gateways for ODBC 11.2.0.1.0 on same machine as above
UnixODBC-3.2.1 compiled in 64bit mode on same machine as well
MySQL ODBC Connector DriverVer:05.02.0002
ODBC DSN
; odbc.ini configuration for Connector/ODBC and Connector/ODBC 3.51 drivers
[ODBC Data Sources]
AAA1 = MyODBC 5.2.2 Driver DSN
[AAA1]
Driver = /usr/lib64/libmyodbc5w.so
Description = Connector/ODBC 5.52 Driver DSN
SERVER = 10.50.18.89
USER = tytancc2
Password = xxxxxx
Database = radiator
OPTION = 3
CHARSET = latin1
Trace = yes
TraceFile = /tmp/unixodbc.sql.log
Debug = 1
Debugfile = /tmp/unixodbc.debug.log
HS File
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO = AAA1
#HS_FDS_TRACE_LEVEL = 255
HS_FDS_TRACE_LEVEL = DEBUG
#HS_FDS_SHAREABLE_NAME = /usr/lib64/libmyodbc5w.so
HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so.2
HS_FDS_SQLLEN_INTERPRETATION=32
#HS_LANGUAGE = AMERICAN_AMERICA.AL32UTF8
#HS_LANGUAGE = AMERICAN_AMERICA.WE8ISO8859P15
#HS_LANGUAGE = AMERICAN_AMERICA.WE8ISO8859P1
HS_LANGUAGE = AMERICAN_AMERICA.LATIN1
HS_FDS_FETCH_ROWS=1
#HS_NLS_NCHAR= UCS2
#HS_OPEN_CURSORS=10
# ODBC specific environment variables
set ODBCINI=/u01/oracle/.odbc.ini
set ODBCINSTINI=/etc/odbcinst.ini
# Environment variables required for the non-Oracle system
set LD_LIBRARY_PATH=/usr/lib64
Trace File
Oracle Corporation --- FRIDAY FEB 08 2013 22:01:40.555
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- FRIDAY FEB 08 2013 22:01:40.549
Version 11.2.0.1.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
HOSGIP returned value of "1" for HS_FDS_FETCH_ROWS
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
HOSGIP returned value of "32" for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "AAA1"
Product-Info:
Port Rls/Upd:1/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:AAA1
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=31
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=31
HOCXU_SEM_VER=102000
Entered hgolofn at 2013/02/08-22:01:40
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/libodbc.so.2"
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a08f61
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a090e5
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a09c18
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a0b6dc
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a17bc4
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a182e8
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a1bc40
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a1dad8
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a1e6dc
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a20bae
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a20bd0
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a22f44
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a276d4
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a27b90
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a2a4a4
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a2b574
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a2b99c
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a2e65c
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a2ecd0
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a31db8
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a31ac0
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a0c47c
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a0e884
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a14943
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a1714a
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a19327
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a1d2ce
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a1f648
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a210c7
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a23990
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a2414c
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a25d26
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a26cc0
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a288a8
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a28c67
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a29e88
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a2c51e
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a2ccfa
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a2d5c0
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a2de92
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a2f088
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a33fa4
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a315fe
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a36de2
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a380ec
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Exiting hgolofn, rc=0 at 2013/02/08-22:01:40
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "1"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
treat_SQLLEN_as_compiled = 0
Exiting hgoinit, rc=0 at 2013/02/08-22:01:40
Entered hgolgon at 2013/02/08-22:01:40
reco:0, name:tytancc2, tflag:0
Entered hgosuec at 2013/02/08-22:01:40
Exiting hgosuec, rc=0 at 2013/02/08-22:01:40
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using tytancc2 as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2013/02/08-22:01:40
HS_FDS_CONNECT_INFO = "AAA1"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2013/02/08-22:01:40
dsn:AAA1, name:tytancc2
optn:
Entered hgocip at 2013/02/08-22:01:40
dsn:AAA1
Exiting hgocip, rc=0 at 2013/02/08-22:01:40
Exiting hgogenconstr, rc=0 at 2013/02/08-22:01:40
Entered hgolosf at 2013/02/08-22:01:45
Exiting hgolosf, rc=0 at 2013/02/08-22:01:45
DriverName:libmyodbc5w.so, DriverVer:05.02.0002
DBMS Name:MySQL, DBMS Version:5.1.66-community-log
Exiting hgocont, rc=0 at 2013/02/08-22:01:45
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 192 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2013/02/08-22:01:45
Entered hgoulcp at 2013/02/08-22:01:45
Entered hgowlst at 2013/02/08-22:01:45
Exiting hgowlst, rc=0 at 2013/02/08-22:01:45
SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
TXN Capable:3, Isolation Option:0xf
SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
SQLGetInfo returns 192 for SQL_MAX_TABLE_NAME_LEN
SQLGetInfo returns 192 for SQL_MAX_PROCEDURE_NAME_LEN
SQLGetInfo returns ` (0x60) for SQL_IDENTIFIER_QUOTE_CHAR
SQLGetInfo returns Y for SQL_COLUMN_ALIAS
16 instance capabilities will be uploaded
capno:1964, context:0x00000000, add-info: 0
capno:1989, context:0x00000000, add-info: 0
capno:1991, context:0x0001ffff, add-info: 0
capno:1992, context:0x0001ffff, add-info: 1, translation:"`"
capno:3042, context:0x00000000, add-info: 0, translation:"42"
capno:3047, context:0x00000000, add-info: 0, translation:"57"
capno:3049, context:0x00000000, add-info: 0, translation:"59"
capno:3050, context:0x00000000, add-info: 0, translation:"60"
capno:3066, context:0x00000000, add-info: 0
capno:3067, context:0x00000000, add-info: 0
capno:3068, context:0x00000000, add-info: 0
capno:3069, context:0x00000000, add-info: 0
capno:3500, context:0x00000001, add-info: 91, translation:"42"
capno:3501, context:0x00000001, add-info: 93, translation:"57"
capno:3502, context:0x00000001, add-info: 107, translation:"59"
capno:3503, context:0x00000001, add-info: 110, translation:"60"
Exiting hgoulcp, rc=0 at 2013/02/08-22:01:45
Entered hgouldt at 2013/02/08-22:01:45
NO instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2013/02/08-22:01:45
Entered hgobegn at 2013/02/08-22:01:45
tflag:0 , initial:1
hoi:0x9671a48, ttid (len 26) is ...
00: 54595441 4E2E6438 32323564 62642E32 [TYTAN.d8225dbd.2]
10: 392E372E 33313031 3433 [9.7.310143]
tbid (len 10) is ...
0: 1D000700 7FBB0400 0104 [..........]
Exiting hgobegn, rc=0 at 2013/02/08-22:01:45
Entered hgopdsc at 2013/02/08-22:01:45
Describing procedure SUBSCRIBERS
Output hoada
hgopdsc, line 1406: NO hoada to print
Exiting hgopdsc, rc=942 at 2013/02/08-22:01:45
Entered hgodtab at 2013/02/08-22:01:45
count:1
table: SUBSCRIBERS
Allocate hoada[0] @ 0x3a23590
Entered hgopcda at 2013/02/08-22:01:45
Column:1(MSISDN): dtype:1 (CHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:2(IMSI): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:8, sign:1, radix:10
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:3(ICC): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:8, sign:1, radix:10
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:4(CHECKATTR): dtype:1 (CHAR), prc/scl:200/0, nullbl:1, octet:200, sign:1, radix:10
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:5(REPLYATTR): dtype:1 (CHAR), prc/scl:200/0, nullbl:1, octet:200, sign:1, radix:10
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:6(TIMELEFT): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:10
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:7(ELIMINATED): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:10
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:8(SUSPENDED): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:10
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
The hoada for table SUBSCRIBERS follows...
hgodtab, line 876: Printing hoada @ 0x3a23590
MAX:8, ACTUAL:8, BRC:1, WHT=6 (TABLE_DESCRIBE)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR,0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
1 CHAR N 8 8 0/ 0 0 0 200 MSISDN
-5 BIGINT N 8 8 0/ 0 0 0 20 IMSI
-5 BIGINT N 8 8 0/ 0 0 0 20 ICC
1 CHAR Y 200 200 0/ 0 0 0 200 CHECKATTR
1 CHAR Y 200 200 0/ 0 0 0 200 REPLYATTR
-5 BIGINT Y 8 8 0/ 0 0 0 20 TIMELEFT
-5 BIGINT Y 8 8 0/ 0 0 0 20 ELIMINATED
-5 BIGINT Y 8 8 0/ 0 0 0 20 SUSPENDED
Exiting hgodtab, rc=0 at 2013/02/08-22:01:45
Entered hgodafr, cursor id 0 at 2013/02/08-22:01:45
Free hoada @ 0x3a23590
Exiting hgodafr, rc=0 at 2013/02/08-22:01:45
Entered hgopars, cursor id 1 at 2013/02/08-22:01:45
type:0
SQL text from hgopars, id=1, len=134 ...
00: 53454C45 43542041 312E604D 53495344 [SELECT A1.`MSISD]
10: 4E602C41 312E6049 4D534960 2C41312E [N`,A1.`IMSI`,A1.]
20: 60494343 602C4131 2E604348 45434B41 [`ICC`,A1.`CHECKA]
30: 54545260 2C41312E 60524550 4C594154 [TTR`,A1.`REPLYAT]
40: 5452602C 41312E60 54494D45 4C454654 [TR`,A1.`TIMELEFT]
50: 602C4131 2E60454C 494D494E 41544544 [`,A1.`ELIMINATED]
60: 602C4131 2E605355 5350454E 44454460 [`,A1.`SUSPENDED`]
70: 2046524F 4D206053 55425343 52494245 [ FROM `SUBSCRIBE]
80: 52536020 4131 [RS` A1]
Exiting hgopars, rc=0 at 2013/02/08-22:01:45
Entered hgoopen, cursor id 1 at 2013/02/08-22:01:45
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2013/02/08-22:01:45
Entered hgodscr, cursor id 1 at 2013/02/08-22:01:45
Allocate hoada @ 0x3a23538
Entered hgopcda at 2013/02/08-22:01:45
Column:1(MSISDN): dtype:1 (CHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:2(IMSI): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:8, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:3(ICC): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:8, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:4(CHECKATTR): dtype:1 (CHAR), prc/scl:200/0, nullbl:1, octet:200, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:5(REPLYATTR): dtype:1 (CHAR), prc/scl:200/0, nullbl:1, octet:200, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:6(TIMELEFT): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:7(ELIMINATED): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:8(SUSPENDED): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
hgodscr, line 880: Printing hoada @ 0x3a23538
MAX:8, ACTUAL:8, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR,0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
1 CHAR N 8 8 0/ 0 0 0 200 MSISDN
-5 BIGINT N 8 8 0/ 0 0 0 20 IMSI
-5 BIGINT N 8 8 0/ 0 0 0 20 ICC
1 CHAR Y 200 200 0/ 0 0 0 200 CHECKATTR
1 CHAR Y 200 200 0/ 0 0 0 200 REPLYATTR
-5 BIGINT Y 8 8 0/ 0 0 0 20 TIMELEFT
-5 BIGINT Y 8 8 0/ 0 0 0 20 ELIMINATED
-5 BIGINT Y 8 8 0/ 0 0 0 20 SUSPENDED
Exiting hgodscr, rc=0 at 2013/02/08-22:01:45
Entered hgoclse, cursor id 1 at 2013/02/08-22:01:46
Exiting hgoclse, rc=0 at 2013/02/08-22:01:46
Entered hgodafr, cursor id 1 at 2013/02/08-22:01:46
Free hoada @ 0x3a23538
Exiting hgodafr, rc=0 at 2013/02/08-22:01:46
Entered hgopars, cursor id 1 at 2013/02/08-22:01:46
type:0
SQL text from hgopars, id=1, len=56 ...
00: 44454C45 54452046 524F4D20 60535542 [DELETE FROM `SUB]
10: 53435249 42455253 60205748 45524520 [SCRIBERS` WHERE ]
20: 60535542 53435249 42455253 602E604D [`SUBSCRIBERS`.`M]
30: 53495344 4E603D3F [SISDN`=?]
Exiting hgopars, rc=0 at 2013/02/08-22:01:46
Entered hgoexec, cursor id 1 at 2013/02/08-22:01:46
octype=3 (DELETE)
hgoexec, line 108: Printing hoada @ 0x3a23538
MAX:1, ACTUAL:1, BRC:1, WHT=3 (BIND_LIST)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
1 CHAR N 8 0 0/ 0 31 0 200 ?
Entered hgoprbv at 2013/02/08-22:01:46
hgoprbv, line 145: Printing hoada @ 0x3a23538
MAX:1, ACTUAL:1, BRC:1, WHT=3 (BIND_LIST)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
1 CHAR N 8 0 0/ 0 31 0 200 ?
Exiting hgoprbv, rc=0 at 2013/02/08-22:01:46Entry:
Statement = 0x12401d00
Option = 0
[ODBC][379][1360881002.979016][SQLFreeStmt.c][263]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979038][SQLGetTypeInfo.c][168]
Entry:
Statement = 0x12401d00
Data Type = SQL_BIGINT
[ODBC][379][1360881002.979073][SQLGetTypeInfo.c][318]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979096][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.979122][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979144][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.979169][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979191][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.979220][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979242][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.979267][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979289][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.979310][SQLFetch.c][348]
Exit:[SQL_NO_DATA]
[ODBC][379][1360881002.979332][SQLFreeStmt.c][144]
Entry:
Statement = 0x12401d00
Option = 0
[ODBC][379][1360881002.979354][SQLFreeStmt.c][263]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979376][SQLGetTypeInfo.c][168]
Entry:
Statement = 0x12401d00
Data Type = SQL_BIGINT
[ODBC][379][1360881002.979411][SQLGetTypeInfo.c][318]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979437][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.979463][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979486][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.979511][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979533][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.979559][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979581][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.979606][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979644][SQLFreeStmt.c][144]
Entry:
Statement = 0x12401d00
Option = 0
[ODBC][379][1360881002.979667][SQLFreeStmt.c][263]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979689][SQLGetTypeInfo.c][168]
Entry:
Statement = 0x12401d00
Data Type = SQL_TINYINT
[ODBC][379][1360881002.979728][SQLGetTypeInfo.c][318]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979762][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.979801][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979835][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.979882][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979920][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.979962][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979998][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.980040][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.980074][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.980107][SQLFetch.c][348]
Exit:[SQL_NO_DATA]
[ODBC][379][1360881002.980140][SQLFreeStmt.c][144]
Entry:
Statement = 0x12401d00
Option = 0
[ODBC][379][1360881002.980176][SQLFreeStmt.c][263]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.980214][SQLGetTypeInfo.c][168]
Entry:
Statement = 0x12401d00
Data Type = SQL_TINYINT
[ODBC][379][1360881002.980270][SQLGetTypeInfo.c][318]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.980313][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.980356][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.980392][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.980435][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.980471][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.980512][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.980547][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.980588][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.980624][SQLFreeStmt.c][144]
Entry:
Statement = 0x12401d00
Option = 0
[ODBC][379][1360881002.980661][SQLFreeStmt.c][263]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.980694][SQLGetTypeInfo.c][168]
Entry:
Statement = 0x12401d00
Data Type = SQL_LONGVARCHAR
[ODBC][379][1360881002.980749][SQLGetTypeInfo.c][318]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.980785][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.980827][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.980862][SQLFreeStmt.c][144]
Entry:
Statement = 0x12401d00
Option = 0
[ODBC][379][1360881002.980903][SQLFreeStmt.c][263]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.980938][SQLGetTypeInfo.c][168]
Entry:
Statement = 0x12401d00
Data Type = SQL_LONGVARBINARY
[ODBC][379][1360881002.980993][SQLGetTypeInfo.c][318]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.981028][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.981070][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.981105][SQLFreeStmt.c][144]
Entry:
Statement = 0x12401d00
Option = 0
[ODBC][379][1360881002.981140][SQLFreeStmt.c][263]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.981175][SQLFreeStmt.c][144]
Entry:
Statement = 0x12401d00
Option = 2
[ODBC][379][1360881002.981208][SQLFreeStmt.c][263]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.994533][SQLEndTran.c][421]
Entry:
Connection = 0x123d8530
Completion Type = 0
[ODBC][379][1360881002.996504][SQLGetInfo.c][554]
Entry:
Connection = 0x123d8530
Info Type = SQL_CURSOR_COMMIT_BEHAVIOR (23)
Info Value = 0x123d99a0
Buffer Length = 2
StrLen = 0x7fffe2e98e5e
[ODBC][379][1360881002.996546][SQLGetInfo.c][617]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.996572][SQLGetInfo.c][554]
Entry:
Connection = 0x123d8530
Info Type = SQL_CURSOR_ROLLBACK_BEHAVIOR (24)
Info Value = 0x123d99a2
Buffer Length = 2
StrLen = 0x7fffe2e98e5e
[ODBC][379][1360881002.996613][SQLGetInfo.c][617]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.996636][SQLEndTran.c][574]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.996666][SQLSetConnectAttr.c][396]
Entry:
Connection = 0x123d8530
Attribute = SQL_ATTR_TXN_ISOLATION
Value = 0x2
StrLen = -5
[ODBC][379][1360881002.999108][SQLSetConnectAttr.c][852]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.002982][SQLAllocHandle.c][540]
Entry:
Handle Type = 3
Input Handle = 0x123d8530
[ODBC][379][1360881003.003054][SQLAllocHandle.c][1081]
Exit:[SQL_SUCCESS]
Output Handle = 0x12439eb0
[ODBC][379][1360881003.003087][SQLFreeHandle.c][381]
Entry:
Handle Type = 3
Input Handle = 0x12401d00
[ODBC][379][1360881003.003139][SQLFreeHandle.c][491]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.003164][SQLAllocHandle.c][540]
Entry:
Handle Type = 3
Input Handle = 0x123d8530
[ODBC][379][1360881003.003196][SQLAllocHandle.c][1081]
Exit:[SQL_SUCCESS]
Output Handle = 0x12401d00
[ODBC][379][1360881003.003221][SQLBindCol.c][236]
Entry:
Statement = 0x12401d00
Column Number = 4
Target Type = 1 SQL_CHAR
Target Value = 0x7fffe2e98dc0
Buffer Length = 124
StrLen Or Ind = 0x7fffe2e98e90
[ODBC][379][1360881003.003249][SQLBindCol.c][341]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.003273][SQLBindCol.c][236]
Entry:
Statement = 0x12401d00
Column Number = 5
Target Type = -15 SQL_C_SSHORT
Target Value = 0x7fffe2e98f58
Buffer Length = 0
StrLen Or Ind = (nil)
[ODBC][379][1360881003.003296][SQLBindCol.c][341]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.003319][SQLBindCol.c][236]
Entry:
Statement = 0x12401d00
Column Number = 6
Target Type = 1 SQL_CHAR
Target Value = 0x7fffe2e98d28
Buffer Length = 120
StrLen Or Ind = 0x7fffe2e98eb8
[ODBC][379][1360881003.003342][SQLBindCol.c][341]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.003365][SQLBindCol.c][236]
Entry:
Statement = 0x12401d00
Column Number = 7
Target Type = -16 SQL_C_SLONG
Target Value = 0x7fffe2e98f34
Buffer Length = 0
StrLen Or Ind = 0x7fffe2e98e98
[ODBC][379][1360881003.003387][SQLBindCol.c][341]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.003410][SQLBindCol.c][236]
Entry:
Statement = 0x12401d00
Column Number = 9
Target Type = -15 SQL_C_SSHORT
Target Value = 0x7fffe2e98f5c
Buffer Length = 0
StrLen Or Ind = 0x7fffe2e98ea0
[ODBC][379][1360881003.003433][SQLBindCol.c][341]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.003456][SQLBindCol.c][236]
Entry:
Statement = 0x12401d00
Column Number = 10
Target Type = -15 SQL_C_SSHORT
Target Value = 0x7fffe2e98f64
Buffer Length = 0
StrLen Or Ind = 0x7fffe2e98ec0
[ODBC][379][1360881003.003479][SQLBindCol.c][341]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.003501][SQLBindCol.c][236]
Entry:
Statement = 0x12401d00
Column Number = 11
Target Type = -15 SQL_C_SSHORT
Target Value = 0x7fffe2e98f60
Buffer Length = 0
StrLen Or Ind = (nil)
[ODBC][379][1360881003.003524][SQLBindCol.c][341]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.003547][SQLBindCol.c][236]
Entry:
Statement = 0x12401d00
Column Number = 16
Target Type = -16 SQL_C_SLONG
Target Value = 0x7fffe2e98f40
Buffer Length = 0
StrLen Or Ind = 0x7fffe2e98ea8
[ODBC][379][1360881003.003572][SQLBindCol.c][341]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.003623][SQLColumns.c][215]
Entry:
Statement = 0x12401d00
Catalog Name = [radiator][length = 8]
Schema Name = [NULL]
Table Name = [SUBSCRIBERS2][length = 12]
Column Name = [NULL]
[ODBC][379][1360881003.014993][SQLColumns.c][412]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.015172][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881003.015247][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.015361][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881003.015396][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.015479][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881003.015513][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.015613][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881003.015647][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.015726][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881003.015758][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.015836][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881003.015870][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.015961][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881003.015994][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.016072][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881003.016104][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.016183][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881003.016209][SQLFetch.c][348]
Exit:[SQL_NO_DATA]
[ODBC][379][1360881003.016284][SQLFreeStmt.c][144]
Entry:
Statement = 0x12401d00
Option = 0
[ODBC][379][1360881003.016311][SQLFreeStmt.c][263]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.016438][SQLFreeStmt.c][144]
Entry:
Statement = 0x12401d00
Option = 2
[ODBC][379][1360881003.016465][SQLFreeStmt.c][263]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.016489][SQLFreeHandle.c][381]
Entry:
Handle Type = 3
Input Handle = 0x12439eb0
[ODBC][379][1360881003.016521][SQLFreeHandle.c][491]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.029258][SQLAllocHandle.c][540]
Entry:
Handle Type = 3
Input Handle = 0x123d8530
[ODBC][379][1360881003.029318][SQLAllocHandle.c][1081]
Exit:[SQL_SUCCESS]
Output Handle = 0x12439eb0
[ODBC][379][1360881003.029350][SQLPrepare.c][196]
Entry:
Statement = 0x12439eb0
SQL = [SELECT A1.`CHECKATTR` FROM `SUBSCRIBERS2` A1 WHERE A1.`MSISDN`='610-0850'][length = 73]
[ODBC][379][1360881003.029450][SQLPrepare.c][371]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.029482][SQLNumResultCols.c][156]
Entry:
Statement = 0x12439eb0
Column Count = 0x123c4538
[ODBC][379][1360881003.033825][SQLNumResultCols.c][248]
Exit:[SQL_SUCCESS]
Count = 0x123c4538 -> 1
[ODBC][379][1360881003.034106][SQLDescribeCol.c][247]
Entry:
Statement = 0x12439eb0
Column Number = 1
Column Name = 0x7fffe2e98c80
Buffer Length = 31
Name Length = 0x7fffe2e98dc4
Data Type = 0x7fffe2e98dc8
Column Size = 0x7fffe2e98d60
Decimal Digits = 0x7fffe2e98dcc
Nullable = 0x7fffe2e98dd0
[ODBC][379][1360881003.034152][SQLDescribeCol.c][497]
Exit:[SQL_SUCCESS]
Column Name = [CHECKATTR]
Data Type = 0x7fffe2e98dc8 -> 1
Column Size = 0x7fffe2e98d60 -> 200
Decimal Digits = 0x7fffe2e98dcc -> 0
Nullable = 0x7fffe2e98dd0 -> 1
[ODBC][379][1360881003.034182][SQLColAttribute.c][293]
Entry:
Statement = 0x12439eb0
Column Number = 1
Field Identifier = SQL_DESC_OCTET_LENGTH
Character Attr = (nil)
Buffer Length = 0
String Length = (nil)
Numeric Attribute = 0x7fffe2e98d68
[ODBC][379][1360881003.034245][SQLColAttribute.c][664]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.034336][SQLSetStmtAttr.c][265]
Entry:
Statement = 0x12439eb0
Attribute = SQL_ATTR_ROW_ARRAY_SIZE
Value = 0x1
StrLen = 0
[ODBC][379][1360881003.034370][SQLSetStmtAttr.c][925]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.038845][SQLAllocHandle.c][540]
Entry:
Handle Type = 3
Input Handle = 0x123d8530
[ODBC][379][1360881003.038910][SQLAllocHandle.c][1081]
Exit:[SQL_SUCCESS]
Output Handle = 0x1244ae50
[ODBC][379][1360881003.038941][SQLPrepare.c][196]
Entry:
Statement = 0x1244ae50
SQL = [SELECT A1.`CHECKATTR` FROM `SUBSCRIBERS2` A1 WHERE A1.`MSISDN`='610-0850'][length = 73]
[ODBC][379][1360881003.038986][SQLPrepare.c][371]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.039011][SQLNumResultCols.c][156]
Entry:
Statement = 0x1244ae50
Column Count = 0x123c45c0
[ODBC][379][1360881003.041037][SQLNumResultCols.c][248]
Exit:[SQL_SUCCESS]
Count = 0x123c45c0 -> 1
[ODBC][379][1360881003.041271][SQLDescribeCol.c][247]
Entry:
Statement = 0x1244ae50
Column Number = 1
Column Name = 0x7fffe2e98c80
Buffer Length = 31
Name Length = 0x7fffe2e98dc4
Data Type = 0x7fffe2e98dc8
Column Size = 0x7fffe2e98d60
Decimal Digits = 0x7fffe2e98dcc
Nullable = 0x7fffe2e98dd0
[ODBC][379][1360881003.041311][SQLDescribeCol.c][497]
Exit:[SQL_SUCCESS]
Column Name = [CHECKATTR]
Data Type = 0x7fffe2e98dc8 -> 1
Column Size = 0x7fffe2e98d60 -> 200
Decimal Digits = 0x7fffe2e98dcc -> 0
Nullable = 0x7fffe2e98dd0 -> 1
[ODBC][379][1360881003.041337][SQLColAttribute.c][293]
Entry:
Statement = 0x1244ae50
Column Number = 1
Field Identifier = SQL_DESC_OCTET_LENGTH
Character Attr = (nil)
Buffer Length = 0
String Length = (nil)
Numeric Attribute = 0x7fffe2e98d68
[ODBC][379][1360881003.041362][SQLColAttribute.c][664]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.041444][SQLSetStmtAttr.c][265]
Entry:
Statement = 0x1244ae50
Attribute = SQL_ATTR_ROW_ARRAY_SIZE
Value = 0x1
StrLen = 0
[ODBC][379][1360881003.041472][SQLSetStmtAttr.c][925]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.043645][SQLExecute.c][187]
Entry:
Statement = 0x1244ae50
[ODBC][379][1360881003.048482][SQLExecute.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.048531][SQLBindCol.c][236]
Entry:
Statement = 0x1244ae50
Column Number = 1
Target Type = 1 SQL_CHAR
Target Value = 0x12438f50
Buffer Length = 201
StrLen Or Ind = 0x12439060
[ODBC][379][1360881003.048559][SQLBindCol.c][341]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.048597][SQLFetch.c][162]
Entry:
Statement = 0x1244ae50
[ODBC][379][1360881003.048640][SQLFetch.c][348]
Exit:[SQL_SUCCESS] -
DATABASE LINK with GROUP BY SQL Statemnets
We have Oracle Database Link linked to MySQL . We want to force executing remote statement that contains group by on the remote MySQL server and let MySQL do the aggregation instead of Oracle.
We tried also DRIVING_SITE but it doesn't help and the query that was sent to MySQL from Oracle DB Link didn't include GROUP BY and it looks like that the Group by was executed on the local Oracle.
Is there a way for force executing GROUP BY statements on remote DB instead of the local Oracle DB?Try to create a local view based ao the remote table and use the view.
-
hello everyone, after spending most of the day trying to figure this out i hope that you guys with more experience can provide some suggestions. i have been experimenting with the a linked server (MYSQL 5) and managed to get all the select queries to work
fine, but the insert is giving me troubles. MSSQL is 2008 R2, the odbc connector is the most recent.
so here is some useful testing material:
-- Table structure for myTest on the MYSQL server
DROP TABLE IF EXISTS `myTest`;
CREATE TABLE `myTest` (
`id` bigint(20) NOT NULL,
`mystring` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
`mydate` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- Records
INSERT INTO `myTest` VALUES ('1', 'string1', '2009-04-17 13:11:41');
INSERT INTO `myTest` VALUES ('2', 'strin2', '2009-04-17 13:12:48');
INSERT INTO `myTest` VALUES ('3', 'string3', '2009-12-09 12:29:48');
INSERT INTO `myTest` VALUES ('4', 'nostring', '2009-12-18 12:29:48');
INSERT INTO `myTest` VALUES ('5', 'stfing5', '2010-07-17 16:40:00');
then i copied the data from mysql to MSSQL and made up new data and copied it into the 'local' copy of the mysql table:
-- copy stuff from mysql
select *
into [msTest]
from openquery(MYSQL, 'select * from myTest');
--make a copy and change a row for this example
select * into [msTestCopy]
from [msTest];
UPDATE [msTestCopy]
SET [id] = 10
,[mystring] = 'sadfasdfas'
,[mydate] = '2009-04-17 14:11:41.0000000'
where [ID] =1;
-- insert new row in the imported table
declare @myId as int;
set @myId=10;
insert into [msTest] ([ID],[mystring],[mydate])
select T1.[ID],
T1.[mystring],
T1.[mydate]
from [msTestCopy] T1
where T1.[ID] = @myId;
Then i tried an update query which was successful:
UPDATE OPENQUERY (MYSQL, 'SELECT mystring FROM mydatabase.myTest WHERE id = 1')
SET mystring = 'sadfasdfas';
Now this is where things just do not work. i tried an insert with the following:
-- insert in mysql
insert OPENQUERY(MYSQL, 'SELECT * FROM myTest')
select * FROM [dbo].[msTest] T1
where T1.[ID] = @myId;
the error returned is not very useful"
Msg 7399, Level 16, State 1, Line 5
The OLE DB provider "MSDASQL" for linked server "MYSQL" reported an error. The provider did not give any information about the error.
Msg 7343, Level 16, State 2, Line 5
The OLE DB provider "MSDASQL" for linked server "MYSQL" could not INSERT INTO table "[MSDASQL]". Unknown provider error.
then i went back to basics and tried the following
insert OPENQUERY(MYSQL, 'SELECT * FROM myTest')
values (7,'sadfasdfas','2009-04-17 14:11:41.0000000')
similar error as a result:
Msg 7399, Level 16, State 1, Line 1
The OLE DB provider "MSDASQL" for linked server "MYSQL" reported an error. The provider did not give any information about the error.
Msg 7343, Level 16, State 2, Line 1
The OLE DB provider "MSDASQL" for linked server "MYSQL" could not INSERT INTO table "[MSDASQL]". Unknown provider error.
Does anyone have any clue of what is happening and how i could solve it?If I use the above syntax:
EXEC master.dbo.sp_addlinkedserver @server='MYSQL', @srvproduct='NAME OF MYSQL ODBC',
@provider='MSDASQL', @provstr='DRIVER={MySQL ODBC 5.1
Driver};SERVER=SERVER IP;Port=3306;USER=myUid;PASSWORD=myPassword;OPTION=3;DATABASE=photo;'
the linked server creates properly, but it won't even let me run this statement anymore:
select * FROM OPENQUERY(MYSQL, 'SELECT * FROM photo.tag_type');
It give this error:
/* OLE DB provider "MSDASQL" for linked server "MYSQL" returned message "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified".
Msg 7303, Level 16, State 1, Line 1
Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "MYSQL". */
If I add this to the create statement @datasrc='MYSQL_MAIN' -- this being the name of the MySQL ODBC, therefore looking like this:
EXEC master.dbo.sp_addlinkedserver @server='MYSQL', @srvproduct='MYSQL_MAIN',
@provider='MSDASQL',@datasrc='MYSQL_MAIN', @provstr='DRIVER={MySQL ODBC 5.1
Driver};SERVER=SERVER_IP_ADDRESS;Port=3306;USER=myUID;PASSWORD=#####;OPTION=3;DATABASE=photo;'
I can at least run the above select statement, but I still get the error when running the insert statement.
Insert statement:
INSERT OPENQUERY(MY_SQL, 'SELECT * FROM photo.tag_type') VALUES (1, 'test');
Error:
/* OLE DB provider "MSDASQL" for linked server "MY_SQL" returned message "[MySQL][ODBC 5.1 Driver][mysqld-5.0.48-log]Commands out of sync; you can't run this command now".
Msg 7343, Level 16, State 2, Line 1
The OLE DB provider "MSDASQL" for linked server "MY_SQL" could not INSERT INTO table "[MSDASQL]". */
So can you please specify your exact syntax for this create linked server query and maybe a sample insert? Which version of MySQL are you running? I have tried a lot of different things and even read this post, http://bugs.mysql.com/bug.php?id=39965 with
no luck, please help.
Thanks -
MySQL links in Solaris 11.2 have gone from /usr/mysql/bin
I see that Solaris 11.2 now comes with MySQL 5.5 but I notice that the symbolic links (/usr/mysql/bin, etc) have been removed from all the packages.
# Solaris 11.1
# ls -l /usr/mysql/
total 9
drwxr-xr-x 8 root bin 8 Feb 15 2012 5.1
lrwxrwxrwx 1 root root 7 Feb 15 2012 bin -> 5.1/bin
lrwxrwxrwx 1 root root 8 Feb 15 2012 docs -> 5.1/docs
lrwxrwxrwx 1 root root 11 Feb 15 2012 include -> 5.1/include
lrwxrwxrwx 1 root root 7 Feb 15 2012 lib -> 5.1/lib
lrwxrwxrwx 1 root root 7 Feb 15 2012 man -> 5.1/man
lrwxrwxrwx 1 root root 9 Feb 15 2012 share -> 5.1/share
# Solaris 11.1
# pkg contents -r -m database/[email protected]| grep "link path=usr/mysql/"
link path=usr/mysql/5.1/bin/64 target=sparcv9 variant.arch=sparc
link path=usr/mysql/bin target=5.1/bin
link path=usr/mysql/5.1/bin/64 target=amd64 variant.arch=i386
link path=usr/mysql/share target=5.1/share
link path=usr/mysql/docs target=5.1/docs
# Solaris 11.2
# pkg contents -r -m database/[email protected] | grep "link path=usr/mysql/"
link path=usr/mysql/5.1/bin/64 target=amd64 variant.arch=i386
link path=usr/mysql/5.1/bin/64 target=sparcv9 variant.arch=sparc
Should they be added back?
AndrewThis is not an oversight. As MySQL 5.1 libraries are not compatible with the 5.5 version and to avoid some breaks, you must check and modify all programs and/or scripts that you use if you want to use this new version.
-
Good morning!!
I know that is posible to create a dblink between Oracle to MySQL but the question is, Is posible to create a Db-Link between MySQL to ORACLE?
I hope amwer that question as soon as posible.
Regads!!Ion user11925786 wrote:
Good morning!!
I know that is posible to create a dblink between Oracle to MySQL but the question is, Is posible to create a Db-Link between MySQL to ORACLE?
I hope amwer that question as soon as posible.
Regads!!And why do you think that the answer would come ASAP?
AFAIK, mysql doesn't have db link support.
Aman.... -
my java program in hsqldb.But now i want to connect mysql. so i want to replace hsqldb to mysql.
or connect mysql to hsqldb.
what is the procedure or method to do like that.
urgent required.Ion user11925786 wrote:
Good morning!!
I know that is posible to create a dblink between Oracle to MySQL but the question is, Is posible to create a Db-Link between MySQL to ORACLE?
I hope amwer that question as soon as posible.
Regads!!And why do you think that the answer would come ASAP?
AFAIK, mysql doesn't have db link support.
Aman....
Maybe you are looking for
-
How Can I Attach and Link an XML file to a 3D Model in a PDF?
How Can I Attach and Link an XML file to a 3D Model in a PDF? What I am trying to do is find out how to have a 3D model and a parts list linked to it within the PDF file. I would also like to be able to add to the parts list if at all possible once
-
Outlook 2010 prompt for credential when connecting to Exchange 2013 mailbox
I have 4 server Exchange 2010 with DAG and one server Exchange 2013, i've migrated some mailbox to the new 2013 server. I'm having a problem with some Outlook 2010 that sometimes (not always) requires credential to connect to mailbox in a server Exch
-
Dynamic Role -- Group Mapping not working in WebLogic 10
I have an installation I am migrating from 9.2 to 10. It uses Dynamic Role Mapping: From my Weblogic.xml within the deployment: <security-role-assignment> <role-name>EELSSystemAdministrator</role-name> <externally-defined/> </
-
Processing a dimension error message failed to expand K2 function
Hi SAP gurus, For doing processing of a dimension i am getting the error message, Failed to expand k2 funtion for dimension P_ACCT'S member formulas Members invalid On Dimensin (RPTCURRENCY:LC) The error message is only when i am using FORMULA in a
-
How to reload the WRT160N through the web admin interface?
I see no way to do this, which is strange. Is there a way to reset through the web admin page or did Cisco gaffe on this? Thanks!