Link mysql to hsqldb

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....

Similar Messages

  • CREATE Link MySQL to ORACLE

    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....

  • Having Trouble Linking mySQL Database to Website

    I am considering a move of all my websites into Azure and setup a test account this afternoon with the free trial.  I've been able to setup the website; however, I'm having issues with the creation - more specifically the linkage - of a MySQL database
    to the site.  I've tried to link the database in a number of ways including both the existing and preview portals in addition to trying to create the new resource instead of linking. In each scenario the database is created but the linkage fails. 
    The message I keep getting is:
    Could not link resource '>DB Name>' to web site '<Site Name>'.
    Am I doing something wrong?

    hi sir,
    Thanks for you posting!
    Firstly, please make sure your MySQL database in host on Azure, not in your project.
    Secondly, if your database is create on Azure, I suggest you could try those step:
    1.delete the entire website
    2.create a new website and select add the existing MySQL database as a Linked Resource .
    Also, please see this similar issue post:
    http://stackoverflow.com/a/12198776
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • XP SP3 with Dreamweaver can't link mySQL database

    My OS is XP SP3
    When it sets linking to database would show the error message
    " HTTP ERROR! 403 STOP"
    I have tried these two solution method
    install this : Dreamweaver Extention Fix  and "Resolved issues with Dreamweaver MX 2004 update (7.0.1)"
    but the situation is the same!!
    how can i do ?

    Because of XP SP2 preventing access between Dreamweaver and MySQL,
    DW have provided two kinds of method to solute these problem.
    But it doesn't work in XP SP3.
    Who can help me?? SOS!

  • How do i link MySQL to a WS

    hihi i been look for a way to link up WS with DB but i dont seem to find any good tut..... it would be nice if you could post link for some useful tut thx :)

    Hi,
    please have a look there
    http://helpx.adobe.com/x-productkb/policy-pricing/end-user-license-agreements-faq.html#mai n_Can_I_install_the_separate_components_of_a_suite_on_different_machines_ >>> Can I use my software on two computers?
    Hans-Günter

  • Help with PHP and CSS links (&mysql results)

    Hi
    Hope someone can help.  I have a column in a mysql5 database that records if an advert is 'featured' or not with 'yes' or 'no' in the database fields.
    I'm dynamically creating a list of adverts using php5 and DWCS3 where each ad comprises several table rows and these are wrapped up in a repeat region (rather than one table row per ad title) and I'd like to highlight the background of the 'featured' advert using  link to a style class eg so that the 'featured' ads have a different background colour to the rest of the ads listed.
    I've got the following code so far, which highlights the adverts but it does this for all of them (featured and non-featured).
    The 'advertpagetabletext' class is the standard (default) rule applied to non-featured adverts.  The "advertfeatured" class is the new background colour.
    Can anyone point me in the right direction / comment on the code below?
    Thanks in advance,
    M
    <?php $featured = $row_listJobs(['job_featured']; ?>
    <?php do { ?>
    <table width="100%" border="0" cellpadding="3" cellspacing="0"<?php if($featured == y) {echo 'class="advertfeatured"'; } else {echo 'class="advertpagetabletext"'; } ?>>
    <tr>
    <td ....rest of table and rows etc etc...

    Ahh, penny drops,
    From what I can see the class is coming through as "advertfeatured" on all of the ads - so it seems to be ignoring the fact that some are not featured / and doesn't revert to the other class for the second ad listing.
    //This is for a featured advert //
    Job Title: Viticulturalist
    etc etc //This is for a nonfeatured advert//
    Job Title: Cellar Hand
    Job Category: �i�o
            <tr

  • Database link from Oracle to MySQL

    I tried and googled an tried again...but I can't get this to work. So if you can spare a moment, please help me out (or try to ;-) ).
    Environment:
    The Oracle Developer Days Virtual Box image, so that's 11gR2 EE on OEL. MySQL 5.1.51-community + mysql-connector-odbc-5.1.7-0.i386.rpm
    1. Created a database called test in MySQL, with a user "oracle" and a password "123".
    2. Created the file /home/oracle/.odbc.ini with as contents:
    [ODBC Data Sources]
    myodbc5 = MySQL ODBC 5.1.7 Driver DSN
    [myodbc5]
    DRIVER      = /usr/lib/libmyodbc5.so
    DESCRIPTION = MySQL ODBC 5.1.7 Driver DSN
    SERVER      = 127.0.0.1
    PORT        = 3306
    USER        = oracle
    PASSWORD    = 123
    DATABASE    = test
    CHARSET     = latin13. Created the file /home/oracle/app/oracle/product/11.2.0/dbhome_1/hs/admin/initmyodbc5.ora
    # HS init parameters
    HS_FDS_CONNECT_INFO=myodbc5
    HS_FDS_TRACE_LEVEL=DEBUG
    HS_FDS_SHAREABLE_NAME=/usr/lib/libmyodbc5.so
    HS_LANGUAGE=AMERICAN.AMERICA.WE8ISO8859P15
    HS_FDS_SUPPORT_STATISTICS=FALSE
    # HS_NLS_NCHAR=AL32UTF8
    # ODBC specific environment variables
    set ODBCINI=/home/oracle/.odbc.ini
    set ODBCINSTINI=/home/oracle/.odbc.ini
    set LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/hs/lib:/usr/lib
    # Environment variables required for the non-Oracle system
    set HOME=/home/oracle4. Added to tnsnames.ora :
    dg4odbc =
      (DESCRIPTION =
        (ADDRESS_LIST =
           (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA = (SID=myodbc5))
        (HS=OK)
      )5. Added to listener.ora (and restarted it) :
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (ORACLE_HOME = /home/oracle/app/oracle/product/11.2.0/dbhome_1)
          (SID_NAME = myodbc5)
          (PROGRAM = dg4odbc)
          (ENVS ="LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/hs/lib:/usr/lib:/lib")
      )6. Ran some tests:
    a. isql dg4odbc -> Connected!
    b. tnsping dg4odbc -> OK
    c. lsnrctl status -> Service "myodbc5" has 1 instance(s). Instance "myodbc5", status UNKNOWN, has 1 handler(s) for this service...
    d. in SQLPLUS (as system): create public database link mysql connect to "oracle" identified by "123" using 'dg4odbc';
    e. select * from test@mysql ("test" is a simple table I created in the MySQL DB) returns
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-02063: preceding line from MYSQL
    When I look in the trace file (in $ORACLE_HOME/hs/log) I see at the bottom of the file:
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib/libmyodbc5.so"
    Entered hgolofns at 2010/11/02-14:10:54
    hoaerr:28500
    Exiting hgolofns at 2010/11/02-14:10:54
    Failed to load ODBC library symbol: /usr/lib/libmyodbc5.so(SQLAllocHandle)
    Exiting hgolofn, rc=28500 at 2010/11/02-14:10:54
    Exiting hgoinit, rc=28500 with error ptr FILE:hgoinit.c LINE:337 FUNCTION:hgoinit() ID:Loading ODBC aray of function ptrs
    Entered hgoexit
    HS Gateway:  NULL connection context at exit
    Exiting hgoexit, rc=0 with error ptr FILE:hgoexit.c LINE:108 FUNCTION:hgoexit() ID:Connection contextAfter Googling around I found out that all files are 32-bit (was on issue somewhere else)...and now I am stuck!
    Any ideas, tips etc on how to proceed???
    TIA
    Roel

    The ODBC Trace contains:
    [ODBC][3331][1288788738.867244][__handles.c][459]
                    Exit:[SQL_SUCCESS]
                            Environment = 0x92b0d08
    [ODBC][3331][1288788738.869179][SQLSetEnvAttr.c][189]
                    Entry:
                            Environment = 0x92b0d08
                            Attribute = SQL_ATTR_ODBC_VERSION
                            Value = 0x3
                            StrLen = -6
    [ODBC][3331][1288788738.869204][SQLSetEnvAttr.c][356]
                    Exit:[SQL_SUCCESS]
    [ODBC][3331][1288788738.879396][SQLAllocHandle.c][375]
                    Entry:
                            Handle Type = 2
                            Input Handle = 0x92b0d08
    [ODBC][3331][1288788738.879422][SQLAllocHandle.c][493]
                    Exit:[SQL_SUCCESS]
                            Output Handle = 0x92c2940
    [ODBC][3331][1288788738.879449][SQLSetConnectAttrW.c][332]
                    Entry:
                            Connection = 0x92c2940
                            Attribute = SQL_ATTR_AUTOCOMMIT
                            Value = (nil)
                            StrLen = -5
    [ODBC][3331][1288788738.879467][SQLSetConnectAttrW.c][616]
                    Exit:[SQL_SUCCESS]
    [ODBC][3331][1288788738.879694][SQLDriverConnectW.c][290]
                    Entry:
                            Connection = 0x92c2940
                            Window Hdl = (nil)
                            Str In = [DNdm;I=eoPDdm][length = 26]
                            Str Out = 0x92b1cf8
                            Str Out Max = 1024
                            Str Out Ptr = 0xbfe66270
                            Completion = 0
    [ODBC][3331][1288788738.879718][SQLDriverConnectW.c][500]Error: IM002
    [ODBC][3331][1288788738.879810][SQLGetDiagRecW.c][508]
                    Entry:
                            Connection = 0x92c2940
                            Rec Number = 1
                            SQLState = 0xbfe65f70
                            Native = 0xbfe65f90
                            Message Text = 0xbfe65d38her
                            Buffer Length = 510
                            Text Len Ptr = 0xbfe65fa8
    [ODBC][3331][1288788738.879835][SQLGetDiagRecW.c][550]
                    Exit:[SQL_SUCCESS]
                            SQLState = IM002
                            Native = 0xbfe65f90 -> 0
                            Message Text = [[unixODBC][Driver Manager]Data source name not found, and no default driver specified]
    [ODBC][3331][1288788738.879865][SQLGetDiagRecW.c][508]
                    Entry:
                            Connection = 0x92c2940
                            Rec Number = 2
                            SQLState = 0xbfe65f70
                            Native = 0xbfe65f90
                            Message Text = 0xbfe65d38
                            Buffer Length = 510
                            Text Len Ptr = 0xbfe65fa8
    [ODBC][3331][1288788738.879882][SQLGetDiagRecW.c][550]
                    Exit:[SQL_NO_DATA]
    [ODBC][3331][1288788738.879942][SQLDisconnect.c][208]
                    Entry:
                            Connection = 0x92c2940
    [ODBC][3331][1288788738.879958][SQLDisconnect.c][237]Error: 08003
    [ODBC][3331][1288788738.880005][SQLFreeHandle.c][286]
                    Entry:
                            Handle Type = 2
                            Input Handle = 0x92c2940
    [ODBC][3331][1288788738.880023][SQLFreeHandle.c][337]
                    Exit:[SQL_SUCCESS]
    [ODBC][3331][1288788738.903716][SQLFreeHandle.c][219]
                    Entry:
                            Handle Type = 1
                            Input Handle = 0x92b0d08So there is an error (IM002) in there, saying it can't find the Data Source Name..
    Some addtional tests I ran:
    dltest /usr/local/lib/libodbc.so returns SUCCESS: Loaded /usr/local/lib/libodbc.so
    ldd /usr/local/lib/libodbc.so returns
    linux-gate.so.1 => (0x00a44000)
    libdl.so.2 => /lib/libdl.so.2 (0x00a22000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x00110000)
    libc.so.6 => /lib/libc.so.6 (0x005b1000)
    /lib/ld-linux.so.2 (0x00736000)
    So it can find and load the necessary libraries (afaik)..
    So any ideas left??

  • How to create a view on SQLServer 2008 as an OPENQuery select to a MYSQL linked server

    I am trying to create a view on SQLServer through Management Studio based on data on a MYSql server.
    I have created the Linked server and I am able to query all data.
    Using the syntax select * from OPENQUERY (linkedServer, 'select * from MYSQL-table') - This works fine
    What I am trying to do now is issue the following statement
    create view ViewnameToBeCreatedOnSQLServer
       as select * from OPENQUERY (linkedServer, 'select * from MYSQL-table')
    When I run this from SSMS I get the following error
    OLE DB provider "MSDASQL" for linked server "TESTTSC2" returned message "[MySQL][ODBC 5.1 Driver][mysqld-5.0.95-log]Table 'FP.M3' doesn't exist".
    Msg 7350, Level 16, State 2, Procedure FPMaster3, Line 2
    Cannot get the column information from OLE DB provider "MSDASQL" for linked server "TESTTSC2".
    The account I am using has create view privs and alter schema privs on the SQlServer side. I am assuming there are not isues on the MYSQL server side since I am able to successfully run the select statement using OPENQUERY.  There must be one small
    piece I am missing. has anyone experienced the same problem and were you able to find a solution?

    All the configurations seem to be in place correctly since I can SELECT any data with no issues. The statement   
    select * from OPENQUERY (linkedServer, 'select * from MYSQL-table')
    works fine and I can change the table I am selecting from which all return data. Therefore, the objects all exists in MYSQL.
    The DSN is set up, the linked Server is good, the provider is set up, the DB account has all privs.
    It only fails when I try to create the view on SQLServer as a select from a remote table accessed via the linked MYSQL server. I connect to SQLServer with DB account PS which has full privs including CREATE VIEW and ALTER SCHEMA. The MYSQL pass-through account
    has read access to all objects in the MYSQL schema. I am trying to figure out if I might be missing some little part of this puzzle when trying to create a new object (CRESTE VIEW) vs. just reading the data (SELECT).
    The kicker in all this is that I did create a view on SQLServer in this manner about a year ago and I am able to see the view definition and that view still works! So, this is quite interesting that I am not able to create a new object.
    If there any specific information I could provide which might help, I am happy to do that. Just did not want to provide the details on all of the puzzle pieces if it can be avoided but if it comes to that then that's OK also.
    Thanks very much! I appreciate your help.

  • Procedure with select from mysql db link problem

    Hi,
    first of all Oracle is new to me so if there are better ways to do this every suggestion would help.
    My problem is simple i cant use select from dblink inside a procedure.
    In Oralce SQL Developer 1.5.5:
    Im using oracle 11g and mysql 5.5.13 with mysql odbc 5.1
    in both db the user is root
    CREATE PUBLIC DATABASE LINK "MYSQL"
    CONNECT TO "root" IDENTIFIED BY "****"
    AUTHENTICATED BY "root" IDENTIFIED BY "****"
    USING 'mysql';
    select * from t1@mysql;
    run; -> result OK
    select "MAXID" from t1@mysql where "TNAME"='first';
    run; -> result OK
    create or replace
    PROCEDURE T1_IDS_PROC AS
    maxi number;
    BEGIN
    select "MAXID" into maxi from t1@mysql where "TNAME"='first';
    END T1_IDS_PROC;
    compile -> not working:
    Fehler(7,3): PL/SQL: SQL Statement ignored
    Fehler(7,47): PL/SQL: ORA-00904: "TNAME": unknown identifier
    How to solve this?

    Thanks for replay,
    yes the owner of the procedure can acces the remote table.
    I can use
    select count(*) into i from t1@mysql
    inside the procedure, but if i use specific columns inside the select i cant compile.
    Why i need double quote?
    I dont know if i need them but i read some tutorial for dblink to mysql and there was explanied
    Oracle use upercase names and Mysql is case sensitive for odbc 5.1 so i have to double qoute mysql names.
    But with or without double qoute it dont work inside procedures ;(

  • Problem on 10gr2 for configure HS talk to mysql through ODBC

    Hello, all,
    did someone tried configure HS on 10gr2 talk to mysql 3.5 on xp?
    I tried it on my environment and got some issues here. any advice will be appreciated:
    1) environment: OS=xp professional sp2. oracle database=10gr2. mysql database=mysql 3.5. ODBC was setup as mysql_shan and works perfect with some other application like php communication
    2) my configuration:
    a. hs init file: name=%ORACLE_HOME%/hs/admin/initmysql.ora with HS_FDS_CONNECT_INFO = mysql_shan
    HS_FDS_TRACE_LEVEL = ON
    b. listener.ora:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = D:\oracle\ora10g\product\10.2.0\db_1)
    (SID_NAME = grid)
    (SID_DESC =
    (GLOBAL_DBNAME = EMREP.CORPORATE)
    (ORACLE_HOME = D:\oracle\ora10g\product\10.1.0\em_1)
    (SID_NAME = EMREP)
    (SID_DESC =
    (PROGRAM = extproc)
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\ora10g\product\10.2.0\db_1)
    (SID_DESC =
    (PROGRAM = mysql_shan)
    (SID_NAME = mysql)
    (ORACLE_HOME = D:\oracle\ora10g\product\10.2.0\db_1)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = MIS-DT-49769.corporate)(PORT = 1521))
    c.tnsnames.ora:
    mysql =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=MIS-DT-49769.corporate)(PORT=1521))
    (CONNECT_DATA=(SID=mysql))
    (HS=OK)
    d. instance parameter setting:
    hs_autoregister=true
    3)here's my test results:
    (1)listener service status:
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 01-JUN-2006 10:04:10
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    Services Summary...
    Service "EMREP.CORPORATE" has 1 instance(s).
    Instance "EMREP", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "grid" has 2 instance(s).
    Instance "grid", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:1 refused:0
    LOCAL SERVER
    Instance "grid", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:6 refused:0 state:ready
    LOCAL SERVER
    Service "gridXDB" has 1 instance(s).
    Instance "grid", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1002 state:ready
    DISPATCHER <machine: MIS-DT-49769, pid: 4320>
    (ADDRESS=(PROTOCOL=tcp)(HOST=MIS-DT-49769.corporate)(PORT=4617))
    Service "grid_XPT" has 1 instance(s).
    Instance "grid", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:6 refused:0 state:ready
    LOCAL SERVER
    Service "mysql" has 1 instance(s).
    Instance "mysql", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:2
    LOCAL SERVER
    The command completed successfully
    (2)tnsping:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)) (CONNECT_DAT
    A=(SID=mysql)) (HS=OK))
    OK (30 msec)
    (3) create database link mysql: SQL> CREATE DATABASE LINK "mysql" USING 'mysql';
    Database link created.
    (4) query mysql through sqlplus:
    SQL> select * from MEMBERS@mysql;
    select * from MEMBERS@mysql
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from MYSQL
    check the listener.log:
    01-JUN-2006 10:36:10 * (CONNECT_DATA=(SID=mysql)(CID=(PROGRAM=)(HOST=CORPORATE\MIS-DT-49769)(USER=CORPORATE\Richard.Shan))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=4026)) * establish * mysql * 12518
    TNS-12518: TNS:listener could not hand off client connection
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    32-bit Windows Error: 2: No such file or directory
    looks something wrong , can someone give some advice?
    thanks in advance!

    thanks all, problem solved:
    the listener.ora, has to be like this:
    (SID_DESC =
    (PROGRAM = hsodbc)
    (SID_NAME = mysql)
    (ORACLE_HOME = D:\oracle\ora10g\product\10.2.0\db_1)
    )

  • J_security_check with mysql db?

    Hi,
    I've been trying to figure out this problem for a while now.
    I have the following in my web.xml
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>All JSP direct access</web-resource-name>
    <url-pattern>members/*</url-pattern>
    <http-method>POST</http-method>
    <http-method>GET</http-method>
    </web-resource-collection>
    <auth-constraint>
    <description>
    No Access
    </description>
    <role-name>restricted</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>members/index.jsp</form-login-page>
    <form-error-page>jsps/error.jsp</form-error-page>
    </form-login-config>
    </login-config>
    <security-role>
    <description>NO Access</description>
    <role-name>restricted</role-name>
    </security-role>
    and:
    <form method="POST" action="j_security_check">
    <input type="text" name="j_username">
    <input type="password" name="j_password">
    <input type="submit" name="Submit" value="Submit">
    in index.jsp
    If i enter a username and password it just brings me back to the same error page (error.jsp). Infact i get the same thing with no matter what i try to access in /members/
    Actually, i don't know how to link mySQL 5.1 to BeaWeblogic 8.1 i've read some documents about creating a security realm with RBDMS but there doesn't seem to be such option (i.e. theres LDAP, Active Directory) but nothing about a database. Any ideas?
    Message was edited by:
    hyowza
    Message was edited by:
    hyowza

    Hi,
    did you solve this problem? I have the same thing to do. I want to receive username and password from a html form pass it to a servlet, do some things and then call the standard j_security_check functionality.
    regards
    Guido

  • MySQL gateway connection

    Looks like plenty of folks here have similar problems getting the dg4odbc gateway working for MySQL. Hope someone that's tackled this can help me out.
    Our configuration is such that we have our gateway machine separate from our Oracle database, and the MySQL machine is yet another server. We have installed and configured the gateway along with the unixODBC gateway and the MySQL connector. Running ./isql from the gateway successfully connects to the MySQL database and returns rows from specified tables.
    Our difficulty is with setting up the listener.ora (on the gateway) and tnsnames.ora (on the Oracle host). Here are the contents of those files:
    listenter.ora:
    SID_LIST_LISTENER =
        (SID_DESC =
          (PROGRAM = dg4odbc)
          (ORACLE_HOME=/db01/app/oracle/product/gateways)
          (SID_NAME = myodbc3)
          (ENVS=LD_LIBRARY_PATH=/opt/unixODBC/lib:/opt/mysql/myodbc5/lib:/usr/local/lib:/db01/app/oracle/product/gateways/lib)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = gw_host)(PORT = 1521))
      )tnsnames.ora:
    dg4odbc =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = gw_host)(PORT = 1521))
        (CONNECT_DATA = (SID= myodbc3))
        (HS=OK)
      )Listener status on the gateway is:
    -bash-3.00$ lsnrctl status
    LSNRCTL for Solaris: Version 11.1.0.6.0 - Production on 26-APR-2010 15:07:08
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Solaris: Version 11.1.0.6.0 - Production
    Start Date                26-APR-2010 14:41:51
    Uptime                    0 days 0 hr. 25 min. 17 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /db01/app/oracle/product/gateways/network/admin/listener.ora
    Listener Log File         /db01/app/oracle/diag/tnslsnr/ozone4/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=gw_host)(PORT=1521)))
    Services Summary...
    Service "myodbc3" has 1 instance(s).
      Instance "myodbc3", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfullyCan anyone see anything obvious in this configuration that's out of whack?
    I logged into sqlplus and create a public database link:
    SQL> create public database link mysql
      2   connect to user_name identified by password
      3  using 'dg4odbc';Executing a query via the link gives the following:
    SQL> select * from block@mysql;
    select * from block@mysql
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-02063: preceding line from MYSQLAnyone seen this before or have any ideas for me? I've read through the docs and this forum and just cannot see where the problem lies.
    Earl
    P.S. tnsping from the Oracle database to the gateway gives this:
    merc@: tnsping dg4odbc
    TNS Ping Utility for Linux: Version 10.2.0.4.0 - Production on 26-APR-2010 15:15:07
    Copyright (c) 1997,  2007, Oracle.  All rights reserved.
    Used parameter files:
    /opt/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = gw_host)(PORT = 1521))) (CONNECT_DATA = (SID= myodbc3)) (HS=OK))
    OK (0 msec)

    >
    Maybe it is sufficient to get the part where the libodbc.so library is loaded, so check where you'll find it in the strace file and provide this info until the error is visible in the traceHopefully this is what you wanted from truss.
    23074/1:     stat("/opt/unixODBC/lib/libodbc.so", 0xFFFFFFFF7FFFD4A0) = 0
    23074/1:     resolvepath("/opt/unixODBC/lib/libodbc.so", "/opt/unixODBC/lib/libodbc.so.1.0.0", 1023) = 34
    23074/1:     open("/opt/unixODBC/lib/libodbc.so", O_RDONLY)     = 9
    23074/1:     mmap(0x00100000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 9, 0) = 0xFFFFFFFF7A400000
    23074/1:     mmap(0x00100000, 1826816, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFFFFFFFF7A200000
    23074/1:     mmap(0xFFFFFFFF7A200000, 719355, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 9, 0) = 0xFFFFFFFF7A200000
    23074/1:     mmap(0xFFFFFFFF7A3AE000, 55864, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 9, 712704) = 0xFFFFFFFF7A3AE000
    23074/1:     mmap(0xFFFFFFFF7A3BC000, 1552, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFFFFFFFF7A3BC000
    23074/1:     munmap(0xFFFFFFFF7A2B0000, 1040384)          = 0
    23074/1:     memcntl(0xFFFFFFFF7A200000, 75448, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
    23074/1:     close(9)                         = 0
    23074/1:     stat("/opt/unixODBC/lib/libdl.so.1", 0xFFFFFFFF7FFFD230) Err#2 ENOENT
    23074/1:     stat("/opt/mysql/myodbc5/lib/libdl.so.1", 0xFFFFFFFF7FFFD230) Err#2 ENOENT
    23074/1:     stat("/usr/local/lib/libdl.so.1", 0xFFFFFFFF7FFFD230) Err#2 ENOENT
    23074/1:     stat("/db01/app/oracle/product/gateways/lib/libdl.so.1", 0xFFFFFFFF7FFFD230) Err#2 ENOENT
    23074/1:     stat("/opt/unixODBC/lib/libthread.so.1", 0xFFFFFFFF7FFFD230) Err#2 ENOENT
    23074/1:     stat("/opt/mysql/myodbc5/lib/libthread.so.1", 0xFFFFFFFF7FFFD230) Err#2 ENOENT
    23074/1:     stat("/usr/local/lib/libthread.so.1", 0xFFFFFFFF7FFFD230) Err#2 ENOENT
    23074/1:     stat("/db01/app/oracle/product/gateways/lib/libthread.so.1", 0xFFFFFFFF7FFFD230) Err#2 ENOENT
    23074/1:     stat("/opt/unixODBC/lib/libc.so.1", 0xFFFFFFFF7FFFD230) Err#2 ENOENT
    23074/1:     stat("/opt/mysql/myodbc5/lib/libc.so.1", 0xFFFFFFFF7FFFD230) Err#2 ENOENT
    23074/1:     stat("/usr/local/lib/libc.so.1", 0xFFFFFFFF7FFFD230) Err#2 ENOENT
    23074/1:     stat("/db01/app/oracle/product/gateways/lib/libc.so.1", 0xFFFFFFFF7FFFD230) Err#2 ENOENT
    23074/1:     stat("/opt/unixODBC/lib/libgcc_s.so.1", 0xFFFFFFFF7FFFD230) Err#2 ENOENT
    23074/1:     stat("/opt/mysql/myodbc5/lib/libgcc_s.so.1", 0xFFFFFFFF7FFFD230) Err#2 ENOENT
    23074/1:     stat("/usr/local/lib/libgcc_s.so.1", 0xFFFFFFFF7FFFD230) = 0
    23074/1:     resolvepath("/usr/local/lib/libgcc_s.so.1", "/usr/local/lib/libgcc_s.so.1", 1023) = 28
    23074/1:     open("/usr/local/lib/libgcc_s.so.1", O_RDONLY)     = 9
    23074/1:     mmap(0xFFFFFFFF7A400000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 9, 0) = 0xFFFFFFFF7A400000
    23074/1:     close(9)                         = 0
    23074/1:     stat("/db01/app/oracle/product/gateways/lib/libgcc_s.so.1", 0xFFFFFFFF7FFFD230) Err#2 ENOENT
    23074/1:     stat("/lib/64/libgcc_s.so.1", 0xFFFFFFFF7FFFD230) Err#2 ENOENT
    23074/1:     stat("/usr/lib/64/libgcc_s.so.1", 0xFFFFFFFF7FFFD230) Err#2 ENOENT
    23074/1:     munmap(0xFFFFFFFF7A200000, 719355)          = 0
    23074/1:     munmap(0xFFFFFFFF7A3AE000, 58892)          = 0
    23074/1:     munmap(0xFFFFFFFF7A400000, 32768)          = 0
    23074/1:     write(7, "   h o a e r r : 2 8 5 0".., 14)     = 14
    23074/1:     time()                              = 1273255397
    23074/1:     write(7, " E x i t i n g   h g o l".., 40)     = 40
    23074/1:     write(7, " F a i l e d   t o   l o".., 81)     = 81
    23074/1:     time()                              = 1273255397
    23074/1:     write(7, " E x i t i n g   h g o l".., 49)     = 49
    23074/1:     time()                              = 1273255397
    23074/1:     write(7, " E x i t i n g   h g o i".., 126)     = 126
    23074/1:     getpid()                         = 23074 [5550]
    23074/1:     open("/proc/23074/map", O_RDONLY)          = 9
    23074/1:     fstat(9, 0xFFFFFFFF7FFFD1F8)               = 0
    23074/1:     open("/dev/zero", O_RDWR)               = 12
    23074/1:     mmap(0x00000000, 14872, PROT_READ|PROT_WRITE, MAP_PRIVATE, 12, 0) = 0xFFFFFFFF7AC00000
    23074/1:     pread(9, "\0\0\001\0\0\0\0\0\0\0\0".., 14872, 0) = 7488
    23074/1:     close(9)                         = 0
    23074/1:     munmap(0xFFFFFFFF7AC00000, 7592)          = 0
    23074/1:     write(7, " h o s t m s t r :      ".., 41)     = 41
    23074/1:     write(14, "\0 *\0\006\0\0\0\0\080\0".., 42)     = 42
    23074/1:     read(14, "\0 n\0\006\0\0\0\0\0 H\0".., 8208)     = 110
    23074/1:     getpid()                         = 23074 [5550]
    23074/1:     open("/proc/23074/map", O_RDONLY)          = 9
    23074/1:     fstat(9, 0xFFFFFFFF7FFFD4D8)               = 0
    23074/1:     open("/dev/zero", O_RDWR)               = 13
    23074/1:     mmap(0x00000000, 15080, PROT_READ|PROT_WRITE, MAP_PRIVATE, 13, 0) = 0xFFFFFFFF7A400000
    23074/1:     pread(9, "\0\0\001\0\0\0\0\0\0\0\0".., 15080, 0) = 7592
    23074/1:     close(9)                         = 0
    23074/1:     munmap(0xFFFFFFFF7A400000, 7696)          = 0
    23074/1:     write(7, " h o s t m s t r :      ".., 44)     = 44
    23074/1:     getpid()                         = 23074 [5550]
    23074/1:     open("/proc/23074/map", O_RDONLY)          = 9
    23074/1:     fstat(9, 0xFFFFFFFF7FFFD358)               = 0
    23074/1:     open("/dev/zero", O_RDWR)               = 15
    23074/1:     mmap(0x00000000, 15288, PROT_READ|PROT_WRITE, MAP_PRIVATE, 15, 0) = 0xFFFFFFFF7A300000
    23074/1:     pread(9, "\0\0\001\0\0\0\0\0\0\0\0".., 15288, 0) = 7696
    23074/1:     close(9)                         = 0There appear to be errors there but I have no idea how to read this output. Thanks again for your help.
    Earl

  • Connect from oracle 10g.2 to mysql db

    hi all
    i install mysql database in server X
    and i install mysql-connector-odbc-5.1.10-winx64 in server Z
    server Z contain oracle db 10.2.0.5
    i make my DSN in ODBC MySqlTest and i test connection (fine)
    i make one HS file with name initMySqlTest.ora
    contain
    HS_FDS_CONNECT_INFO = MySqlTest
    HS_FDS_TRACE_LEVEL = OFF
    listener.ora contain
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = MySqlTest)
    (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
    (PROGRAM = hsodbc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = DEMO1)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    tnsname.ora contain
    MySqlTest =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = MySqlTest)
         (HS = OK)
    and i created db link as follow
    create database link MYSQL connect to "root" identified by "xxx" using 'MySqlTest';
    now any thing missing
    i try to query data from mysql and i have errors as follow
    select * from "test"@MYSQL;
    ORA-28545: error diagnosed by Net8 when connecting to an agent Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from MYSQL
    please Help my becusei am  fighting for two days and me be i will destroy me laptop
    please please please help me

    Did you come across this thread?
    ORA-28545 on mySQL - Oracle database link
    Aman....

  • Error handling not available with linked servers

    Hello,
    I have a stored procedure which inserts data to a linked mysql Server. The table in mysql has a unique key and I try to insert a new record with a conflicting key.
    My problem is that I am not able to do an error handling because my script stops immediatly when the error in the SP occurs.
    The error message itself is ok. But why is the script cancelled? So I don't have a possibility to do some error handling. I am working against SQL Server 2000. No TRY CATCH is available.
    Here is my code:
    DECLARE @RC int
    DECLARE @ItemNr nvarchar(255)
    DECLARE @Hostname nvarchar(255)
    DECLARE @IpAdresse nvarchar(255)
    DECLARE @LogLevel int
    DECLARE @Message nvarchar(1000)
    DECLARE @LocalError int
    -- Error handling is working as expected
    PRINT 1/0
    SELECT @LocalError=@@ERROR
    IF @LocalError<>0
     PRINT 'Error'
    ELSE
     PRINT 'Success'
    SELECT @ItemNr='AN12326m', @Hostname='hostname' ,@IpAdresse='ipadresse', @LogLevel=99, @Message='Test', @RC=0
    -- Error handling does not work
    EXECUTE [Asset].[dbo].[p_kapaya_DbSync_InsertMySqlRecord]
       @AssetNr, @Hostname, @IpAdresse, @LogLevel, @Message OUTPUT, @RC OUTPUT
    -- The following code is not reached, when an error occurs because the execution of the script is cancelled
    SELECT @LocalError=@@ERROR
    IF @LocalError <>0
     PRINT @LocalError
    ELSE
     PRINT 'Success'
    Error Message
    Der OLE DB-Anbieter 'MSDASQL' für den Verbindungsserver 'MySQL' hat die Meldung '[MySQL][ODBC 5.1 Driver][mysqld-5.0.67-community-nt]Duplicate entry 'AN12326m' for key 1' zurückgeben.
    Meldung 7343, Ebene 16, Status 2, Prozedur p_kapaya_DbSync_InsertMySQLRecord, Zeile 57
    Der OLE DB-Anbieter 'MSDASQL' für den Verbindungsserver 'MySQL' konnte INSERT INTO für die [MSDASQL]-Tabelle nicht ausführen.
    Kind regards
    Patrick

    This is not unique to linked servers. When an error occurs, there are several actions that SQL Server can take. It can abort the batch, it can abort the current scope or it can just termintate the current statement. Any active transaction may or may not
    be rolled back. And this is not all.
    Which of these actions, SQL Server takes it is hard to predict, becuase the developers have to have rolled a dice on deciding which action to take. Although, if you have SET XACT_ABORT ON, it is more consistent: in this case, most errors aborts the batch
    and rolls back the transaction.
    To trap the error, you need to use TRY-CATCH which permits you to trap most (not all) errors. See here for a quick introduction:
    http://www.sommarskog.se/error_handling_2005.html
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Since I upgraded to Mavericks, my mac is slow. Actually, all macs in this office are now terribly slow and they have enough Ram and Disk space. I have a report run with Etresoft that I will attach.

    Hardware Information:
              iMac - model: iMac12,1
              1 2.5 GHz Intel Core i5 CPU: 4 cores
              4 GB RAM
    Video Information:
              AMD Radeon HD 6750M - VRAM: 512 MB
    System Software:
              OS X 10.9.2 (13C64) - Uptime: 1 day 1:30:29
    Disk Information:
              ST3500418AS disk0 : (500.11 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 499.25 GB (297.24 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              OPTIARC DVD RW AD-5690H 
    USB Information:
              Apple Internal Memory Card Reader
              Apple Computer, Inc. IR Receiver
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Inc. BRCM2046 Hub
                        Apple Inc. Bluetooth USB Host Controller
    FireWire Information:
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Kernel Extensions:
              at.obdev.nke.LittleSnitch          (4052 - SDK 10.8)
              com.avatron.AVExVideo          (1.7 - SDK 10.8)
              com.sophos.nke.swi          (9.0.53 - SDK 10.8)
              com.avatron.AVExFramebuffer          (1.7 - SDK 10.8)
              com.sophos.kext.sav          (9.0.53 - SDK 10.7)
    Startup Items:
              BackupFP: Path: /Library/StartupItems/BackupFP
              MySQLCOM: Path: /Library/StartupItems/MySQLCOM
              ParallelsDesktopTransporter: Path: /Library/StartupItems/ParallelsDesktopTransporter
              ProTec6b: Path: /Library/StartupItems/ProTec6b
    Launch Daemons:
              [System] at.obdev.littlesnitchd.plist 3rd-Party support link
              [System] bacula-fd.plist 3rd-Party support link
              [System] com.adobe.fpsaud.plist 3rd-Party support link
              [System] com.adobe.SwitchBoard.plist 3rd-Party support link
              [System] com.caphyon.almserver.plist 3rd-Party support link
              [System] com.caphyon.awrserver.plist 3rd-Party support link
              [System] com.google.keystone.daemon.plist 3rd-Party support link
              [System] com.localphone.daemon.VoIP.plist 3rd-Party support link
              [System] com.maintain.AutoLoginUserScreenLocked.plist 3rd-Party support link
              [System] com.maintain.CocktailScheduler.plist 3rd-Party support link
              [System] com.maintain.HideSpotlightMenuBarIcon.plist 3rd-Party support link
              [System] com.sophos.autoupdate.plist 3rd-Party support link
              [System] com.sophos.configuration.plist 3rd-Party support link
              [System] com.sophos.intercheck.plist 3rd-Party support link
              [System] com.sophos.notification.plist 3rd-Party support link
              [System] com.sophos.scan.plist 3rd-Party support link
              [System] com.sophos.sxld.plist 3rd-Party support link
              [System] com.sophos.webd.plist 3rd-Party support link
    Launch Agents:
              [System] at.obdev.LittleSnitchUIAgent.plist 3rd-Party support link
              [System] com.adobe.AAM.Updater-1.0.plist 3rd-Party support link
              [System] com.canon.SPPHelper.plist 3rd-Party support link
              [System] com.google.keystone.agent.plist 3rd-Party support link
              [System] com.localphone.postlogon.VoIP.plist 3rd-Party support link
              [System] com.maintain.LogOut.plist 3rd-Party support link
              [System] com.maintain.PurgeInactiveMemory.plist 3rd-Party support link
              [System] com.maintain.Restart.plist 3rd-Party support link
              [System] com.maintain.ShutDown.plist 3rd-Party support link
              [System] com.maintain.Sleep.plist 3rd-Party support link
              [System] com.maintain.SystemEvents.plist 3rd-Party support link
              [System] com.sophos.uiserver.plist 3rd-Party support link
              [System] jp.co.canon.CUPSCAPT.BG.plist 3rd-Party support link
              [System] jp.co.canon.SELPHYCP.BG.plist 3rd-Party support link
    User Launch Agents:
              [not loaded] com.adobe.AAM.Updater-1.0.plist 3rd-Party support link
              [not loaded] com.akamai.client.plist 3rd-Party support link
              [not loaded] ws.agile.1PasswordAgent.plist 3rd-Party support link
    User Login Items:
              Mail
              Cloud
              DragThing
              Dropbox
    Internet Plug-ins:
              Flip4Mac WMV Plugin: Version: 2.3.8.1 3rd-Party support link
              FlashPlayer-10.6: Version: 12.0.0.77 - SDK 10.6 3rd-Party support link
              iPhotoPhotocast: Version: 7.0
              Flash Player: Version: 12.0.0.77 - SDK 10.6 3rd-Party support link
              Default Browser: Version: 537 - SDK 10.9
              QuickTime Plugin: Version: 7.7.3
              OfficeLiveBrowserPlugin: Version: 12.3.2 3rd-Party support link
              RealPlayer Plugin: Version: Unknown
              ContentUploaderPlugin: Version: 1.2 3rd-Party support link
              Silverlight: Version: 5.0.61118.0 - SDK 10.6 3rd-Party support link
              JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Outdated! Update
    Safari Extensions:
              1Password (beta): Version: 3.9.21.b1
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 2.0 - SDK 10.9
              AppleAVBAudio: Version: 203.2 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User Internet Plug-ins:
              WebEx64: Version: 1.0 - SDK 10.6 3rd-Party support link
              Picasa: Version: 1.0 3rd-Party support link
              WebEx: Version: 1.0 3rd-Party support link
    3rd Party Preference Panes:
              Application Enhancer  3rd-Party support link
              DivX  3rd-Party support link
              Flash Player  3rd-Party support link
              Flip4Mac WMV  3rd-Party support link
              MacFUSE  3rd-Party support link
              MenuMeters  3rd-Party support link
              MySQL  3rd-Party support link
              Perian  3rd-Party support link
    Old Applications:
              Transmit:          Version: 4.1.7 - SDK 10.5 3rd-Party support link
                        /Users/[redacted]/Library/Application Support/Sparkle/Transmit/Transmit 4.1.7 Update 7/Transmit.app
              Transmit:          Version: 4.1.7 - SDK 10.5 3rd-Party support link
                        /Users/[redacted]/Library/Application Support/Sparkle/Transmit/Transmit 4.1.7 Update 2/Transmit.app
              Transmit:          Version: 4.1.7 - SDK 10.5 3rd-Party support link
                        /Users/[redacted]/Library/Application Support/Sparkle/Transmit/Transmit 4.1.7 Update 6/Transmit.app
              Transmit:          Version: 4.1.7 - SDK 10.5 3rd-Party support link
                        /Users/[redacted]/Library/Application Support/Sparkle/Transmit/Transmit 4.1.7 Update 3/Transmit.app
              SLLauncher:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        /Library/Application Support/Microsoft/Silverlight/OutOfBrowser/SLLauncher.app
              Photoshop CS5 Retouching & Image Adjustment:          Version: 1.0 - SDK 10.0 3rd-Party support link
              SuperDuper!:          Version: 2.7.1 - SDK 10.4 3rd-Party support link
              /Applications/Nik Software
                        Silver Efex Pro 2:          Version: 2.004 - SDK 10.5 3rd-Party support link
                        Color Efex Pro 4:          Version: 4.002 - SDK 10.5 3rd-Party support link
                        HDR Efex Pro:          Version: 1.2.0.4 - SDK 10.5 3rd-Party support link
              Canon CAPT BackGrounder:          Version: 3.60 - SDK 10.5 3rd-Party support link
                        /Library/Printers/Canon/CUPSCAPT/BackGrounder/Canon CAPT BackGrounder.app
              Microsoft AutoUpdate:          Version: 2.3.3 - SDK 10.4 3rd-Party support link
                        /Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app
              Transmit:          Version: 4.1.7 - SDK 10.5 3rd-Party support link
                        /Users/[redacted]/Library/Application Support/Sparkle/Transmit/Transmit 4.1.7 Update/Transmit.app
              StatusMonitor:          Version: 3.60 - SDK 10.5 3rd-Party support link
                        /Library/Printers/Canon/CUPSCAPT/StatusMonitor/StatusMonitor.app
              /Library/Application Support/Microsoft/MERP2.0
                        Microsoft Error Reporting:          Version: 2.2.8 - SDK 10.4 3rd-Party support link
                        Microsoft Ship Asserts:          Version: 1.1.3 - SDK 10.4 3rd-Party support link
              Transmit:          Version: 4.1.7 - SDK 10.5 3rd-Party support link
                        /Users/[redacted]/Library/Application Support/Sparkle/Transmit/Transmit 4.1.7 Update 1/Transmit.app
              /Library/Printers/EPSON/InkjetPrinter2/Utility/UT4
                        EpsonSuppliesTool4:          Version: 9.00 - SDK 10.5 3rd-Party support link
                        Epson Printer Utility 4:          Version: 9.00 - SDK 10.5 3rd-Party support link
    Time Machine:
              Skip System Files: NO
              Mobile backups: OFF
              Auto backup: YES
              Volumes being backed up:
                        Macintosh HD: Disk size: 464.96 GB Disk used: 188.13 GB
              Destinations:
                        backup TM [Local] (Last used)
                        Total size: 562.13 GB
                        Total number of backups: 46
                        Oldest backup: 2013-10-14 17:00:24 +0000
                        Last backup: 2014-01-16 05:06:28 +0000
                        Size of backup disk: Too small
                                  Backup size 562.13 GB < (Disk used 188.13 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
    Top Processes by CPU:
                   2%          DashboardClient
                   2%          WindowServer
                   1%          Google Chrome
                   1%          EtreCheck
                   0%          Little Snitch Network Monitor
    Top Processes by Memory:
              98 MB          Mail
              49 MB          InterCheck
              49 MB          Skype
              45 MB          mds_stores
              29 MB          WindowServer
    Virtual Memory Information:
              50 MB          Free RAM
              579 MB          Active RAM
              645 MB          Inactive RAM
              968 MB          Wired RAM
              12.44 GB          Page-ins
              544 MB          Page-outs

    Find out how to remove or leave offline for both Sophos, and Little Snitch.  You only need to examine for viruses when you get attachments from unknown sources, and need to check before you open them.  Little Snitch is only useful if you use any peer2peer software, which you should avoid anyway.
    Update your Java from http://www.java.com/
    Disable iCloud except for times you backup or are syncing data.
    Disable SQL Server except for times you need to share a database.

Maybe you are looking for