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

Similar Messages

  • How can i connect more  than one database

    i would like to connect more than one database one my laptop
    now i have database one and sid=ddms
    and i would another such as sid=ddmf
    how can i connect two database on the same my laptop

    I am not sure what you mean by after built? Are you trying to export data from one database and import it into another? If so, export it using data pump making sure you have the correct ORACLE_SID. Also be sure both database have to same character set. Then change the ORACLE_SID to other database, and run data pump to import the data into the other database. Hope that makes any sense...

  • How can I connect to a different database schema,other than adobe?

    I'm building an application where I want to use a different database for it,for storing additional data for the users(different from "edcprincipaluserentity" table in "adobe" database stores)..How I can connect to my database schema created in MySQL from Workbench,to assign tasks to my users,using the Process Management/Assign Task service?

    You can only assign task to user that are known by the LiveCycle User Manager.
    When you configure LiveCycle, you can tell it where you want to get the users from. They can be created them locally in the local database, or synchronized from an LDAP directory in which case it'll read the users from LDAP and make a copy of some of the properties to the internal LiveCycle database.
    Bottom line, all users have an id (in the edcprincipalentity table) in the adobe database.
    If you need your users to come from a different database, then you need to customize the SPI (security provider interface) so that you can synchronize the users coming from your external database. Again, this is a customization since out of the box, we don't synchronize against external database. But it is possible, the API is there and other customers have done it.
    I hope this clarifies things a bit.
    Jasmin

  • How can I  connect to SQL server database thru local network by using JSP?

    I'm currently doing a project by using JSP..And I need to display record from the SQL Server database in our school's local network. May I know how can I do that? How can I write the code so that I can able to access the SQL Server databsase Throught school's network by using JSP? Please tell me step by step how can I do that. I'm using Tomcat 4.1 as Web Server. And I had J2SE and J2EE installed in my computer.

    first you have to establish a ODBC DSN on your computer,
    that connects to the database...you can do that from your control pannel.
    i assume that the TOMCAT server is residing on your computer....(if the webserver is in other computer then you would have to create a System DSN on the data sources ODBC option in the settings>control pannel of that machine)
    then you can use that DSN name to connect to the data base from the class file....for further assistance on how to create the class that access the tutorials in sun site.
    regards
    G

  • How can I connect an old external FDD Model# M0130 ?

    I have an original Macintosh 128k with an external FDD DB-19 connection. Now I have 400k diskettes and I would like to get the files from these diskettes. Is there a way to connect this old External FDD that has an db-19 connection to a Quadra 650 or Powerpc 7600 so that I can get the files from the diskettes.
    Or is there another way to be able to access these 400k diskettes from a Quadra 650 or PowerPc 7600.

    400 KB diskettes are physically readable in any Apple 800 KB or combination 800KB/1.44 MB diskette drive. 400 KB diskettes are double density (2D or 2DD) media, but are written one one side only.
    Support for 400 KB MFS diskettes was removed from the System Software at System 8.0, when HFS+ Extended was first introduced (but not made active until 8.1).
    So you need an older Mac, like your Quadra 650, running Mac OS before Mac OS 8.
    Do not try to fool the drive by using HD media -- the oxide is different, and the data will decay and become unreadable in a matter of a few minutes. Both types of diskettes are still available from the catalogs of major office supply retailers.

  • How can I connect to an oracle database remotely using telnet in DIAdem?

    I need to query an oracle database on a remote server and store the result back in DIAdem. Does anyone know how to telnet through diadem and return the result?

    DIAdem provides you with tools to connect to databases using SQL. Specifically, you can use SQL_Connect to open a connection to a database through a DSN (Data Source Name). The DSN has to be configured on the local machine (Control Panel -> Administrative Tools - > Data Sources) and has to point to the remote Database. You can map a network drive in the local machine so you can browse to your remote Database. The DSN will provide the link between DIAdem and the remote Database.
    If your communication has to be throught telnet, then I suggest you try to use an ActiveX control. VBScript doesn't support Telnet natively, but it does support ActiveX controls. You can create one from Visual Basic or try to find a telnet client that has one already.
    Best Re
    gards,

  • I have setup JSP & MySQL but how can i Connect it to eche other ?

    I feel sory by asking this qustion but i tried very enough
    100 mile start from 1 mile ^_^
    I have tested JSP files by http://localhost:8080/test.jsp
    and it works very will
    also i have already installd MySQL and i can create databases and tables by http://localhost/phpMyAdmin
    so what i have to do else to connect JSP to MySQL ? , ( if nothing )
    how can i test that MySQL Connected with JSP, so that i can display data from database ?
    Best Regards
    JMalik

    create a java bean, which is just similar to a java class and put the database connection there so you wouldn't have to include that code in all you jsps everytime you connect to the database
    this is for DbConnection.java
    package connection;
    import java.sql.*;
    import java.io.*;
    public class DBConnection
         private Connection con;
         public DBConnection()
              try
                  Class.forName("com.mysql.jdbc.Driver");
                  con = DriverManager.getConnection("jdbc:mysql://localhost/yourfolder?user=yourusername&password=yourpassword");
            catch (Exception e)
                 e.printStackTrace();
         public Connection getConnection()
              return con;
         public void close()
              try
                   con.close();
              catch(Exception e)
                   e.printStackTrace();
    }in another bean/class which connects to your database,
    say for example this is SelectUsers.java
    public String[] selectActiveUsers(int id) throws Exception, SQLException
         try
                   con = new DBConnection().getConnection();
                   Statement stmt = con.createStatement();
                   String ins = "<your select statement>";     
                            stmt.executeUpdate(ins);
                            con.close();
                   stmt.close();
             catch (SQLException se)
                    System.out.println("SQL Exception: " + se.getMessage() + "not connected");
                    se.printStackTrace(System.out);
         }and in your jsp, instantiate the class
    users.jsp
    SelectUsers su = new SelectUsers();
    String[] users = su.selectActiveUsers(1);got it?
    Message was edited by:
    shuini

  • I'd like to know how can i connect my old iMac tiger with new one iMac lion. I wanna use the old one for external disk to collect files from there to new one.

    I'd like to know how can i connect my old iMac tiger with new one iMac lion. I wanna use the old one for external disk to collect files from there to new one.

    Hi mshields1162,
    Great question, and welcome to Apple Support Communities.
    First, you may want to choose to have the sidebar displayed for familiarity:
    iTunes 11: Frequently used features
    http://support.apple.com/kb/HT5649
    Afterwards, your device should be displayed if connected:
    We'll want to click on it, and choose the Music tab at the top. Let's make sure "Sync Music" is checked:
    Afterwards, you'll have the option to sync either the entire music library (for your first iPod), or "Selected playlists, artists, albums, and genres" (for the secondary device). Upon selecting this option, four larger option boxes will appear allowing you to pick and choose what content will be synced. For audiobooks, you may need to do the above in the "Books" section. For a visual instruction on how to do this, see the following:
    iTunes 10: Sync to your iPod
    http://support.apple.com/kb/VI72
    Thanks,
    Matt M.

  • How can I connect to the database using ODBC within excel.

    Hi,
    How can I connect to the database using ODBC within excel and just refresh the data when needed.
    Thanks,
    Priyanka
    Edited by: user554934 on Jun 9, 2009 2:53 AM

    This is NOT an APEX relevant question, try posting it in the SQL/PL/SQL Forum..
    Thank you,
    Tony Miller
    Webster, TX

  • I have a disconnect between my external hard drive and lightroom 5.6.  The recommended steps do not connect 11000 photos on the hard drive.  How can I connect?  I am concerned I have lost my edits in lightroom.

    I have a disconnect between my external hard drive and lightroom 5.6.  The recommended steps do not connect 11000 photos on the hard drive.  How can I connect?  I am concerned I have lost my edits in lightroom.

    after some sorting out your article, I clicked on a question mark with the message find the missing folder.  This brought me to a page where I could choose a folder by year and click on it.  The question marks disappeared and the photos were available.  In some cases I had to click on the year folder for each subfolder by date.
    The find missing folders message did not bring me to the finder window in which I could click on folders in the hard drive itself.  I appreciate your help big time!!

  • How can I connect to more than one computer from external ip

    Hi
    I have been using remote desktop for some time and have a port forward set so I can connect to our mail server from anywhere else externally from my macbook pro, but how can I connect to other macs in the office when there only seems to be the two ports available for use 5900 and 3283. I can only port forward to one computer? How can I connect to multiple computers when not within the same network? are there other ports available?
    Cheers
    Tony

    If your workstations get their addresses from an NAT device rather than being "real", the ports also need to be forwarded in the router to the workstation's internal IP address.  ARD uses port 3283 for the reporting and updating function, so if your Macs are getting their IP addresses through NAT, since you can only forward a port to a single workstation, you can only get reports, push package/files to etc. for a single workstation.
    ARD uses the VNC protocol for observation and control, though, and there are a range of IP addresses for that protocol, starting with 5900. ARD uses 5900 by default, so that port would be forwarded to the first workstation. You would, I believe,  need to install third-party VNC software on the systems (since the ARD client cannot listen on any port other than 5900 while other VNC systems can be set for other ports such as 5901, 5902, etc. You would then  forward 5901 to the second workstation (and on to 5902, 5903, etc.). You can then use the following information:
    http://docs.info.apple.com/article.html?path=RemoteDesktop/3.0/en/ARDC715.html  to connect.
    The only other options are: 1) to run the ARD administrator on a workstation on the network, and then take control of that system from outside, either via VNC or another copy of ARD, or 2) set up a virtual private network (VPN) so that when you connect from outside, your admin system is officially part of the local network.
    Hope this helps.

  • How can I connect to a database from ipaq with cldc??

    how can I connect to a database from ipaq with cldc??

    Hi Again
    There is a library by Mimer which allows you do connect to a Mimer SQL Server, don't know must about it, but here is a link.
    http://developer.mimer.com/
    If that doesn't suit you, I suspect that you will have to use some sort of proxy solution. Either by creating a servlet to accept the sql string you want to send, or by creating your own custom proxy server running J2EE. The servlet or the proxy server must be able to receive an SQL String, do the query to the actual database and return the results in some sort of format to the mobile device. Maybe just a space delimited string.
    Hope this helps
    -Daur

  • Database error #2002 can not connect local mysql server to socket through '/var/run/mysqld/mysqld.sock'(2) on mac os x 10.9.2

    Dear Fellas:
    I received "database error #2002 can not connect local mysql server to socket through '/var/run/mysqld/mysqld.sock'(2)" on mac os x 10.9.2.
    mysql info:
    ps -ef | grep mysql
        0    66     1   0 11:06AM ??         0:00.04 /bin/sh /usr/local/mysql/bin/mysqld_safe --user=mysql
       74   225    66   0 11:06AM ??         0:02.50 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --plugin-dir=/usr/local/mysql/lib/plugin --user=mysql --log-error=/usr/local/mysql/data/Chuans-MacBook-Pro-2.local.err --pid-file=/usr/local/mysql/data/Chuans-MacBook-Pro-2.local.pid --socket=/var/run/mysqld/mysqld.sock
      501   952   947   0  3:52PM ttys000    0:00.00 grep mysql
    Please help!!

    Fascinated and guessing:
    Something related to sock(2) because that's not part of your copied info. I'm thinking you've doubled up on sockets and the second socket doesn't exist, meaning you should be connecting to the first socket "mysqld.sock" whether automatic or not.
    I've only used GUI tools on purpose, so does this mean you've already got MySQL running and you tried to launch it again manually? Perhaps you already have one instance of a db and you're trying to launch a second instance, and the two can't coexist with a single user local db?
    Assuming this is all local, I'd shut down the db service and restart it, out of hand. I've seen similar messages when I set the db to start up on boot, and it didn't finish shutting down when I tried to restart it manually. Usually the GUI won't let me turn it on because it reports it's already running, but in that case it hadn't finished performing what the GUI was reporting.
    Just speculating.

  • Can I connect to MySQL database

    sorry for my English...
    I'm absolutely new in Flex
    can I connect to MySQL database?
    I read here that I need to create a java class file and edit
    an xml to create connection to oracle, can I connect to MySQL
    server too, I think that the PHP-XML is too slow to work with lare
    amounts of data... so can you post me MXML, the XML, and the JAVA
    class file, with I will be able to send sql to mysql server and get
    the response?
    or FDS is a stand-alone SQL server?

    Flex is not a SQL server.
    The Flex SDK and compiler supports developing applications
    that run in the Flash player.
    Flex Data Services is deployed as a Java web application that
    simplifies integrating Flex clients with Java server-side resources
    (including interacting with SQL databases via Java).
    FlexBuilder is an IDE for developing Flex apps.
    I'd recommend spending some time browsing the Flex product
    area on adobe.com.
    Best,
    Seth

  • How can I connect airport express to an external dac connected to stereo amp, How can I connect airport express to an external dac connected to stereo amp

    Hi just purchased airport express, how do I connect it an external dac which is connected to a stereo amplifier, what interconnect cables should I be using"" thanks

    Normally, you would need a Mini Toslink to Toslink cable. Example below:
    Amazon.com: 6ft Toslink to Mini Toslink Cable: Computers ...
    Most electronic superstores will have what you need as well.

Maybe you are looking for

  • I bought laptop online, gonna return it. How to get refund to another card?

    I bought a macbook online, and I decided to return it.The credit card i used to purchase was canceled, I wanna know to to get refund to a different card.

  • Using Portal Variables in filter criteria of BEx Web App query string

    Our BI 7 instance is connected to a NW2004 portal, where we have created SAP BW Report iViews to access templates created with the Web Application Designer.  We would like to use some of the portal variables about the user to create filters for the B

  • IBE: Items Per Page for Display profile at Responsibility level

    Hi, we would like to have different number of items per page for different sites. We thought we would achieve it by setting profile "IBE: Items Per Page for Display" at the responsibility level and have unique responsibilities to access different sit

  • IPod with clicking wheel help needed

    I went to turn on my iPod today and when i turned it on the Apple came up on the screen, but when it should have gone to the menu screen, the screen just shuts off. My ipod has a full charge and i use it almost everyday. Has anyone else experienced t

  • Upgraded to 10.4 - Session and Backup Errors

    Hello All, I just upgraded to 10.4 and now my IPhone 4 is having issues syncing.  First it was stuck in a verify mode.  Then the backup would not work.  I deleted all of my backups and tried again.  I either get a message saying that a backup could n