How to connect sqldeveloper to MYSQL

Is it possible to connect this product to a mysql database and run queries in MYSQL w/o migrating to Oracle? If so, can someone please point me to a decent document (hopefully one that Oracle hasn't written).

Hi user1042628      
1/set up mysql for remote connections
2/set up the jar file, or load the extension see below:
3/Make connection
4/browes mysql by ui
5/use sql commands (works for many but not all commands)
6/One trick
1/set up mysql for remote connections
(This is generic)
2/set up the jar file, or load the extension see below:
help -> check for updates -> 3rd party sqldeveloper extensions -> My sql jdbc driver 11.1.1.58.17
agree license, restart (need write access to sqldeveloper installed folders)
3/Make connection
requires connection name, username, password
hostname, port and default 'database'
4/browes mysql by ui
tested this works for table for example.
(click on) + on connection , + on 'database', + on Tables, click on table, can choose for example columns or data.
5/use sql commands (works for many but not all commands (SQLDeveloper currently thinks it is PL/SQL, but splits up and passes the commands to Mysql) terminate statement by ';')
right click on connection open sql worksheet
6/One trick
Two hints if you are using MySQL commands that SQLDeveloper would not otherwise handle
/*sqldev:query*/ if your expecting a result set to be returned
/*sqldev:stmt*/ if you are expecting nothing returned
e.g. script
/*sqldev:stmt*/use world;
--child is in test so this will fail
select * from child;
/*sqldev:stmt*/use test;
select * from child;
output
/*sqldev:stmt*/use world
Error starting at line 3 in command:
select * from child
Error at Command Line:3 Column:0
Error report:
SQL Error: Table 'world.child' doesn't exist
Table 'world.child' doesn't exist
id parent_id
1 1
-Turloch
SQLDeveloper team

Similar Messages

  • How to connect java in mysql....

    how to connect java in mysql.... help me guys
    am newbie...

    http://www.mysql.com/products/connector/j/
    download the JDBC driver and read the docs.
    if you don't know JDBC, Google for "Sun JDBC tutorial" and study it.
    don't ask for sample code. there's plenty out there.
    %

  • How to connect APEX with MYSQL via Apex's Database link

    How do i connect APEX with MYSQL via Apex's Database link? The OBE doesn't go into specific detail about how to link the two.
    can someone please elaborate on what these are and where i can find them in mysql:
    Database Link Name      
    Connect To Schema      
    Password      
    Remote Hostname or IP      
    Remote Host Port      
    SID or Service Name      
    I need to link to mysql database so I can set up a 3D pie chart in apex

    Hi jononioo
    A database link is a device for connecting between Oracle database instances only. Oracle does have a method for connecting to other database systems (Transparent Gateway) but this is restricted to other commercial databases and I don't believe there is a gateway for Mysql. (I could be wrong)
    I don't know Mysql but maybe there is some way to push data to the Oracle instance. Other than that, is there any reason why the data has to reside in the Mysql database?
    Regards
    Andre

  • How to connect JSP with MySql Database?

    HI All...
    I want to know or How to connect Mysql with JSP or JSF any other software is available? please help me.....

    I want to know or How to connect Mysql
    with JSP or JSF any other software isavailable?
    please help me.....First you need to find 25 m of a CatV cable and...The DB files need to be located on the ninth device of a SCSI Daisy Chain with the total SCSI cable length being over 150 m (and the devices (and cables) need to be mix of Differential and Non-Differential).
    Edit: And forget the terminator, who needs it?

  • How to connect servlet to mysql database

    Hi all,
    I am new to mysql. After many difficulty I have created a database with table in MySql. Now I want to connct it to a servlet. How do I do it?
    Can anyone tell me the steps, including the step to create MySql datasource
    thanks

    thanks for the reply. I know the basics of jdbc and can connect with sqlserver. Bt how to connect with Mysql? I mean what do I provide in dsn unless I create a MySql datasource. I cant find any tutorial which teaches how to create MySql datasource. Can you give me any link???
    thanks

  • How to connect to a MySQL database in another server

    Dear friends,
    I am using Oracle SQL Developer 1.5.3 and I need to connect to a MySQL database located in another server.
    I am trying to create a new connection, informing connection name, username and password. Supposing that "Hostname" is the IP server address, I click on "Choose database", but I always receive the following error message: "Status : Failure - Cannot connect to MySQL server".
    Please tell me what I should do to solve this situation. Thanks in advance.
    Best regards,
    Franklin

    You need to configure your mysql database to accept connection from your PC for the user you used.
    For example,
    GRANT ALL ON *.* TO 'someuser'@'somehost';
    FLUSH PRIVILEGES;

  • How to connect to the mysql database using applet from remote PC

    Hii All..
    I am also facing a problem.
    My web server and mysql server are running on the same PC.
    when i connect to the database from the same PC.
    Its connection but when i am trying to connect to the database from the different PC its giving error and not finding the driver "com.mysql.jdbc.Driver" because this is there on the server PC and applet runs on the client side..
    So to load the deriver on the client side so that it can run the applet to make the database connection on the remote PC.
    Thanks
    Uttam

    You are missing the library on the client.
    It must be moved to the client.
    Just like any other library that an applet requires.
    And that has nothing to do with JDBC.
    There are certainly way(s) to do it. Perhaps a forum that addresses applets, web usage or guis would provide an answer.

  • How to connect Oracle 10g to MySql

    hi,
    can anybody plz guide me how to connect Oracle with MySql...I was going through official documentation and I found the procedure for connecting with Informix, Sybase and Teradata etc but I could not find for MySql...so can anybody plz guide in this regard...
    Thanking you

    To connect to a MySQl database the product you have to use is DG4ODBC 11.2. It requires a 3rd party MySQL ODBC driver (64bit on 64bit platforms and 32bit on 3bit platforms). This Dg4ODBC has to be installed in its OWN ORACLE_HOME. Installing it into the database home 10.2 you'll corrupt the database installation.
    Before installing DG4ODBC, please make sure your Oracle database release is 10.2.0.4 or 10.2.0.5. If you still have 10.2.0.3 or 10.1.0.5 you have to apply the gateway compatibility patch to your Oracle database release.
    More details can be found in the gateway config note available at "My Oracle Support".
    The notes are:
    - Installing on a 64bit Unix OS:
    How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX) [ID 561033.1]
    - Installing on 32bit linux:
    How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit [ID 466225.1]
    - Installing on Windows:
    How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit [ID 466225.1] (although it is the 32bit note is is almost similar for a 64bit Windows installation
    You can download Dg4ODBC for free from http://edelivery.oracle.com or from http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html

  • How to connect sql database with Flash

    Dear Friends,
    Iam working on a quessinarie (assesment) for elearning software. i want to connect sql database with flash and save my records in back end like add, delete, modification of student result and details.
    Kindly help me to connect the sql database. or dot net server. I know how to connect PHP and mysql. But my client dont want php. only sql database and do the add, del, modificaiton.
    Thanks in advance,
    Syed Abdul Rahim

    unfortunately no, i do not know ASP well enough to give any code advice, other than the basic concept:  make a request on a server-side script (such as ASP) via URLLoader - the script receives variable values (if required), runs the DB queries you wish to invoke, and 'returns' the results - pick them up in the URLVariables class via the event handler in Flash and assign them to local properties if needed, etc.
    there are quite a few threads that you could find more specific information on the ASP side, here and elsewhere around the net.

  • How do I connect to a mysql database?

    I am trying to write a small program with Java to do some operation on a Mysql database. The first step is to connect to the database. Can anybody give me some information about how to connect to it with JDBC? Thank you in advance!

    // SQL jdbc driver
    String SQLDriver = "com.mysql.jdbc.Driver";
    // SQL connection string
    String SQLConnectionString = "jdbc:mysql://localhost/passport?user=root&password=your_MYSQL_Password";
    // Load database driver
    Class.forName(connectionDriver);
    // Make connection
    Connection sqlconn = DriverManager.getConnection(connectionString);rykk

  • How to connect mysql to my palm devices?

    hi, need help on how to connect mysql to my palm devices? is there anyone know to do connect mysql to palm devices using wireless toolkit?
    thanks

    Midlet:
    os.writeUTF(db.trim());
    os.writeUTF("\r\n");
    os.writeUTF(user.trim());
    os.writeUTF("\r\n");
    os.writeUTF(pwd.trim());Servlet:
    String db = in.readLine();
    String user = in.readLine();
    String pwd = in.readLine();If it works, that's just luck, but it's completely wron.! Why? Read the api doc's of DataOutputStream!

  • How to connect mysql database using xml

    welcome to all,
    here my doubt is how to connect mysql database using xml file, how to integrate xml file and jsp file and how to access data from dabase using jsp file. can any one help me
    regards

    Short answer: you wouldn't do any of those things. The first two are meaningless and the third is a bad practice. I have no idea what those ideas were supposed to achieve so I have no idea what tutorials I should suggest to you.

  • How to Connect MySQL Database Through JTable?

    Hi,
    How to Connect MySQL Database Through JTable? anyone of u knows these concept please send me coding of that Part..
    Thanks,
    Guru..

    Start by reading the tutorials. There's a section on Swing which shows you how to use tables and a section on JDBC which shows you how to use SQL.
    And you can always search the forum as well since there are working examples of both posted on the forum.
    If you need further help with a specific problem then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    Don't forget to use the [Code Formatting Tags|http://forum.java.sun.com/help.jspa?sec=formatting], so the posted code retains its original formatting.

  • How to connect mySQL database with jdbc

    Who can tell me how to connect mySQL database with jdbc? Thanks

    http://onesearch.sun.com/search/developers/index.jsp?and=connect+mysql&nh=10&phr=&qt=&not=&field=title&since=&col=devforums&rf=0&Search.x=24&Search.y=16

  • How to connect MySql database with JSP

    Dear everyone,
    how to connect MySql database with JSP......

    It's too bad that nobody has ever asked this question before...

Maybe you are looking for

  • Border selection in V3.2

    Hi hi, Previously, in numbers '09 it was possible to select individual border, then to copy/paste style. Cannot find that In new version. Is it dissabled in v3.2?

  • Linking Access tables, creating a query with using both Access and Oracle

    Hello, I am using 3.0.04.34 version Oracle Developer. I am supposed to create a script/procedure to use both Access tables and oracle tables together. There is an option in developer to copy the access tables into oracle. But it doesn't help me. Beca

  • Starting Over w/ iTunes

    I have iTunes on Windows XP and want to start over by consolidating all my music files into one folder then remove iTunes from My Computer and reinstall so everything is located on my external hard drive so I can use the external with my laptop or de

  • Downloading Error in Siebel Analytics 7.8.5 OBI Reports

    Hi Guys, I have come across a peculiar problem in which i can see that when i am trying to download report into excel or csv format, some rows are getting missed. My report has 2059343 rows but it is just downloading around 143000 rows in downloaded

  • Crawling xmp metadata from pdf's

    We have some PDF files which we are crawling in. These PDF's contain XMP metadata tags. I suspect that the PDF accessor is ignoring these tags. We've tried a number of different proprty mappings all to no avail. Has anyone else had any luck crawlingi