12 c and Certifications 5.6 MySQL database
Hi, I'm looking for so to get a BIN in the 12 c database and an OCP MySQL 5.6. I could continue an OCP in the 12 c database if I can get my company to pay for him... not holding my breath. OCP in MySQL does not require a class of $3000 - $5000. In any case, is to have these two redundant certifications? In other words, if we know Database 12 c, a more than sufficient knowledge of MySQL come with her?
In any case, is to have these two redundant certifications?
N °
In other words, if we know Database 12 c, a more than sufficient knowledge of MySQL come with her?
They are two completely separate RDBMS platforms with different capabilities, orders, etc. (although both use ANSI SQL). Learn how to use Oracle does not teach you to use MySQL and vice versa. Once you know, learn that the other will be easier, simply because you will be more familiar with the basics of a RDBMS. However, the details are not the same.
Tags: Oracle
Similar Questions
-
continious streaming to the mysql database
Hello
I have LabvVIEW and LV Database Connectivity Toolkit. I'm creating a test sequence and I need to log the results and data to a mysql database. I want to ask you your opinion on what will be the most effective approach to connect to the database. I'll open connection once and then permanently in the stream of data to the database and then once I am finished, I've just will close the connection (similar to the concept of IO file in LabVIEW. Or will I open connection every time I need to connect to the database and immediately close and then open it again once I need to save the data again. SO basically, my program flow will be:
1. opening (operator or engineer)---> this information must be connected.
2. Select the test---> name sequence selected sequence must be connected
3. start Test---> uut data number of series, and the result must be connected
and so on.
so the cycle just repeats, it may be that the operator will continue to another sequence of test, or switch to another object to measure. But all the information will be saved to the database.
So, what will be the most effective approach of data communication? It is best to open the connection before, connect and then log the data on the fly, and then after the operator made with test, to stop the program, the connection will also be closed.
or
Whenever I need to connect to the database, I'll open the connection, and then close the log data (i.e. for the Login of the operator, the database connection will be opened, save the id of the operator, then closes the connection, then when a test sequence is selected, the database connection is open again and then save the name of the test sequence) and then close the connection, etc.)
This will be my first to deal with the database and I don't know if the approach to database is the same as the approach to connect to the file using binary or text. I know that for the binary or text, it is recommended that we make data streaming, but for the database, it will follow the same concept? My concern is that these tests can last for hours. I'm not sure how stable it is to keep in now open database connection.
Any help or opnion anywone, will be very happy. Thanks a lot in advcance!
I think both architectures are good. Choose the best one depends on too many factors. How many connection you have simultaneously to this base? How is the load of your LAN network? How long can happen that you lost the connection with the database? The amount of data you want to transfer for each transaction?
According to me, a third approach now is to connect the the test data for the local machine and transfer the data at the end of the trial. It is an approach to security that it is also proposed by Microsoft using the ADO SqlServer 8.Lorsque. The data group are indeed a copy of the data on the local, but I think that it is better to save data to a log file and once the acquisition is completed, transfer them to SQLServer and then kill the file.
-
I created a site in dreamweaver, now you want to set up the MySql database and username / password to access a part of it. Dreamweaver's tools?
I guess I need to learn PHP?
Guidance gratefully received!
Bob
If you simply need to restrict access to your site, or a part of your site, there is an easier way to do it, using Apache htpasswd, but this solution is very limited and not suitable for use with clients, there is no interesting features people expect, as the ability to reset a lost password.
Otherwise, Yes, you will need to learn some PHP and SQL.
You will start by setting up your development computer with an Apache web server, which comes with PHP and possibly also MySQL. There are free versions, such as XAMPP, but I prefer Zend Server, which costs $195.
Dreamweaver includes data 'tools' to the CS 5.5 version and there are third-party plugins available that will handle the data functions, but to really make things right you need to learn how to write your own code and don't mess with the tools who write code for you that you can not understand and are difficult to change.
I think that David Powers PHP Solutions book is a good introduction and also includes a tutorial on building a password access system that is fine.
-
DreamweaverMX and a MySQL database
Hello
I am trying to connect to my MySQL database in DreamwaeverMX.
When I try to add the MySQL connection I put data as follows.
Login name: connTrio
Server name: localhost
User name: root
Password: password
I get error message "the schooner error has occurred" when I try to select the database.
I can confirm that the database is present, mysql is running, used password is correct.
I hope someone can help
Best regards
MartinHello
The "nightmare" is over!
Found this Wamp server set uphttp://www.wampserver.com/en/download.php
100% working in less than 10 minutes!
-
How to set up the MySQL database to connect from another computer?
Hello
I have a huge problem with that.
What I want to do is:
I want to create a system (in LabWindows/CVI) this will (among others) allow users to send simple messages to each other. So I want to create a MySQL database , which will be based on a server. Other computers running the system then is able to remotely connect to this database and read a certain table to see if they have new messages. I want that the client computer to connect through the LAN to the database on the server.
But how can I do this?
- How to create a database that can be connected through the LAN?
- How my connection string should look like not on the client computer?
- What configurations on the client and server computers can I do?
Any help is appreciated, and if you could suggest how can I do to reach my goal. I'm a very competent programmer, but HATE those network things.
Thank you
Umer
Nothing really associated with LabWindows. Try http://dev.mysql.com/doc/refman/5.7/en/tutorial.html for the database installed and running on a server.
-
How or there is no model code keep update/sync the local database indexedDB for MySQL database online?
Unfortunately there is no direct connector for an application of WebWorks to a back-end database. You will need to do, is to have some middleware web server (Apache, Node.js, etc.) who manages a web service that you can make an HTTP request to and GET, POST, UPDATE, DELETE data. Middleware and then transmits commands to the back-end database and returns the results to the finished device.
-
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 -
Insert and update records to MySQL from Oracle
Hello
Our application will be insert/update new records in the Oracle database, but I need to insert/update new records in the MySQL database. Oracle and MySQL tables have the same columns.
Right now, we intend to create DBLink between Oracle and MySQL. The question is to know how to write code to insert/update new records to MySQL from Oracle. I'm a new guy in this area.
Please give us some examples of code, thanks!
With Oracle, you should be able to just write the same thing as usual, except for the include link database when you reference the table for example your SQL
insert into tablename@mysqldblink...
updating of the game tablename@mysqldblink...
Services gateway through the database link (odbc drivers or anything else that is used) must make the most of the necessary conversions for you.
-
Can I manage a Mysql database with dreamweaver CC? Comment if so?
Can I manage a Mysql database with dreamweaver CC? Comment if so?
For example, I prepare a registration page and then I can't find how to connect MySQL database in dreamweaver CC pour it works.
How does it do?
1. download a new extension manager for CC. Here is a list of 3, all free.
Anastasiy extensions Manager
The seven extensions of the project manager
http://www.Projectseven.com/extensions/
The DMX Zone extensions Manager
http://www.DMXzone.com/go/22670/DMXzone-extension-manager-for-Dreamweaver
============================
2. download the Extension of obsolete DMX Zone Server Behaviors panel
============================
3. replace the obsolete server with a modern commercial extension behaviors:
http://www.WebAssist.com/Dreamweaver-extensions/mysqli
Nancy O.
-
JDBC connectivity with a mysql database
I created a MySQL database, but I have problems with communication with the DB in java
Here is the error
java.sql.SQLException: no suitable driver found for jdbc:mysql://localhost:3306 / books
at java.sql.DriverManager.getConnection(DriverManager.java:604)
at java.sql.DriverManager.getConnection(DriverManager.java:221)
to displayauthors. DisplayAuthors.main (DisplayAuthors.java:30)
java.lang.NullPointerException
to displayauthors. DisplayAuthors.main (DisplayAuthors.java:66)
BUILD successful (total time: 1 second)
---
I edited windowds system variables
CLASSPATH
.; C:\Program Files (x86)\Java\jre7\lib\ext\QTJava.zip
CLASSPATH1 (note the 1 at the end, I don't want to replace the previous
., C:\Program Files (x 86) \MySQL\Connector J 5.1.30\mysql-connector-java-5.1.30-bin.jar
---
Host name: localhost Port: 3306
User name: root
password: Tpswsd77? (changed to thios post)
Stored connection: Instance local MySQL56
Connection method: Standard (TCP/IP)
HERE IS THE CODE
public class DisplayAuthors {}
Database URL
public static final String DATABASE_URL = "jdbc:mysql://localhost:3306 / books."
Launch the application
Public Shared Sub main (String args [])
{
Fitting out = null; corresponds to a connection
Statement statement = null; query statement
ResultSet resultSet = null; manages the results
connect to the database books and database query
Try
{
establish a connection to the database
connection = DriverManager.getConnection)
DATABASE_URL, "deitel', 'deitel'sc');
< defaultstate editor-fold = "collapsed" desc = "comment" >
DATABASE_URL, 'root', 'Tpswsd77?');
< / Publisher-trick >
CREATE statement to query the database
Statement = connection.createStatement ();
query database
resultSet = statement.executeQuery)
"SELECT authorID, firstName, lastName FROM authors");
process query results
ResultSetMetaData metaData = resultSet.getMetaData ();
int numberOfColumns = metaData.getColumnCount ();
System.out.println ("Table Authors of books database: \n");
for (int i = 1; i < = numberOfColumns; i ++)
System.out.printf ("%-8s\t", metaData.getColumnName (i));
System.out.println ();
While (resultSet.next ())
{
for (int i = 1; i < = numberOfColumns; i ++)
System.out.printf ("%-8s\t", resultSet.getObject (i));
System.out.println ();
} / / end while
} / / end try
catch (SQLException sqlException)
{
sqlException.printStackTrace ();
} / / end of capture
Finally / / resultSet, statement and connection are closed to this
{
Try
{
resultSet.close ();
Statement.Close ();
Connection.Close;
} / / end try
catch (System.Exception Exception)
{
exception.printStackTrace ();
} / / end of capture
} / / end finally
} / / main end
} / / end of class DisplayAuthors
Given that you seem to be running from netbeans, you would better add the jar to the project libraries...
And NO, you should NEVER put anything in your system classpath. It's a very bad habit, led to the equivalent of Java of the DLL hell and of course from the moment that you distribute the application to any other machine that's going to fail again.
Add it instead of the specific CLASSPATH of the application.
And do not put anything on the class path that has spaces in the name, it is no longer can cause problems, but don't count on that it works.
-
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.
-
Hello
I had a search on the forums and I don't see anyone with the same problem so I apologize if this has been asked before.
I need to connect a database to a Web site so that members can register and save it to some pages (not all pages - only a 'members only' section).
I created the database, tested and it works very well (I used XAMMP/PHPmyAdmin).
In DreamWeaver CS6, I chose the type of document from the page (PHP) and set up the testing server. If I go to site Configuration > server for the site and click on test, it connects successfully. Note that the test server is hosted at the University, that I work - there is a password required, but I entered it on the test set up server and it seems connects very well, as I get the message successfully at this stage.
When I go to connect the mySQL connection and select the database I get the error "access is denied. The file exists may not, or there could be a permission problem. Make sure you have permission on the server and the server is properly configured. »
Any ideas? It's driving me crazy!
I understand that after several unsuccessful searches on Google, so I post the solution here for someone else with the same question that could end up here.
If you configure your test server in the inetpub/wwwroot/folder then Dreamweaver cannot make changes (such as adding files) unless you are running as an administrator, so it occurred to me that maybe the database connections are also affected. Of course, as soon as I leave Dreamweaver and restarted as an administrator, I was able to connect to the MySQL database using the databases Panel. If you don't know how to run a program as an administrator, it is pretty easy: just right click on Dreamweaver icon and select "Run As Administrator" when you start the program. There are a lot of tutorials out there that can give you the necessary steps for always loads a program as an administrator if you don't do right click every time.
Version: Dreamweaver CC 2015.
-
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_INFOYou must ensure that the DSN can connect to MYSQL without Oracle involved before DG4ODBC can also establish a connection.
Kind regards
Mike -
ORA-28500 and ORA-02063 connecting MySQL to Oracle.
Dear all,
My database is Oracle 11 GR 2 Rac 2 knots and on 64-bit Linux operating system.
Version of my MySQL database is 5.5.17 it's the Linux 32-bit operating system.
I am trying to connect to MySQL database to Oracle database using a database link.
Here is the step by step process that I followed to reach my goal. All my processes are on an Oracle RAC node.
1)
Yum install mysql-connector-odbc
Yum install unixODBC
2)
Edit the file /etc/odbc.ini
[test]
Driver = /usr/lib64/libmyodbc3.so
Description = MySQL ODBC 3.51 Driver DSN
SERVER = 10.0.0.1
PORT = 3306
USER = test
Password = test
Database = test
OPTION = 3
SOCKET =
3)
Edit the /etc/odbcinst.ini file
[MySQL]
Description = ODBC for MySQL
Driver = /usr/lib64/libmyodbc3.so
Setup = /usr/lib64/libodbcmyS.so
FileUsage = 1
(4) test connection
isql - v test test test
Returns:
---------------------------------------
| Connected!
| |
| SQL query |
| help [tablename] |
| quit smoking |
| |
---------------------------------------
SQL >
(5) now, I change the listener.ora file and add the entry. After the entry of my file listener.ora is like this:
LISTENER =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = CIP)(KEY = LISTENER))
(ADDRESS = (PROTOCOL = TCP)(HOST=testnode1) (PORT = 1521))
)
)
# line added by Agent
LISTENER_SCAN1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = LISTENER_SCAN1))
)
)
# line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1 = ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON # line added by Agent
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)
(= Extproc PROGRAM)
)
(SID_DESC =
(PROGRAM = dg4odbc)
(ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = test)
(ENVS = LD_LIBRARY_PATH = usr/local/lib:/u01/app/oracle/product/11.2.0/dbhome_1/lib)
)
)
(6) after these entries, the listener after REBOOT status is as follows:
LSNRCTL > status
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start date December 27, 2011 01:19:32
Uptime 0 days 9 h 31 min 12 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Parameter Listener of the /u01/app/11.2.0/grid/network/admin/listener.ora file
The listener log file /U01/app/grid/diag/tnslsnr/racnode1/listener/alert/log.XML
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = LISTENER)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=testnode1) (PORT = 1521)))
Summary of services...
Service '+ ASM' a 1 instance (s).
Instance '+ ASM1' READY State, has 1 operation for this service...
Service 'PLSExtProc' has 1 instance (s).
Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
Service 'test' has 1 instance (s).
Instance of 'test', status UNKNOWN, has 1 operation for this service...
Service 'testdb' is 1 instance (s).
'Testdb1' instance, State LOAN, has 1 operation for this service...
Service 'racdbXDB' has 1 instance (s).
'Testdb1' instance, State LOAN, has 1 operation for this service...
The command completed successfully
(7) then in the tnsnames.ora file, I added the following entry:
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = IPC)
(KEY = EXTPROC1521)
)
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
test =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = 10.0.0.1)(PORT = 1521))
)
(CONNECT_DATA =
(SID = test)
)
(HS = OK)
)
When I test tnsping, it works.
(8) I change the file .bash_profile for Oracle
ORACLE_HOME, ORACLE_BASE were already pointing to the right destination, I added:
LD_LIBRARY_PATH=/usr/local/lib:/U01/app/Oracle/product/11.1.0/Db_1/lib:/U01/app/Oracle/product/11.2.0/dbhome_1/HS/lib:/usr/lib64:/usr/lib
export LD_LIBRARY_PATH
ODBCINI=/etc/ODBC.ini
Export ODBCINI
ODBCINSTINI=/etc/ODBC.ini
export ODBCINSTINI
ODBCSYSINI = / etc
export ODBCSYSINI
(9) then I configured $ORACLE_HOME/hs/admin/inithsodbc.ora
And modified these lines:
HS_FDS_CONNECT_INFO = test
HS_FDS_TRACE_LEVEL = WE
HS_FDS_TRACE_FILE_NAME = odbc_test.log
HS_FDS_TRACE_LEVEL = 4
HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
HS_FDS_SUPPORT_STATISCTICS = FALSE
HS_LANGUAGE = AMERICAN_AMERICA. WE8ISO8859P1
Set = /etc/odbc.ini ODBCINI
(10) then I created a link of database with the following command:
Create a database connection test audience to connect to test identified by test using 'test '.
Also I tried the username and password in the database link with double quotes.
(11) now finally when I try to select records from a mysql table:
Select count (*) from "table"@"test" -I tried with and without double quotes
I get the following error:
ERROR on line 1:
ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
ORA-02063: preceding the TEST line
How to pass through this error and how do I check the logs for HS?
Your help is needed.
Best regards, Imran
Published by: misterimran on December 27, 2011 13:21Hello
You had your listener.ora for the DG4ODBC entry-(ENVS = LD_LIBRARY_PATH = usr/local/lib:/u01/app/oracle/product/11.2.0/dbhome_1/lib)
but it should also include the path to the driver manager directory which in your case is/usr/lib64 might then you add this?
The error:Unable to load the ODBC library symbol: usr/lib64/libmyodbc3.so(SQLSetDescRec)
indicates the lib64 directory are not accessible.
The entry should look like-
(SID_DESC =
(PROGRAM = dg4odbc)
(ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = test)
(ENVS = LD_LIBRARY_PATH = usr/local/lib:/usr/lib64:/u01/app/oracle/product/11.2.0/dbhome_1/lib)
) Spaces may have bene lost at the time of publication, but at least there should be a space in the file as indicated by the
.
After the change is made and then stop and start the listener.
If you still have problems, please post again the current versions of the configuration files, the complete errors figure in SQLPLUS to a select statement and the output of a trace debugging with errors.According to the information you use the 3.51 MySQL ODBC driver so could you also try with the latest version of the 5.1 driver and see if you have the same problem?
Kind regards
Mike -
I have an old database that came from MS SQL and was imported long ago to mysql. He seems to have a few bad dates I need to fix...
Some appear in the format:
0000-00-00 00:00:00
error in cf research says:
cannot be represented as a java.sql.Timestamp
(I think they speak of this area...)
It makes it difficult to update the PB when it keeps the slightest mistake...
also I tried to look with phpmyadmin in the field for: AS and 0000
but empty shows query
I've noticed that most recent TS seem to have additional one.0 in the end as:
0000-00-00 00:00:00 = old problem?
2012-10-01 00:00:00.0 = new ok...
Q: How can I get around this?
It is a well known problem in older versions of MySQL. A common solution is to include the property
zeroDateTimeBehavior = convertToNull
in the field of connection string in the source settings in the ColdFusion Administrator of MySQL database. Requests and then returns the value NULL in the 0000-00-00 00:00:00 as is encountered. See, for example, the Nadel's blog on this.
Maybe you are looking for
-
iPhone 7 international warranty
I intend to buy the new iphone 7 as a gift for my brother. I am currently here in Kuwait, but there is no authorized dealer for apple want to know if I have a defect in one year in the philippines or my brother used to travel many times International
-
I have a Tecra 8000 with Windows XP Pro installed.Everything works perfectly, I've updated the BIOS to v9.3 - BUT I can't get the video of the matches to work.I tried the RCA Jack on the back and also connected the SVGA dongle to the outlet side and
-
Qosmio X 70-A-13 c-OS SSD not detected
Hello. I'm new to this forum, I bought my computer a week ago and I got it in the mail today. I paid about 50 just for delivery and I waited 7 days, I think it's really expensive! But hey, it's the new year... In addition, the hull of the computer is
-
Black screen on Qosmio X 500 - 11 d (not UPS)
HIE, I have a problem of screen on my Qosmio X 500 - 11 d When you start the computer, the display shows the Toshiba Logo, then swiotches off the coast...It remains dark, enven the Windows logon page, or on my desktop page...Beleieving it would be a
-
My moniter is flckering