Connection to external database

Hi All,
we have an requirement to connect SAP R/3 to external database which is oracle and java tool for data uploading.
One of our team abaper requested us to establish the connection.
When explored , i got some info on DB11 and DBCON table.
I created the connection with the DBM user control and SAP user SAPR3.
Please let me know how to test the connection further and details on connection to external database from BASIS point of view.
Thanks

Hi,
Using transaction SE11, create a table (ZTABLE) with the same fields as the table in the external database, make sure that the type and lengths of the fields are identical.
Using transaction SE11, create a view (ZTABLE_VIEW, projection view) using BASIS table ZTABLE
Using SVRMGRL>
create dblink REMOTE_DB as connect to remote_user identified by password; (database link created)
drop table ZTABLE; (table dropped)
create synonym ZTABLE for ZTABLE@REMOTE_DB; (synonym created)
Using transaction SE16 , type in ZTABLE_VIEW and hit RETURN
Enter value in key fields and hit execute. (displays rows from the remote table)
In other words
To access an external database from ABAP via DBLINK (ORACLE)
Using transaction SE11, create a table (ZTABLE) with the same fields as the table in the external
database, make sure that the type and lengths of the fields are identical.
Using transaction SE11, create a view (ZTABLE_VIEW, projection view) using BASIS table ZTABLE
Using SVRMGRL>
create dblink REMOTE_DB as connect to remote_user identified by password; (database link created)
drop table ZTABLE; (table dropped)
create synonym ZTABLE for ZTABLE@REMOTE_DB; (synonym created)
Using transaction SE16 , type in ZTABLE_VIEW and hit RETURN
Enter  value in key fields and hit execute. (displays rows from the remote table)
<REMOVED BY MODERATOR>
Jagadish
Edited by: Alvaro Tejada Galindo on Apr 8, 2008 6:08 PM

Similar Messages

  • How to connect to External Database, if say SQL server, from Adobe LC

    Hi everyone,
    I have one application, which needs to save and load data from/to an external database,SQL server.I have no idea on how to implement this.But with my knowledge I managed to create DSs and using new data connection wizard, some how I managed to list the fields in the Data View.BUT i still worrying about the way i did is rigt or wrong?.. how can i save and load data to sql server from Adobe LC..Please help me
    Thanks,
    Vinod

    You created the data source on the app server which is the first step. Now you can use the JDBC service to query the database:
    http://livedocs.adobe.com/livecycle/8.2/wb_help/000632.html
    scott

  • JDBC connection to external database not working from EP 6 SP2.

    We have Enetrprise Portal 6 Service Pack 2 installed. We are planning to install business content which gets the data from external database using JDBC driver.
    We are using standard JDBC driver, which comes with the Portal EP 6 SP2. Name of the class is com.sap.portals.jdbc.oracle.OracleDriver. 
    We defined the system as JDBC system. Alias is defined. When we try to run, we are getting following error on the server.
    <u>
    java.sql.SQLException: ID004110: Error occurred while trying to connect to DB: java.sql.SQLException: [SAP_Portals][SQLServer JDBC Driver]Error establishing socket. Operation timed out: connect
         at com.inqmy.services.dbpool.ConnectionPoolDataSourceImpl.getPooledConnection(ConnectionPoolDataSourceImpl.java:151)
         at com.inqmy.services.dbpool.ConnectionStorage.getPhysicalConnection(ConnectionStorage.java:342)
         at com.inqmy.services.dbpool.ConnectionStorage.getWriteLockConnection(ConnectionStorage.java:405)
         at com.inqmy.services.dbpool.QConnection.beforeOperation(QConnection.java:44)
         at com.inqmy.services.dbpool.XAQConnection.beforeOperation(XAQConnection.java:112)
         at com.inqmy.services.dbpool.XAQConnection.getAutoCommit(XAQConnection.java:139)
         at com.sap.security.core.persistence.datasource.imp.J2EEConnectionPool.getConnection(J2EEConnectionPool.java:194)
         at com.sap.security.core.persistence.datasource.imp.DataBasePersistence.doSearch(DataBasePersistence.java:3318)
         at com.sap.security.core.persistence.datasource.imp.DataBasePersistence.searchPrincipalDatabags(DataBasePersistence.java:2298)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.searchPrincipalDatabagsInternal(PrincipalDatabagFactory.java:3742)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.searchPrincipalDatabags(PrincipalDatabagFactory.java:3275)
         at com.sap.security.core.imp.PrincipalFactory.searchPrincipals(PrincipalFactory.java:1323)
         at com.sapportals.portal.license.LiKeyPersistence.getPersistenceObject(LiKeyPersistence.java:59)
         at com.sapportals.portal.license.LiKeyPersistence.getKey(LiKeyPersistence.java:119)
         at com.sap.security.core.server.likey.LicenseChecker.getValidityDate(LicenseChecker.java:666)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.sapportals.portal.prt.service.license.WAS620.LicenseChecker620.getValidityDate(LicenseChecker620.java:65)
         at com.sapportals.portal.prt.service.license.LicenseService.doTheCheck(LicenseService.java:483)
         at com.sapportals.portal.prt.service.license.LT.run(LT.java:43)
    </u>
    I appreciate any help.

    Please ignore the error mentioned in the original message. Actual error is as follows.
    <u>
    Component class : com.pacificorp.sap.portal.vantive.view.VantiveMetrics
    User : P04233
         at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:858)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:310)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:209)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:576)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:669)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:208)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:832)
         at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:666)
         at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:313)
         at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
         at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)
         at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
         at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
         at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    Caused by: java.lang.NoSuchMethodError
         at com.pacificorp.sap.portal.vantive.model.JDBCVantiveModel.getDatabaseConnection(JDBCVantiveModel.java:601)
         at com.pacificorp.sap.portal.vantive.model.JDBCVantiveModel.loadMetricsSummary(JDBCVantiveModel.java:59)
         at com.pacificorp.sap.portal.vantive.helper.VantiveMetricsHelper.loadMetricsSummary(VantiveMetricsHelper.java:30)
         at com.pacificorp.sap.portal.vantive.view.VantiveMetrics$ContentDynPage.doProcessBeforeOutput(VantiveMetrics.java:129)
         at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:106)
         at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:135)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:209)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:576)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:669)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:208)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:832)
         at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:666)
         at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:313)
         at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
         at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)
         at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
         at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
         at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    </u>

  • Connecting to external database in weblogic portal 9.2

    hi
    i have installed a portal 9.2 and i have my portal framework data in pointbase database,
    i want to connect to oracle database to fetch some report data, but the entire server and workshop crashed with the error that the anonymouse user and table is not defined,
    what did i did mistake in connecting to that oracle database,?
    i had just created a datasource in jdbc services nothing else and the driver was XA compliant,
    please help me out

    Hi,
    If you can post the exact error or exception you are getting will be able to understand the exact problem.
    But you can use the oracle thin driver(<driver-name>oracle.jdbc.OracleDriver</driver-name>, <url>jdbc:oracle:thin:localhost:1521:DBName</url>).With this driver it works absolutely fine.
    Bishnu

  • How to connect to external database

    Hi all,
      Can any one help me out to connect to database from ABAP using the
    Exec sql...
    Endexec. statements..
      And also explain me whats use of DBCON table?. May be materials like things..
    Thanks in Advance,
    Ramkumar.K

    Hi,
    DBCON table is for Description of Database Connections.
    EXEC and ENDEXEC are used to fetch data from databse using Native SQL;
    See the following Documentation:
    Syntax Diagram
    EXEC SQL
    Syntax
    EXEC SQL [PERFORMING subr].
    ENDEXEC.
    Effect
    These statements define an area in an ABAP program in which one or more Native SQL statements are to be carried out. The area between EXEC and ENDEXEC is not completely checked by the syntax check. The statements entered there are passed to the Native SQL interface and processed there as follows:
    Almost all SQL statements that are valid for the addressed database system can be included between EXEC and ENDEXEC, in particular the DDL statements. These SQL statements are passed from the Native SQL interface to the database system largely unchanged. The syntax rules are specified by the database system, in particular the case sensitivity rules for database objects. If the syntax allows a separator character between individual statements, you can include several Native SQL statements between EXEC and ENDEXEC. Generally, the semicolon ( is used as the separator character.
    You can also include SAP-specific Native SQL language elements between EXEC and ENDEXEC. These statements are not passed directly from the Native SQL interface to the database, but are converted appropriately. These SAP-specific language elements are::
    Host variables
    Statements for cursor processing
    Database procedure calls
    Statements for establishing database connections
    All Native SQL statements bypass SAP buffering. Automatic client handling is not performed.
    System fields
    The statement ENDEXEC sets the system fields sy-subrc and sy-dbcnt. When using the addition PERFORMING, note that implicit cursor processing is carried out and the system fields are set for every read process.
    sy-subrc Meaning
    0 The statements between EXEC and ENDEXEC were executed successfully.
    4 The statements between EXEC and ENDEXEC were not executed. After implicit cursor processing with PERFORMING, sy-subrc always contains the value 4.
    The ENDEXEC statement sets sy-dbcnt to the number of table rows processed in the last Native SQL statement. After implicit cursor processing with PERFORMING, sy-dbcnt contains the total number of lines read.
    Note
    Programs with Native SQL statements are generally dependent on the database system used, so that they cannot be executed in all ABAP systems. This is especially true for the examples in this section, which was written for Informix database systems.
    Example
    Inserting two rows in the database table SCARR. If neither of these rows exists, sy-subrc is set to 0 by ENDEXEC and sy-dbcnt to 1. Otherwise, an exception is raised and handled.
    DATA: exc_ref    TYPE REF TO cx_sy_native_sql_error,
          error_text TYPE string.
    TRY.
        EXEC SQL.
          INSERT INTO scarr
                      (MANDT, CARRID, CARRNAME, CURRCODE, URL)
            VALUES ('000', 'FF', 'Funny Flyers', 'EUR',
                    'http://www.ff.com');
          INSERT INTO scarr
                     (MANDT, CARRID, CARRNAME, CURRCODE, URL)
            VALUES ('000', 'EF', 'Easy Flyers', 'EUR',
                    'http://www.ef.com');
        ENDEXEC.
      CATCH cx_sy_native_sql_error INTO exc_ref.
        error_text = exc_ref->get_text( ).
        MESSAGE error_text TYPE 'I'.
    ENDTRY.
    Regards,
    Anji

  • How to connect external database into BI source system?

    <Moderator Message: Please search before posting. This issue has already been discussed a lot of times. Additionally you might have a look at the online help>
    Dear SDN,
    I am working on BI 7.0 system.
    Client request is to connect the external database into source system.
    External database (different server) has installed the Sybase database.
    1.Is it possible ?
    2.What is the procedure for connectivity from BI end .
    3. which server port of external database(sybase databse) need tobe open for firewall policy.
    Thanks in advance
    Ravi
    Edited by: Siegfried Szameitat on Mar 9, 2009 1:23 PM

    Hi Ravindra,
                    Check here........
    <link farm removed by moderator>
    Thanks,
    Vijay.
    Edited by: vijay m on Mar 9, 2009 5:43 PM
    Edited by: Siegfried Szameitat on Mar 9, 2009 1:23 PM

  • Connection to an external database.

    Hi we r using native sql commands and are connecting to external database. As far as I know from the discussions here i thought that these sort of connections are maintained in the table dbcon. But i don't see any entries in that table.
    WHere as i could connect to that database succesfully and getting the records.
    The table name for the external system is NOVARTIS.TABLE_ADDRESS@ANK like this.
    Where could be that settings made.

    Try this Forum Thread:-
    1. In developer server you have to configure the tnsnames.ora. For doing this you should talk with a person who knows how to configure this file. In the register you should especify: protocol, host and port to connect to the other database system.
    2. Then, you enter a register in the DBCON table. In this entrie you especify user, password, database id (in my case I wrote ORA because i am connecting to an oracle database), and in the enviroment field you write the name or alias of the register in the tnsnames.ora
    3. In the abap program you use native sql sentences for connecting to the external database. This is an example:
    EXEC SQL.
    CONNECT TO :p_conexion AS 'C1'
    ENDEXEC.
    IF SY-SUBRC EQ 0.
    EXEC SQL.
    SET CONNECTION 'C1'
    ENDEXEC.
    EXEC SQL PERFORMING save_data.
    SELECT COD_CGE, COD_SAX, TO_CHAR(FECHA,'YYYYMMDD'),
    VALOR, HORA, TIPO, PAIS, SOCIEDAD
    INTO :wa_serv_aux
    FROM TEST_TABLE
    WHERE FECHA >= TO_DATE( :W_FEC1 , 'YYYY/MM/DD')
    AND FECHA <= TO_DATE( :W_FEC2 , 'YYYY/MM/DD')
    ENDEXEC.
    EXEC SQL.
    ROLLBACK
    ENDEXEC.
    EXEC SQL.
    DISCONNECT 'C1'
    ENDEXEC.
    In the form save_data i insert the work area into the internal table.
    And that`s all. The most important thing is to configurate the tnsnames.ora file on the server side.
    <i><b>Note:- One small suggestion, Before Posting Thread in SDN, search for the related topics in SDN forums and then post your thread, it would be helpfull for everybody.</b></i>
    Regards:-
    <b>Santosh</b>
    Message was edited by: Santosh (INDIA)

  • RFC XI JDBC to external database.... Get data in multiple rows

    Hi,
    We have been really struggling with this scenario. We have created a RFC that has 1 Import parameter (Order_ID) and table parameter (3 Columns: Order_ID, Partner_type, Partner_no).
    When we call this RFC in SAP, it should make a connection to external database via JDBC and get multiple row data for every Order_ID. We are not using Oracle Stored Procedure, instead we are using simple Select statement. Did all the mapping and configured correctly. However, we are getting short-dump when we execute RFC. When we checked in XI, it says " Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at "
    Has anyone tried getting multiple row information from external database(Oracle) using Select statement in XI ? IF so, can you pl let us know if we need to something different in Mapping ?
    Niranjan

    Niranjan,
    Check this blog of mine to see how the datatype for Synchronous Select should be constructed,
    https://weblogs.sdn.sap.com/pub/wlg/3928. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    If this looks good, a few checks
    1. Check the request inbound payload , i.e the RFC request in MONI. Is this as expected?
    2. Check the output of the request mapping and check if this is as expected.
    3. Check the response from JDBC, is this as per the datatype defined.
    4. Check the mapping from JDBC response to RFC response.
    To me this looks like an issue with the JDBC response structure.
    Meanwhile to understand how to test mapping, check blog of michal,
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    Regards
    Bhavesh

  • How can I connect to MySQL external database

    Hello.
    I have a SAP system running in SQL Server 2003.
    I need to connect to external MySQL DB., to operate with this information in ABAP program.
    I have done the step necesary... I mean I go to DBCO transaction and configure the connection like this:
    DB CONNECTION --> AFIS
    DBMS --> MSS
    user name --> xxxxxx
    DBpass -->xxxxxx / xxxxxx
    Conn Info -->MSSQL_SERVER=192.168.1.233 MSSQL_DBNAME=alliance OBJECT_SOURCE=alliance
    I do a test program, when I do the statement CONNECT TO, sy-subrc 0 and connection = DEFAULT... I mean, with this form I cannot connect to MySQL Database...
    Can you help me to do this?? I think the problem it's the connection string in DBCO... but I'm not sure...,
    Would be possible to connect by MySQL ODBC??? I mean , installing the ODBC driver in my SAP server, and using this in ABAP Program??
    Thks.
    DATA: BEGIN OF wa,
    cod_modelo(20),
    END OF wa.
    DATA: dbs TYPE dbcon-con_name.
    DATA: con(20) TYPE c.
    DATA : ls_wa LIKE wa.
    con = 'AFIS'. "DB Connection in DBCO above
    EXEC SQL.
    CONNECT TO :con
    ENDEXEC.
    WRITE sy-subrc. ---> The result it's 4
    EXEC SQL.
    GET CONNECTION :con
    ENDEXEC.
    WRITE : con. --> The result it's DEFAULT
    EXEC SQL.
    SET CONNECTION DEFAULT
    ENDEXEC.
    write : con. --> The result it's DEFAULT

    > It's for it, that when I go to DBCO... in DBMS ---... I can select Oracle, MSSQLServer, DB2... for this Databases..., exists the library (lib_dbsl)???
    yes, for all those databases exists the database interface library.
    > In resume:
    >  IT'S NOT POSSIBLE CONNECT TO MYSQL!!! ... I cannot believe it!!!...
    Well - as far as I remember there were some times ago efforts to port SAP applications to MySQL. That would explain why there's also a file "DDLMYS.TPL" created if you execute R3ldctl during a system copy - amongst DDL files for all other databases. I believe this was at the time MySQL was promoting SAPDB/MaxDB.
    MySQL is historically not a database engine for software, that requires transactional integrity; there were extensions to support that (InnoDB or others) and there was no customer demand in getting MySQL as engine for SAP applications. And only develop an interface to be able to connect to an external MySQL engine is not worth the effort.
    However, there is hope Some BusinessObjects applications also run with and against MySQL engines, depending on how the strategy to integrate those into the SAP software stack there may (or may not) be an interface for that database in the future.
    Markus

  • ABAP report  from fields connecting to an external database

    Hi All,
    The requirement is to connect some GL data with external audit data which is stored in an oracle database.  These two table data has to be merged and a report has to be generated.
    I heard we could connect to the external database from the R/3 4.7 version through DBconnect.  Has anyone come across any such requirement and done a similar report, could you give me the inputs please.
    regards
    Girish

    Questions like yours are best asked over at the webOS Developer's Forum.  The Palm Support Community here is geared to answering end-user questions about devices, not programming information.
    https://developer.palm.com/
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • How to connect external database(Ex:SQL Server/Tivoli)  from ABAP Webdynpro

    Hi,
    Any one have idea how to connect external database like SQL Server/Tivoli to access tables from WebDynPro ABAP.
    Please point to me some links if you have
    Thanks
    Praveen

    Hi,
    Please check out this link -
    FETCH DATA FROM ORACLE DATABASE USING Web Dynpro
    Regards,
    Lekha.

  • Connecting AIR with external database

    Is it possible to connect AIR application to the external database in MySQL technology?

    Are you trying to connect to a MySQL database on a web server somewhere? If so, by far the easiest way to do so is to use some sort of application server layer (e.g. PHP, ColdFusion, Java) on the web server, and have the AIR application call the PHP (or whatever) code to get the data. That is the approach that all the links Greg has given you are talking about.
    Of course, in order to make that work you need to know enough PHP/Java/ColdFusion to write that middle layer. In the example you're asking about, the information it wants to know is the name of the server that the MySQL database is running on, and the MySQL username and password for the MySQL account that your PHP code is supposed to use. There are tons of resources on the web for writing PHP code that accesses MySQL, so you'll find much more and better information in other places than what you'll find in the Adobe AIR forums.
    However, maybe you want to have the MySQL server running directly on the user's computer rather than on a web server somewhere. In that case you would have a few options:
    Run a web server and application server (e.g. Apache and PHP) on the user's computer and use those to connect between the AIR application and the MySQL server.
    Write Java code to communicate between the MySQL server and the AIR app, and call that code using Merapi (http://merapiproject.net/)
    Run the MySQL server on the user's computer and call the server directly from AIR using ActionScript. While there is no built-in support for MySQL in AIR, there is a third-party (open source) library for calling MySQL directly from ActionScript available here: http://code.google.com/p/assql/. I haven't tested it so I have no idea how complete it is, but it's a solution to consider.
    However, in all three cases you're depending on some external pieces that have to be installed and loaded separate from your AIR application. (For instance, most users probably don't want a MySQL server running on their computer all the time if they aren't using your AIR app all the time -- so you'd want a way to start and stop the server, which also couldn't be done directly in AIR.) People do write applications that use external resources like this, but it's not the easiest thing to implement.
    If you're really wanting to run the database locally, the best solution (assuming it works for your needs) is to use AIR's built in local SQL database engine (based on SQLite). If you've looked at that option already, and found that it doesn't work for you, I'd be interested to know more about what you're trying to accomplish that you can't accomplish with the AIR local database.

  • API for connecting  to an external database object

    Hi,
    Can anyone provide me with the API for connecting to the external database table and to create , update and delete data with an Oracle external database object.
    Wish you great time.
    Best Regards
    Sid

    Questions like yours are best asked over at the webOS Developer's Forum.  The Palm Support Community here is geared to answering end-user questions about devices, not programming information.
    https://developer.palm.com/
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Connecting and Updating External Database from SAP

    Connecting and Updating External Database from SAP
    How can i connect SAP Database to External database?
    How can i update external databas from SAP withouting using BI/BW, Workflow or Net Weaver?
    If anyone know please let me inform.
    Thanks in Advance.
    Jahnavee Trivedi

    Steps
    1. Create an entry in tnsnames.ora for the remote oracle DB
    2. Test sqlplus user/pass@remote 
    3. create a synonym which points to a table at remote DB check docs.oracle.com
    4. user ABAP code execute SQL to insert data into local synonym which inturn updates the remote DB.
    I have done this in the past, it works great.
    It requries, DBA skills + ABAP programming
    -AJ

  • How to connect external database with SAP

    Hi,
    How to get the data from an external database into SAP by directly linking the SAP Program to the external database.
    Regards
    Guhapriyan

    Hi,
    http://help.sap.com/saphelp_nw04/helpdata/en/58/54f9c1562d104c9465dabd816f3f24/content.htm
    This might help,
    Regards,
    Gaurav

Maybe you are looking for