Importing XML database to create equivalent mysql database

I have created an XML database.Now I need to create a MySQL database with similar structure.
Due to it's nested structure and complex dependencies, I find it difficult to identify and design the tables and relations in MySQL(I fear of redundancies).
So,I am looking for some tool or a way to create an equivalent MySQL database.
Thanks.

fine.
But i think exp/imp binary don't support 9i to 10g import.
so you using 10g export binary to take the 9i database full backup and import into 10g database use the 10g export binary.
Regards
Rajabaskar

Similar Messages

  • Create new MySQL Database with SQL

    I have a simple question, :-)
    how can I create a new MySQL Database with SQL - (JDBC)
    can you show me a code example?
    tank you ...

    okay ... but how do I use the URL ??? that's the problem
    I tried this:
    Connection con   = null;
            Vector vct       = new Vector();
            try{
                String drv = "org.gjt.mm.mysql.Driver";
                String url = "jdbc:mysql://111.222.333.444:3306";
                String name = "myname";
                String pass = "mypass";
                Class.forName(drv);
                con = DriverManager.getConnection(url,name,pass);
                String statement = "CREATE DATABASE TestDB_Don1";
                Statement stm = con.createStatement();
                stm.execute(statement);
                stm.close();
                con.close();                         
            catch(Exception e){ e.printStackTrace(); }but it doesen't work ............. what is wrong ?

  • Foreing Key association didn't create for mysql database

    Hi,
    I Am new to adf business components. I Am using jdeveloper 11g and mysql5.1 i tried just create one master detail entry, but i can't create association entity class using adf business components. How can i create this? Please help me.
    Thanks advance...

    ํำํyes, I already delete the file. However, I try to create new blank file and named it as <SID>ALRT.LOG. After that I try to switch log file, nothing write onto this file. I also restart database after create new blank file and nothing happen. I will wait for an hour as you comment and will update the status.
    Thanks in advance.

  • Duplicate from standby database to create a test database?

    Hello!
    Would it be possible to use backup-based duplication FROM a physical standby database to create another database to be used for testing? If I performed RMAN backup of the standby database, moved the backup to another test server, and then ran duplicate?
    Anyone know if this would be possible? If possible, would the new test database's controlfile be "standby" or "primary".
    (version 11.2.0.2)
    thanks..

    Yes it works ! I've tried that recently on 10g so I think on 11g will not be a problem.
    You can do it with or without duplicate. If you want to use duplicate, you don't need to copy the backup. Actually, on 11g you don't need no backup at all, since now you have 'from active database' option for duplicate command !
    Also, duplicate will rebuild the controlfile so it will not be "standby" or "primary" ...
    Gabriel

  • Best way to Restore Database to create a new Database having different dependent objects like linked server names in the procedures

    Hi All,
    Am creating a new test server by cloning the production server. Creating Dbs by restoring the production backup but wondering is there any best way to update the linked server names in open query of few SPs other than manual checking and updating.
    Thanks,
    Swapna

    It will not update the stored procedure rather it generates the scripts. You can validate and execute the script later.
    Try this link
    http://www.ideosity.com/ourblog/post/ideosphere-blog/2013/06/14/how-to-find-and-replace-text-in-all-stored-procedures
    --Prashanth

  • Inserting xml data in a MYSQL database

    Hi,
    I would like to know how i can insert data from an xml file into a MYSQL database using a java program, I currently have a program which retrieves an xml record and i need to insert the information between the tags into a table in MYSQL..please help me out if anyone knows...i am not very familiar with java...thanks

    Hi there Sherkhan,
    Im trying to do exactly what ur doing, inserting xml data in to a mySQL database. Any chance u could share the code for this???
    Many thanks in advance.

  • CSV datasource vs Building universe on MYSQL database

    Hello
    Does anyone know what are the advantages and disadvantages of using excel spreadsheet (CSV file) as a data source to build a report in webi rich client VS migrating the same spreadsheet (CSV file) in to MYSQL database and then build a universe on top of it in order to build a webi reports.
    I have a huge data in CSV file which I can use in rich client to make reports but I have an option to transfer this data into MYSQL and then build universe on top of this database and then start building reports.
    I would appreciate if you advise your expert opinion on this and way how would I approach this scenario.
    Also if you can advise me that how would data gets synchronize in both cases when there is any update records (delta records) in either CSV file as a data source and MYSQL database as a data source.
    Look forward to have your expert opinion.
    Regards

    Hi,
    You can Transfer the (.csv)data using Import Export Wizard/SSIS transformations to MYSQL database. It is very easy to transform and if the new data comes it will overwrite all the data from CSV to MySQL.
    Next create a universe using OLEDB Data Source. It will  Synchronize the data when updates comes. Just refresh the tables when you are creating the unv.
    Follow this link:
    http://www.geekology.co.za/blog/2010/02/import-export-comma-separated-csv-and-other-files-to-from-mysql/
    All the Best,
    Madhu...

  • Accessing mysql database from oracle using dg4odbc

    I've been trying to create a database link from a MySQL database to Oracle using the Oracle dg4odbc gateway. I downloaded and installed DataDirect's ODBC package which includes mysql ODBC library (ddmysql24.so) and a generic ODBC libary (libodbc.so). After creating the DSN in odbc.ini, I tested it and it can connect to the mysql database. Then I created the init{SID}.ora file in hs/admin directory, added dg4odbc lines in the listener.ora, and added lines in tnsnames.ora. Then I tnspinged the new SID with success. Finally, I created the database link. However, when I tried to access the database link using the commands "select * from mdl_user@moodle;", I got the ORA-28500 error like the following:
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [DataDirect][ODBC 20101 driver][20101]You have an error in your SQL syntax;
    check the manual that corresponds to your MySQL server version for the right
    syntax to use near '"mdl_user"' at line 1
    ORA-02063: preceding 2 lines from MOODLE
    My mysql database is utf8 by default. Do I have to use latin1?
    It seems to me that the dg4odbc translates the sql commands incorrectly (having double quotes around the selected table).
    Any help is greatly appreciated.
    Jeffrey

    The syntax error occures for example when MySQL isn't running in ANSI mode and thus does not allow double quotes around the objects. DG4ODBC 11.1.0.6 by default always adds double quotes to table/column/view names.
    A quick test to check if you hit the double quote issue would be to set the MySQL DB into ANSI mode:
    - Open SQL*Plus
    - execute:
    DECLARE
    ret integer;
    c integer;
    BEGIN
    c := DBMS_HS_PASSTHROUGH.OPEN_CURSOR@moodle;
    DBMS_HS_PASSTHROUGH.PARSE@moodle(c, 'SET SESSION SQL_MODE=''ANSI_QUOTES'';');
    ret := DBMS_HS_PASSTHROUGH.EXECUTE_NON_QUERY@moodle(c);
    dbms_output.put_line(ret ||' passthrough output');
    DBMS_HS_PASSTHROUGH.CLOSE_CURSOR@moodle(c);
    END;
    - Now run your select statement
    => if it now works, you can permanently change the MySQL config to be ANSI compliant or you can apply the 11.1.0.7 patchset to DG4ODBC.

  • Using iWeb to make a website that uses a mysql database

    Hi there
    i am trying to help out my friend. He has built a mysql database on his webserver, however he needs to create a page which allows him to filter and search through what is on the database.
    at the moment he is trying to code the page himself but i am sure there is a program that he can use to create the user interface and link it to the mysql database, can iWEb do this?
    or does anyone know of another website program that enables you to do this?

    He will need to hand code it.
    If you're intelligent enough to create a MySQL database in the first place, then you're clever enough to code the interface I highly doubt that there is any software that will help with only one part of it.

  • MySql Database set up on Snow Leopard Server for Wordpress

    I am trying to set up a mySql database on the snow leopard server in order to install wordpress.
    I have played around with the MySql database settings (in the server admin window) but can't seem to figure out how to set the database name, username, and password within the Snow leopard server.
    Do I need to use third party software like Navicat to create the database and user names etc? If yes, any idea how to do that? If now, how do I create a MySql database, username and pw?
    I have put the Wordpress install folder on my Snow leopard server. When I navigate to my domain it says I need to configure wordpress by providing my database name, username and password.
    Thanks in advance.. I am struggling here.

    That's set up via the [MySQL command line|http://labs.hoffmanlabs.com/node/376]. Or you can install the (free) Sequel Pro GUI package, given you're probably more comfortable in the GUI. The steps required for Mac OS X Server are the same as most any other platform, so [launch the MySQL client per the Wordpress Codex|http://codex.wordpress.org/Installing_WordPress], and follow the instructions.

  • CS3 mysql database connection using php

    Hi, this is my first time trying to connect to a database.  I have created a mysql database with my hosting provider.  I am also configured to use php. I have ready numerous threads on this topic, but am still confused.
    I am getting the following error message:
    When I enter the following information into the connection string, I get the following error Error http error code 404 file not found. The site does not map to ftp.readyhosting.com/_mmserverscripts/mmhttdb.php Is the location of mysql server correct? Connection name ? user defined ?aosprod?
    Mysql server = aoswebeditor.readyhostingmysql.com.  Also, this is not the same location as the web server. 
    The hosting company provides the following php code to connect to the database. 
    <?php
    $link = mysql_connect('aoswebeditor.readyhostingmysql.com', 'aosweb', '*password*');
    if (!$link) {
        die('Could not connect: ' . mysql_error());
    echo 'Connected successfully';
    mysql_select_db(aos);
    ?>
    Because of the connection dialog boxes in CS3, I have not used this php code but only used the mysql server aoswebeditor.readyhostingmysql.com.
    My requirements are very simple, I want to use the same remote database for the dreamweaver connection for the remote and testing server.
    Any ideas would be appreciated.
    Thanks. George

    First of all, you seem to be mixed up about terminology. ASP stands for Active Server Pages, and is a type of server technology similar to PHP. I think you mean ISP (Internet Service Provider). However, this is not correct, either. An ISP provides your connection to the internet. Although some ISPs also host websites for their customers, your website is normally located at a hosting company. You need to get that mixup out of the way. Otherwise, you might confuse people with future questions about ASP, when you actually mean something completely different.
    OK, lecture over...
    Your hosting company is following standard procedure by preventing remote access to MySQL databases. However, Dreamweaver does make it possible to use your remote database and website for testing purposes. It does so by uploading a hidden folder called _mmServerScripts to your remote server. This performs a local connection with your database, and then sends the results back to your local computer. When setting up your testing server definition in Dreamweaver, you need to provide the details as I indicated before. When creating a MySQL connection in Dreamweaver, fill in the server name and account details as given to you by your hosting company. If everything is set up correctly, you should be able to use your remote server and database for testing.
    Having said that, it is much better to install a local testing environment. You'll find it faster, and it also lets you make mistakes (an essential part of the learning process) in the security of a closed environment. For details of how to set up a local testing environment, see this article in the Adobe Developer Connection.

  • OBIEE MySQL Database

    Hi all,
    I want to do some test on the write back feature of OBIEE and I need to install a database for that.
    Is it necessary to have Oracle database ? or any database will do like MySQL database which is freely available.
    If we can use Mysql DB then do we need to do some config settigns in the RPD?
    Regards
    Ashish

    Hi,
    Yes can use it.
    Refer this for Datasource creation : http://mithil-tech.blogspot.com/2010/06/creating-mysql-datasource.html
    You can even use excel as source right,if its for practice.
    Refer : http://kpipartners.blogspot.com/2009/09/writeback-in-obiee.html
    Regards,
    Srikanth

  • How to create logical standby database?

    Hi,
    can i created logical standby database without creating physical stanby database? is it possible?
    Thanks,

    Hi,
    Creating a Logical Standby Database
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ls.htm#SBYDB00300
    Regards,
    Tom

  • Best Option for Creating a Development Database

    hi experts,
    This is 10.2.0.4 on Windows.
    My test server already has a database used for testing purposes. I want to "clone" that database and create a separate database on the same server to be used by the developers.
    After I make a consistent/whole backup of my test database, can I use RMAN Duplicate Database to actually create my new dev database, - OR - should I pre-create the dev database beforehand?
    The new db will NOT be a standby. Also, I do not use recovery catalog.
    Again, 10g on Windows.
    Thanks for your ideas. John

    I assume you mean cold backup? If so, you can follow the process indicated at Cloning An Oracle Database on Windows.

  • Can't import XML data into my databse-connected PDF form

    Hi  All
    Excellent forum, and thanks for all the revealing insights so far viewed, however one question.I'm using a PDF form to collect info via email in the format of XML datafiles. I also have an identical PDF which has database connectivity and that works fine. It was suggested on this forum that I could then import the XML data into my Database via the DB-connected PDF, in effect a user form and one with DB connectivity. Now, I've checked the data types and they all match, but when I import XML file, it creates a blank record in the database and none of the information is carried through. Please could someone offer guidance on what I'm doing wrong, I've been trying to figure this out for a week now?
    Thanks
    Steppe

    Maybe it's because I'm replying by email, so I'll try the forums directly;
    </script>
                </event>
                <assist>
                   <toolTip>Click to delete the current record fromthe database</toolTip>
                   <speak priority="toolTip"/>
                </assist>
             </field>
             <field name="Decam_Done" y="44.45mm" x="165.1mm" w="28.575mm" h="13.707mm">
                <ui>
                   <textEdit>
                      <border>
                         <?templateDesigner StyleID aped3?>
                         <edge stroke="lowered"/>
                      </border>
                      <margin/>
                   </textEdit>
                </ui>
                <font typeface="Myriad Pro"/>
                <margin topInset="1mm" bottomInset="1mm" leftInset="1mm" rightInset="1mm"/>
                <para vAlign="middle"/>
                <caption reserve="4.2353mm" placement="top">
                   <font typeface="Myriad Pro"/>
                   <para vAlign="middle"/>
                   <value>
                      <text>Decam_ Done</text>
                   </value>
                </caption>
                <border>
                   <edge/>
                   <corner thickness="0.175mm" join="round" radius="2mm"/>
                </border>
                <bind match="dataRef" ref="$.Decam_Done"/>
                <validate nullTest="error"/>
             </field>
             <?templateDesigner expand 1?></subform>
          <proto/>
          <desc>
             <text name="version">8.2.1.3144.1.471865.466429</text>
          </desc>
          <?templateDesigner expand 1?></subform>
       <?templateDesigner DefaultLanguage FormCalc?>
       <?templateDesigner DefaultRunAt client?>
       <?acrobat JavaScript strictScoping?>
       <?templateDesigner Grid show:0, snap:1, units:0, color:ff8080, origin:(0,0), interval:(125000,125000)?>
       <?templateDesigner FormTargetVersion 26?>
       <?templateDesigner Zoom 75?>
       <?templateDesigner Rulers horizontal:1, vertical:1, guidelines:1, crosshairs:0?>
       <?templateDesigner SaveTaggedPDF 1?>
       <?templateDesigner SavePDFWithEmbedded

Maybe you are looking for