Problem, try to connect to oracle to mysql database

Hello

I need assistance with the configuration, I'm trying to connect to an oracle 11 g r2 windows to a linux mysql 5.5, but I'm having a lot of questions, here, I'll put the configuration.
How thanks for everyone's trying to help me!

Here is my tnsname.ora:
tnsnames.ora # Network Configuration file: C:\app\Administrador\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)

ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = gabriel-103eff2)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
ms_connection =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp) (HOST = gabriel-103eff2)(PORT=1521))
(CONNECT_DATA = (SID = ms))
(HS = OK)
)



Here's my listener.ora:

listener.ora # Network Configuration file: C:\app\Administrador\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\app\Administrador\product\11.2.0\dbhome_1)
(= Extproc PROGRAM)
(ENVS = "EXTPROC_DLLS=ONLY:C:\app\Administrador\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
(SID_DESC =
(SID_NAME = ms)
(ORACLE_HOME=C:\app\Administrador\product\11.2.0\dbhome_1)
(PROGRAM = dg4odbc)
)
)

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP) (HOST = gabriel-103eff2)(PORT = 1521))
)
)

ADR_BASE_LISTENER = C:\app\Administrador



Here's the init*.ora:

# This is an example of initialization file of the agent that contains the HS settings
# necessary for the database to ODBC gateway

#
# HS init parameters
#
HS_FDS_CONNECT_INFO = ms
HS_FDS_TRACE_LEVEL = debug


#
# Required for the non-Oracle system environment variables
#
#set < varenv > = < value >



Here is the fix:



Oracle Corporation - SEXTA-FEIRA 17:18:13.390 January 4, 2013


Heterogeneous Agent release
11.2.0.1.0




Oracle Corporation - SEXTA-FEIRA 17:18:13.390 January 4, 2013

Version 11.2.0.1.0

Hgogprd entries
HOSGIP to 'HS_FDS_TRACE_LEVEL' returned 'debug '.
Hgosdip entries
default assignment of 50 HS_OPEN_CURSORS
setting HS_FDS_RECOVERY_ACCOUNT or 'RECOVER '.
HS_FDS_RECOVERY_PWD layout to the default
default HS_FDS_TRANSACTION_LOG of HS_TRANSACTION_LOG layout
HS_IDLE_TIMEOUT layout to the default 0 value
layout by default HS_FDS_TRANSACTION_ISOLATION of "READ_COMMITTED".
layout default HS_NLS_NCHAR to "UCS2".
layout HS_FDS_TIMESTAMP_MAPPING default 'DATE '.
layout HS_FDS_DATE_MAPPING default 'DATE '.
layout HS_RPC_FETCH_REBLOCKING failure to 'ON '.
HS_FDS_FETCH_ROWS layout without '100 '.
parameter HS_FDS_RESULTSET_SUPPORT default 'FALSE '.
parameter HS_FDS_RSET_RETURN_ROWCOUNT default 'FALSE '.
parameter HS_FDS_PROC_IS_FUNC default 'FALSE '.
parameter HS_FDS_CHARACTER_SEMANTICS default 'FALSE '.
parameter HS_FDS_MAP_NCHAR if there is no 'TRUE '.
setting HS_NLS_DATE_FORMAT or 'YYYY-MM-DD HH24:MI:SS ".
parameter HS_FDS_REPORT_REAL_AS_DOUBLE default 'FALSE '.
HS_LONG_PIECE_TRANSFER_SIZE layout without "65536".
parameter HS_SQL_HANDLE_STMT_REUSE default 'FALSE '.
parameter HS_FDS_QUERY_DRIVER if there is no 'TRUE '.
parameter HS_FDS_SUPPORT_STATISTICS default 'FALSE '.
The HS_FDS_QUOTE_IDENTIFIER parameter is not defined
setting in HS_KEEP_REMOTE_COLUMN_SIZE if 'OFF '.
parameter HS_FDS_GRAPHIC_TO_MBCS default 'FALSE '.
parameter HS_FDS_MBCS_TO_GRAPHIC default 'FALSE '.
Default value of 32 assumed for HS_FDS_SQLLEN_INTERPRETATION
HS_CALL_NAME_ISP layout "gtw$: SQLTables; GTW$: SQLColumns. GTW$: SQLPrimaryKeys. GTW$: SQLForeignKeys. GTW$: SQLProcedures. GTW$: SQLStatistics; "gtw$: SQLGetInfo.
parameter HS_FDS_DELAYED_OPEN if there is no 'TRUE '.
HS_FDS_WORKAROUNDS layout by default "0".
Release of hgosdip, rc = 0
ORACLE_SID is "ms."
Product information:
Port RLS / Upd:1 / 0 PrdStat:0
Agent: Oracle Database Gateway for ODBC
: Installation
Class: ODBC, ClassVsn:11.2.0.1.0_0008, Instance: ms
Release of hgogprd, rc = 0
Hgoinit entries
HOCXU_COMP_CSET = 1
HOCXU_DRV_CSET = 178
HOCXU_DRV_NCHAR = 1000
HOCXU_DB_CSET = 873
HOCXU_SEM_VER = 112000
Entry hgolofn to 2013/01/04-17: 18:14
Release of hgolofn, rc = 0 to 2013/01/04-17: 18:14
HOSGIP to 'HS_OPEN_CURSORS' returned '50 '.
HOSGIP to 'HS_FDS_FETCH_ROWS' returned '100 '.
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536".
HOSGIP to 'HS_NLS_NUMERIC_CHARACTER' returned '. "
HOSGIP to 'HS_KEEP_REMOTE_COLUMN_SIZE' returned 'OFF '.
HOSGIP for "HS_FDS_DELAYED_OPEN" returns 'TRUE '.
HOSGIP to 'HS_FDS_WORKAROUNDS' returned '0 '.
HOSGIP to 'HS_FDS_MBCS_TO_GRAPHIC' returned 'FALSE '.
HOSGIP to 'HS_FDS_GRAPHIC_TO_MBCS' returned 'FALSE '.
Invalid value of 32 for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Release of hgoinit, rc = 0 to 2013/01/04-17: 18:14
Entry hgolgon to 2013/01/04-17: 18:14
Reco:0, tflag:0, name: SYSTEM
Entry hgosuec to 2013/01/04-17: 18:14
Release of hgosuec, rc = 0 to 2013/01/04-17: 18:14
HOSGIP to 'HS_FDS_RECOVERY_ACCOUNT' returned 'RECOVER '.
HOSGIP for "HS_FDS_TRANSACTION_LOG" returns "HS_TRANSACTION_LOG".
HOSGIP to 'HS_FDS_TIMESTAMP_MAPPING' returned 'DATE '.
HOSGIP to 'HS_FDS_DATE_MAPPING' returned 'DATE '.
HOSGIP to 'HS_FDS_CHARACTER_SEMANTICS' returned 'FALSE '.
HOSGIP for "HS_FDS_MAP_NCHAR" returns 'TRUE '.
HOSGIP to 'HS_FDS_RESULTSET_SUPPORT' returned 'FALSE '.
HOSGIP to 'HS_FDS_RSET_RETURN_ROWCOUNT' returned 'FALSE '.
HOSGIP to 'HS_FDS_PROC_IS_FUNC' returned 'FALSE '.
HOSGIP to 'HS_FDS_REPORT_REAL_AS_DOUBLE' returned 'FALSE '.
using the SYSTEM as default value to "HS_FDS_DEFAULT_OWNER".
HOSGIP to 'HS_SQL_HANDLE_STMT_REUSE' returned 'FALSE '.
Entry hgocont to 2013/01/04-17: 18:14
HS_FDS_CONNECT_INFO = "msodbc".
RC =-1 of HOSGIP for 'HS_FDS_CONNECT_STRING '.
Entry hgogenconstr to 2013/01/04-17: 18:14
DSN:msodbc, name: SYSTEM
OPTN:
Entry hgocip to 2013/01/04-17: 18:14
DSN:msodbc
Release of hgocip, rc = 0 to 2013/01/04-17: 18:14
Release of hgogenconstr, rc = 0 to 2013/01/04-17: 18:14
Entry hgopoer to 2013/01/04-17: 18:14
hgopoer, line 233: had native error 0 and sqlstate IM002; message follows...
[Microsoft] [ODBC driver manager] Nome da dados nao e found melting nenhum driver padrão especificado {IM002}
Release of hgopoer, rc = 0 to 2013/01/04-17: 18:14
hgocont, line 2753: call SqlDriverConnect obtained sqlstate IM002
Out of hgocont, rc = 28500 to 2013/01/04-17: 18:15 with the ptr error FILE: hgocont.c LINE: 2773 ID: something else that permission is not valid
Out of hgolgon, rc = 28500 to 2013/01/04-17: 18:15 with the ptr error FILE: hgolgon.c LINE: 781 ID:Calling hgocont
Entry hgoexit to 2013/01/04-17: 18:15
Release of hgoexit, rc = 0

______________________________________________________

When I use tnsping ms_connection


C:\Documents and Settings\Administrador > tnsping ms_connection

AMT Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 07-JAN-2
013 09:04:29

Copyright (c) 1997, 2010, Oracle. All rights reserved.

Archives of Parometros books:


Used o useful TNSNAMES para resolver o apelido
Contatar trying (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = gabriel-103eff2
() (PORT = 1521)) (CONNECT_DATA = (SID = ms)) (HS = OK))
OK (0 ms)





Thank you very much!!!

Hello
The error in your gateway trace file-

[Microsoft] [ODBC driver manager] Nome da dados nao e found melting nenhum driver padrão especificado {IM002}

translates-

Data Source name not found and no driver by default specified

This means that you don't have a system DSN defined on the Windows machine called "ms", which uses a MySQL ODBC driver to connect to the MySQL database on your Linux machine.
The system DSN to be used is defined by the parameter-

HS_FDS_CONNECT_INFO = ms

Therefore, you must perform the following operations

-install a driver Windows ODBC de MySQL
-define a DSN system whichuses this driver to connect to your MYSQL Linux
-Use this DSN as parameter HS_FDS_CONNECT_INFO

You must ensure that the DSN can connect to MYSQL without Oracle involved before DG4ODBC can also establish a connection.

Kind regards
Mike

Tags: Database

Similar Questions

  • Problem with the connection from Oracle to MS Excel - 64 bit

    Hello

    I have problem connecting Excel to oracle 11.2 using DG4ODBC.

    OS - Windows 7 64 bit

    Database version: - Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64 bit

    Created system using ODBC DSN:

    Name of Data Source = test12

    Oracle home path:-D:\app\11g64db\product\11.2.0\dbhome_1

    Contents of the initdg4odbc.ora file:

    # This is an example of initialization file of the agent that contains the HS settings

    # necessary for the database to ODBC gateway

    #

    # HS init parameters

    #

    Test12 = HS_FDS_CONNECT_INFO

    HS_FDS_TRACE_LEVEL = 255

    #

    # Required for the non-Oracle system environment variables

    #

    #set < varenv > = < value >

    Content of listener.ora:

    listener.ora # Network Configuration file: D:\app\11g64db\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora

    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = live)

    (ORACLE_HOME = D:\app\11g64db\product\11.2.0\dbhome_1)

    (SID_NAME = live)

    )

    (SID_DESC =

    (PROGRAM = dg4odbc)

    (SID_NAME = dg4odbc)

    (ORACLE_HOME = D:\app\11g64db\product\11.2.0\dbhome_1)

    )

    )

    LISTENER =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    )

    ADR_BASE_LISTENER = D:\app\11g64db

    Content of tnsnames.ora:

    tnsnames.ora # Network Configuration file: D:\app\11g64db\product\11.2.0\dbhome_1\network\admin\tnsnames.ora

    # Generated by Oracle configuration tools.

    excel_test =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = tcp)(HOST=localhost) (PORT = 1521))

    (CONNECT_DATA = (SID = dg4odbc))

    (HS = OK)

    )

    SCREW =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = live)

    )

    )

    Status of the listener

    LSNRCTL for 64-bit Windows: Version 11.2.0.4.0 - Production on August 29, 2014 13:56

    : 11

    Copyright (c) 1991, 2013, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=localhost) (PORT = 1521)))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    TNSLSNR for Windows 64-bit version: Version 11.2.0.4.0 - Prod

    ction

    Start date August 29, 2014 13:34:58

    Uptime 0 days 0 h 21 min 12 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Listener parameter File D:\app\11g64db\product\11.2.0\dbhome_1\network\admin\l

    istener.ora

    Listener log file D:\app\11g64db\diag\tnslsnr\Est-Subramanya\listener\al

    ert\log. XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=127.0.0.1) (PORT = 1521)))

    Summary of services...

    Service "dg4odbc" has 1 instance (s).

    "Dg4odbc" instance, status UNKNOWN, has 1 operation for this service...

    Service 'live' has 2 occurrences.

    Instance of "live" status UNKNOWN, has 1 operation for this service...

    Instance of "live" READY State, has 1 operation for this service...

    Service 'visXDB' has 1 instance (s).

    Instance of "live" READY State, has 1 operation for this service...

    The command completed successfully

    DB Link:

    CREATE DATABASE LINK PUBLIC TEST123 USING 'excel_test ';

    error when querying of data:

    Select * from test@test123;

    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:

    ORA-02063: preceding line TEST123

    28500 00000 - "connection between ORACLE and a non-Oracle system has sent this message:

    * Cause: The cause is explained in the forwarded message.

    * Action: See documentation for the non-Oracle of the transmission system

    Message.

    Error on line: 1 column: 20

    Appreciate the help in advance...

    Thank you...

    This problem is solved. It was because of the excel 12.0 version when creating data source in administrative tools.

    Thank you.

  • Connect to a Local MySQL database

    I am creating a java application and need to use a database. I decided to use a local MySQL database. I'm having difficulties to establish a connection to the database. I have analyzed various codes for this problem on the internet and wrote my own code similar to those that I analyzed. I don't see why the code below does not work because I also put the path to the connector inside the variable classpath to the environment. I did everything that was suggested on various jdbc tutorial sites and yet my code does not work. Any suggestion would be appreciated. I already posted a thread on this issue before, but the suggestions really helped and I'm hoping to get different results this time.

    These are the errors I get:

    January 2, 2011 18:10:22 homeworkorganizer. Database addCourse
    GRAVE: null
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at java.lang.Class.forName0 (Native Method)
    at java.lang.Class.forName(Class.java:169)
    to homeworkorganizer. Database.addCourse (Database.java:28)
    at homeworkorganizer.test.main(test.java:17)
    January 2, 2011 18:10:22 homeworkorganizer. Database addCourse
    GRAVE: null
    java.sql.SQLException: no suitable driver found for jdbc:mysql://localhost/homework
    at java.sql.DriverManager.getConnection(DriverManager.java:602)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    to homeworkorganizer. Database.addCourse (Database.java:51)
    at homeworkorganizer.test.main(test.java:17)
    BUILD successful (total time: 0 seconds)


    Code I have:


    /*
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    */

    package homeworkorganizer;
    import java.sql. *;
    import java.util.ArrayList;
    import java.util.Properties;
    import java.util.StringTokenizer;
    import java.util.logging.Level;
    to import java.util.logging.Logger;
    java.net import. *;


    /**
    *
    Nisha * @author
    */
    public class {Database



    private String ipAdress = "localhost";

    ' public void addCourse (String courseNumber, String courseCredit, String courseName) {}
    try {}
    Class.forName ("com.mysql.jdbc.Driver");

    } catch (ClassNotFoundException ex) {}
    Logger.getLogger (Database.class.getName ()) .log (Level.SEVERE, null, ex);

    }

    Server String = "jdbc: / /" + ipAdress + "/"; "."
    String dbName = "homework."

    String url = Server + dbName;

    Properties props = new Properties ();
    props.setProperty ("user", "Christian");
    props.setProperty ("password", "pass");

    Connection Conn;
    Statement st;
    String columns = "course_number, no_credits, course_name;
    String sqlInsrt = "insert current ()" + columns + ") values";

    try {}

    Conn = DriverManager.getConnection ("jdbc:mysql://localhost/homework", "root", "kish");
    System.out.println ("connected to the database\n");
    St = conn.createStatement ();


    Add the user to the database
    String userInfo = "(""+ courseNumber +" ', '"+ courseCredit +" ', '"+ courseName +" ")"; "

    Use executeUpdate when our statement will change the database.
    st.executeUpdate (sqlInsrt + userInfo);


    }
    catch (SQLException ex) {}
    Logger.getLogger (Database.class.getName ()) .log (Level.SEVERE, null, ex);
    }

    }
    }

    According to the error, your class cannot find driver class... This means that you have not added the mysql connector jar file in your build or lib path... Please check the same...

  • Link from Oracle to MySQL database select only one line

    Hello

    I created a connection to the batabase Oracle 11.2 to a MySQL database via a database link. The following statement shows that 35 lines 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' of 'main_pages"@MOREWEB;

    Object

    ------------------------------------------------

    Übersicht: references

    I use the mysql-connector-odbc driver - 3.51.30 - winx64. One is the newer version be installed because on Windows Server 2008 R2, I get an error with a missing dll file. The DataDirect ODBC driver is not possible, because we like to use the MySQL-database free one only support for DataDirect enterprise edition.

    I have also tried to limit the HS_OPEN_CURSORS or do not limit the HS_FDS_FETCH_ROWS, but there is no difference in the result. I always get only one line.

    HS Init.ora

    # This is an example of initialization file of the agent that contains the HS settings

    # necessary for the database to ODBC gateway

    #

    # HS init parameters

    #

    HS_FDS_CONNECT_INFO = moreweb

    HS_FDS_TRACE_LEVEL = WE

    HS_FDS_FETCH_ROWS = 1

    #

    # Required for the non-Oracle system environment variables

    #

    #set < varenv > = < value >

    HS trace file

    Oracle Corporation - MITTWOCH 5 November 2014 13:56:22.066

    Heterogeneous Agent release

    11.2.0.1.0

    Oracle Corporation - MITTWOCH 5 November 2014 13:56:22.066

    Version 11.2.0.1.0

    HOSGIP to 'HS_FDS_TRACE_LEVEL' returned 'ON '.

    HOSGIP to 'HS_OPEN_CURSORS' returned '50 '.

    HOSGIP to 'HS_FDS_FETCH_ROWS' returned '1 '.

    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536".

    HOSGIP to 'HS_NLS_NUMERIC_CHARACTER' returned '. "

    HOSGIP to 'HS_KEEP_REMOTE_COLUMN_SIZE' returned 'OFF '.

    HOSGIP for "HS_FDS_DELAYED_OPEN" returns 'TRUE '.

    HOSGIP to 'HS_FDS_WORKAROUNDS' returned '0 '.

    HOSGIP to 'HS_FDS_MBCS_TO_GRAPHIC' returned 'FALSE '.

    HOSGIP to 'HS_FDS_GRAPHIC_TO_MBCS' returned 'FALSE '.

    HOSGIP to 'HS_FDS_RECOVERY_ACCOUNT' returned 'RECOVER '.

    HOSGIP for "HS_FDS_TRANSACTION_LOG" returns "HS_TRANSACTION_LOG".

    HOSGIP to 'HS_FDS_TIMESTAMP_MAPPING' returned 'DATE '.

    HOSGIP to 'HS_FDS_DATE_MAPPING' returned 'DATE '.

    HOSGIP to 'HS_FDS_CHARACTER_SEMANTICS' returned 'FALSE '.

    HOSGIP for "HS_FDS_MAP_NCHAR" returns 'TRUE '.

    HOSGIP to 'HS_FDS_RESULTSET_SUPPORT' returned 'FALSE '.

    HOSGIP to 'HS_FDS_RSET_RETURN_ROWCOUNT' returned 'FALSE '.

    HOSGIP to 'HS_FDS_PROC_IS_FUNC' returned 'FALSE '.

    HOSGIP to 'HS_FDS_REPORT_REAL_AS_DOUBLE' returned 'FALSE '.

    using mpgw as the default value to "HS_FDS_DEFAULT_OWNER".

    HOSGIP to 'HS_SQL_HANDLE_STMT_REUSE' returned 'FALSE '.

    SQL text of hgopars, id = 1, len = 36...

    45 00: 53454 C 43542043 4F554E54 282 HAS 2920 [COUNT (*) SELECT]

    10: 46524F4D 20606D 61 696E5F70 61676573 [FROM ' main_pages]

    20: 60204131 [' A1]

    Delayed open until the first fetch.

    Deferred execution open.

    SQL text of hgopars, id = 1, len = 40...

    45 00: 53454 C 43542041 312E6073 75626 has 65 [SELECT A1.' subje(1)]

    10: 63746020 46524F4D 20606D 61 696E5F70 [ct' FROM ' main_p]

    20: 61676573 60204131 [ages A1]

    Delayed open until the first fetch.

    Deferred execution open.

    Please can someone help me.

    Thank you.

    Bianca

    Bianca,

    Everything I've read on this point to a need to install/reinstall the Microsoft Visual C++ Redistributable Package for windows OS 2008.

    You will need to download the appropriate version for your microsoft form system.  There is a lot of information on this topic.  Just

    search on the web, and it should help you in the right direction.

    Thank you!
    Matt

  • How to connect to the local mysql database

    Hello, I can't find the mysql database. I have set up the server in Dreamweaver CM³, but cannot view the database.

    Help, please. Don't know what info you need.

    Yes, I guess DMX is. I do not pay much attention to these things.

    If you use PHP 5.6, so be sure that your external server also uses 5.5 or 5.6. As a beginner, it is unlikely that you will use and features that differ between 5.5 and 5.6.

  • connections hs Oracle to mysql without passthrough 'use the schema' command

    Oracle 11.2

    create a connection of hs to log in as root to mysql.

    Start receiving

    in mysql create a schema of 'metric '.

    create a vw_backups of view under "settings" in looking at mysql.backup_history

    create a "mysql_metrics" db link to mysql using the metric schema

    CREATE THE DATABASE LINK "MYSQL_METRICS".

    CONNECT to "metric".

    IDENTIFIED BY < PWD >

    With the HELP of 'mysql ';

    in oracle

    Select * from 'vw_backups"@mysql_metrics '.

    Select * from 'vw_backups"@mysql_metrics '.

    *

    ERROR on line 1:

    ORA-00942: table or view does not exist

    [MySQL] [Driver ODBC 5.2.a] [mysqld - 5.5.28 - log] Table 'mysql.vw_backups' doesn't exist not {42 S 02, NativeErr = 1146}

    ORA-02063: preceding 2 lines of MYSQL_METRICS

    OR

    Select * from 'metrics.vw_backups"@mysql_metrics '.

    *

    ERROR on line 1:

    ORA-00942: table or view does not exist

    [MySQL] [Driver ODBC 5.2.a] [mysqld - 5.5.28 - log] Table 'mysql.metrics.vw_backups' doesn't exist not {42 S 02, NativeErr = 1146}

    ORA-02063: preceding 2 lines of MYSQL_METRICS

    This looks to my like his or by default in the schema of mysql root.  However, we can make it work by issuing the command use schema via passthrough

    Select DBMS_HS_PASSTHROUGH. EXECUTE_IMMEDIATE@MYSQL_metrics ("metrics of USE') of double;

    my selection now works.

    How can I get my application to work without this passthrough command?  Im sure Ive done this before, without having to do

    replied.  My necessary odbc.ini metric schema not root.

  • Then try to connect to oracle, I got this error message. zone area not...

    Error message
    ORA-00604: error occurred at recursive SQL ORA-01882 level1: region of the zone could not be found.

    Today, I downloaded developer sql 3.0.04.34.
    Everything was the same, but I couldn't connect oracle server with above message.

    Here is my experience...

    customer
    window7
    Java
    java version "1.6.0_20.
    Java (TM) SE Runtime Environment (build 1.6.0_20 - b02)
    The Client Java VM (build 16, 3 - b01, mode, mixed share)
    window timezone; bangkok
    local window; Korean
    SQL developer zone; idk
    local developer SQL; Korean
    Oracle
    windows 2003 Server
    9i
    regional settings; idk
    before I got here, I googled this problem.
    There are 2-3 solutions, but it did not work.

    1 set the regional settings to the file sqldeveloper.conf
    AddVMOption - Duser.timezone = "+ 07:00"
    2 " set the regional settings to the file ide.conf
    AddVMOption - Duser.timezone = "+ 07:00"
    please help me. "
    Thanks in advance.

    You can find more tips on your research: ora-01882 "zone schedule region not found" with 3.0.03.97 but not 3.0.03.45

    Hope that helps,
    K.

  • How can I connect dreamweaver to 000webhost mysql/database

    The guys I spent 3-4 days just to connect the database with my dreamweaver. But I've missed so far.

    I just created a site with Basic 4 simple registration pages.

    -index.php

    -Login.php

    -register.php

    -access denied.php

    I created a table/database in 000webhost and all is well. But I can just connect it to dreamweaver.

    I use dreamweaver cc 2015.

    Whenever I try to serverbehaviour Recordset, I can't connect to database 000webhost.

    Here is the screenshot of the error.

    It comes to the start page of the registration page. I have not yet designed and all. I want to correct this 1...

    Thank you1.jpg2.jpg3.jpg4.jpg5.jpg6.jpg7.jpg

    OK, all around confusion side, you have a PHP/MySQL Server works like a charm on your local machine and you want to load on the remote control.

    If you have correctly configured the remote control in setting up a Dreamweaver Site, there should be no problem to download files in the correct remote directories. This leaves us with the transfer of data files.

    Open your local database in phpMyAdmin and then select export from the menu. Scroll and select the Save as file check box, and then press Go.

    Now, open the database in phpMyAdmin on the production server (Note: you'll need to create the database), and then select Import from the menu. Browser for the file that you saved, and then press go.

    If all goes well you should now have a mirror image of your database on the production server!

  • How to connect to Oracle Enterprise Manager 10 g Database Control have SYSDBA?

    Hello

    I installed Oracle 10.2.0 (Enterprise Edition) on my laptop at home. And with SQL * Plus, I login as sys and created a user Charles (with the password pwd), and I granted the DBA role to this user. SQL * more messages saying that the user has been created and the role (the DBA role has been granted). When I log on to Oracle Enterprise Manager 10g Database Control as a user Charles (with the password pwd that I gave to the creation of the user) as usual (in the 'Connect as' drop-down), I check that the Charles user has DBA profile. My problem is that when I try to connect to Oracle Enterprise Manager 10g Database Control as a user Charles (with the pwd password that I gave to the creation of the user) and as SYSBA+, one error message is displayed: your user name and/or password is not valid.
    Please, how do I connect to to Oracle Enterprise Manager 10 g Database Control as a user Charles (with the password pwd that I gave to the creation of the user), but as SYSDBA?

    Thanks in advance for your answers.

    user639304 wrote:
    Hello

    I installed Oracle 10.2.0 (Enterprise Edition) on my laptop at home. And with SQL * Plus, I login as sys and created a user Charles (with the password pwd), and I granted the DBA role to this user. SQL * more messages saying that the user has been created and the role (the DBA role has been granted). When I log on to Oracle Enterprise Manager 10g Database Control as a user Charles (with the password pwd that I gave to the creation of the user) as usual (in the 'Connect as' drop-down), I check that the Charles user has DBA profile. My problem is that when I try to connect to Oracle Enterprise Manager 10g Database Control as a user Charles (with the pwd password that I gave to the creation of the user) and as SYSBA+, one error message is displayed: your user name and/or password is not valid.
    Please, how do I connect to to Oracle Enterprise Manager 10 g Database Control as a user Charles (with the password pwd that I gave to the creation of the user), but as SYSDBA?

    Thanks in advance for your answers.

    CHARLES GRANT SYSDBA;

  • Unable to connect to Oracle Database 11.2 XE Beta

    Hi all:

    Try to connect to Oracle Database XE Beta 11.2, the fields are workspace, user name and password. How will I know the workspace.

    Thank you

    When you try to open a session?

    If you go to boot (http://127.0.0.1:8080/apex/f? p = 4950), should open the home page of the database.
    Now click the tab "APEX" or red button, connection on request with a user name of database, and you will have the chance to create a workspace Apex.

    See the XE getting started Guide - 6.1 [url http://download.oracle.com/docs/cd/E17781_01/admin.112/e18585/toc.htm]. Getting started with Application Express

    To explore the APEX, the Documentation Library [url http://download.oracle.com/docs/cd/E17556_01/welcome.html] for APEX 4.0 should come in handy.

    Published by: orafad on May 28, 2011 12:52

  • Connection to Oracle 11g with MySQL 5.1

    Hey all,.
    I have searched all over the web for this, and I can't find information that applies to my case. I have an Oracle 11 g DB on a Windows Server 2003 SP2 installer and installing the heterogeneous services ODBC driver. I want to connect it to a different Windows 2003 SP2 machine running MySQL Community.

    On the side of the Oracle, I set up the systems to MySQL ODBC connection, and it connects successfully. I also configured tnsnames.ora as follows:

    mysqlecommerce =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = dvlps11.cosine.com.cy)
    (PORT = 1521)
    )
    (CONNECT_DATA =
    (SID = mysql_gateway))
    (HS=OK))

    I have initmysql_gateway.ora with the following two lines:

    HS_FDS_CONNECT_INFO = mysqlecommerce
    HS_FDS_TRACE_LEVEL = ODBC

    and I get the following in the listener.ora file:

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = mysql_gateway)
    (ORACLE_HOME=C:\Oracle11g\product\11.1.0\db_1)
    (PROGRAM = dg4odbc)
    )
    )

    I also created a dblink as follows:

    create the 'MYSQLECOMMERCE' of the public database link
    connect to MYSQLDB
    identified by '< pwd >.
    using 'mysqlecommerce ';

    Now when I try to run a simple SQL selection such as:

    Select 'id_category' ps_category"@mysqlecommerce «»

    I get the following response:

    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
    [MySQL] [ODBC 5.1 Driver] [mysqld - 5.1.36 - community-log] you have an error in your syntax SQL; consult the manual for your version of the MySQL server for the right syntax to use near '' id_category' FROM 'ps_category' A1' at line 1

    ORA-02063: preceding 2 lines of DG4ODBC

    Can someone please help me understand what is happening?

    Thank you in advance!

    The syntax error is caused by your database MySQL does not not in ANSI mode. By default, DG4ODBC sends a code compliant ansi in the foreign database, which means for column sensitive to case and table names it surrounded by double-quotes. MySQL DB not working not in mode compatible ANSI rejects them and uses a back tick to preserve the case - so it reports a syntax error in the case of double qoutes.

    To solve the problem please have a look to My Oracle Support note:
    Problems of selection of data to Mysql using 11.1.0.6 DG4ODBC - error in your SQL syntax [ID 553030.1]

  • ODBC connection between oracle db and db US7ASCII mysql UTF8

    We are trying to convert our Oracle US7ASCII databases to Unicode (AL32UTF8). We have Connector/ODBC 5.3.4 for Solaris (mysql-connector-odbc-commercial-5.3.4-solaris11-sparc-64bit). Everything works when the two databases are US7ASCII. We have used MISP to convert the Oracle in AL32UTF8 database, changed nothing else, and the connection stops working.

    /usr/local/etc/ODBC.ini table of contents:

    [Default]

    Driver = /usr/local/myodbc/lib/libmyodbc5.so

    Description = MySQL ODBC Driver

    SERVER = alex

    PORT = 3312

    USER = schzoneoffice

    Password =

    Database = SCHZONE

    OPTION = 3

    SOCKET =

    $ORACLE_HOME/hs/admin/initmysql.ora table of contents:


    #

    # HS init parameters

    #

    HS_FDS_CONNECT_INFO = mysql

    HS_FDS_TRACE_LEVEL = we

    HS_FDS_TRACE_FILE = mysql.log

    HS_FDS_SHAREABLE_NAME = /usr/local/lib/libodbc.so

    #

    # ODBC specific environment variables

    #

    Set ODBCINI=/usr/local/etc/odbc.ini

    Can someone suggest the parameters we can try to get this working? I tried to play with the settings HS_LANGUAGE and HS_NLS_NCHAR my initmysql.ora file, under $ORACLE_HOME/hs/admin, nothing helps.

    Right after that I posted this, I answered my own question:

    I was an invalid test, while playing with the parameter HS_LANGUAGE the other day. (lsnrctl reload does not work properly - need to stop and start the receiver, also disconnect and reconnect your oracle session, given that the mysql connection is persistent)

    Today, I added HS_LANGUAGE = american_america. US7ASCII to my initmysql.ora file and it works.

  • Problem: connect Dreamweaver CC to a local MySQL database

    Nice day

    I use Dreamweaver CC to create a dynamic site, on a Mac (but I had the same problem when I tried on Windows), with MAMP as a local server Apache with MySQL.

    the main folder of my site is .../htdocs/mysite/ so in the server settings, I set myself as follows:

    Schermata 2016-03-05 alle 10.44.21.pngSchermata 2016-03-05 alle 10.44.27.png

    And this is a job for the live preview.

    BUT

    When I try to connect Dreamweaver to MySQL, it seems that the error:

    Schermata 2016-03-05 alle 10.54.19.png

    If you ask, MAMP use 8888 for Apache http and 8889 for mysql. I can change these for 80 and 3306 by default (and write only 'localhost'), but I have the same problem. Infact if dreamweaver did not find a connection message speaks of a 404 error, so I don't think that the problem is on the configuration of the port.

    In another post, I found on the internet about this, someone said that it is a problem between different versions of php or mysql in dreamweaver and MAMP. But I have the same problem on windows with XAMPP.

    Can you help me?

    Thank you!

    This PHP: mysql_pconnect - manual should answer your question.

    In case you do not understand, the said function is not valid for PHP version 7. If you install PHP version 5.4, you won't a problem except on the track when PHP7 becomes public.

  • When I try to connect to hotmail and received the following message ' sorry, there's a problem with Hotmail right now Hotmail was not able to complete this application.

    Hi, I try to connect to hotmail and received the following message ' sorry, there's a problem with Hotmail right now Hotmail was not able to complete this application. Microsoft may contact you about any matter that you declare "what steps should I take as I have urgent e-mail to check." THX

    Hello

    Looks like a temporary problem.

    Answers is a peer group supported and unfortunately has no real influence on Hotmail.

    HotMail has its own Forums, so you can ask your questions there.

    Windows Live Solution Center - HotMail - HotMail Forums Solutions
    http://windowslivehelp.com/

    Hotmail - Forums
    http://windowslivehelp.com/forums.aspx?ProductID=1

    Hotmail - Solutions
    http://windowslivehelp.com/solutions.aspx?ProductID=1

    How to contact Windows Live Hotmail Support
    http://email.about.com/od/hotmailtips/Qt/et_hotmail_supp.htm

    Windows Live Hotmail Top issues and Support information
    http://support.Microsoft.com/kb/316659/en-us

    Error message "your account has been locked" when trying to connect
    http://windowslivehelp.com/thread.aspx?ThreadId=77be7d82-a0e9-49c7-b46d-040ec654a9e2

    Compromised account - access unauthorized account - how to recover your account
    http://windowslivehelp.com/solution.aspx?SolutionID=6ea0c7b3-1473-4176-b03f-145b951dcb41

    Hotmail hacked? Take these steps
    http://blogs.msdn.com/b/securitytipstalk/archive/2010/07/07/Hotmail-hacked-take-these-steps.aspx

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • Connect tigerwoods 2008 gives online we have technical problems try again within 7 days later same message please advice__

    Connect tigerwoods 2008 gives online we have technical problems try again within 7 days later same message please advice

    Hermanus Western Cape Grootballe

    Hi Grootballe,

    Since you're having problems with your golf Tiger Woods 2008 Server, obviously their server is down because they were notified.

    You are able to play offline game because the game is installed on your computer, in contrast to game online retrieves the information from the server.

    Contact the manufacturer of your game for more information

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for

  • Low Volume

    Recently bought a 3rd gen Apple TV which is connected the HDMI3 on my Samsung TV.  When I watch anything through Apple TV, Netflix etc, I need to increase the TV volume up to MAX to hear anything.  How can I fix?

  • Have a PUPPY. Optional.Vosteran and cannot access the tools in Firefox to correct.

    Found the instructions to get this pest out of my great Firefox, but have forgotten how to access Firefox 'tools' so I can do it. Please remind me how to get the 'tools' to show in the top tab so that I will not curse every day as Malwarebytes appear

  • How can I turn off the mobile mode.

    I have a 10 nexus, which, with a 10 "screen, isn't really a mobile device. Unfortunately, Firefox is indicative of the web pages that it is. Given this information, some web pages redirect to a short page. Turn on "site office request" does not work

  • Satellite L20-217 does not start

    Hellocan anyone help?I have a Satellite L20-217 and it just stopped working on the other day.It was connected with the AC adapter, all of a sudden the message came on the screen saying my battery was low so less than a minute the whole machine has st

  • Servo motor gets stuck in the loop

    My project is to control two motors from the pedals with LabVIEW in combination with UMI-7774 and PCI 7350. I use a traditional format of State Machine to simultaneously control two motors according to the absolute position mode. In one of the first