Import a schema (via .XSD file) to MySQL Database [duplicate] - mysql

This question already has an answer here:
XSD to MySQL Schema
(1 answer)
Closed 7 years ago.
I have exported MS Access tables as .XSD files and want to import them into MySQL is this possible to do directly or do I have to redefine all of this information in MySQL?

Have a look at this post. It details the import of the XML and XSD into excel, where you'll want to save it as CSV.
You can then bulk load this CSV into a MySQL database. DB management tools such as Navicat tend to have Import features that make this a trivial process.

Related

Is it possible to store videos in MySQL Database [duplicate]

This question already has answers here:
Is it possible to store pictures,sounds,videos in SQL Database? [closed]
(2 answers)
Closed 7 years ago.
Is it possible to upload videos to mysql database(or another database) and then store them in this database but not on my own computer?
Technically, yes. But you would almost certainly never do this (unless the files were very small), preferring instead to store the files in a file server, and only their paths and meta data in the database.

Automated way to convert XML files to SQL database? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
We have a bunch of XML files, following a schema which is essentially a serialised database form:
<table1>
<column1>value</column1>
<column2>value</column2>
</table1>
<table1>
<column1>another value</column1>
<column2>another value</column2>
</table1>
...
Is there a really easy way to turn that into an SQL database? Obviously I can manually construct the schema, identify all tables, fields etc, and then write a script to import it. I just wonder if there are any tools that could automate some or all of that process?
For Mysql please see the LOAD XML SyntaxDocs.
It should work without any additional XML transformation for the XML you've provided, just specify the format and define the table inside the database firsthand with matching column names:
LOAD XML LOCAL INFILE 'table1.xml'
INTO TABLE table1
ROWS IDENTIFIED BY '<table1>';
There is also a related question:
How to import XMl file into MySQL database table using XML_LOAD(); function
For Postgresql I do not know.
There is a project on CodeProject that makes it simple to convert an XML file to SQL Script. It uses XSLT. You could probably modify it to generate the DDL too.
And See this question too : Generating SQL using XML and XSLT
If there is XML file with 2 different tables then will:
LOAD XML LOCAL INFILE 'table1.xml' INTO TABLE table1
LOAD XML LOCAL INFILE 'table1.xml' INTO TABLE table2
work
try this
http://www.ehow.com/how_6613143_convert-xml-code-sql.html
for downloading the tool
http://www.xml-converter.com/

MySQL Framework [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I am looking for a MySQL Framework. I have a database ready containing 100's of tables. I just want to attach a front-end to this database using which one can edit, modify and delete the data in the database. I am not willing to write php code for this work as I have some time-constraint. So does a solution for this exist? In my basic research I stumbled upon Xataface. How is it? Are there any other solution?
Thanks
There are some other as well:
HeidiSQL
phpMyAdmin
SQLyog and MONyog
For database modeling:
MySQL Workbench
You can try SQLyog which has 30-day free trial. You can download it from here. List of features available: http://www.webyog.com/en/sqlyog_feature_matrix.php
i would recommend phpmyadmin. It has many features and it more user friendly
The main PhpMyAdmin features are as follows:
User-friendly web interface;
Support for most MySQL functions like browse, drop, create, copy and
alter databases, tables, views, fields and indexes, execute MySQL
queries, manage stored procedures and functions;
Import data from CSV and SQL files;
Export data to various formats: CSV, SQL, XML, PDF, ISO/IEC 26300 -
OpenDocument Text and Spreadsheet, Word, Excel, LATEX and others;
Searching globally in a database or a subset of it;
And much more.
For an user interface, you can try phpmyadmin as a web based and a lot of desktop applications depending upon your operating systems.
If you are looking at a programming framework for the user, then cakephp or rails are an excellent option - you would have to need extra tables for storing metadata though.
If you are looking for a GUI to work with MySQL databases, you can try dbForge Studio for MySQL. Try Trial or free Express edition. Here it is a list of features.

Connecting Excel with SQL Server 2008 [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Is it possible to connect Excel 2007 or Excel 2010 directly with SQL Server 2008 so that any changes in excel would appear in database without import or export to database?
If it is possible What is the best possible way to do this and
why?
To the best of my knowledge you cannot export data back to any database from Excel.
When you connect excel to a database, effectively you are just defining a datasource and excel imports the data and has no concept of row numbers, primary keys etc which it may need to update the fields. Excel is primarily a presentation tool (after being a spreadsheet).
You can connect to a database by going to:
Control Panel\All Control Panel Items\Administrative Tools\Data Sources (ODBC)
Setup up an ODBC connection to your SQL Server and then defining that connection in your Excel Datasource.
The best way to be able to view and update data that I can think of is through a query browser, either SQL Servers own "Management Studio" or a generic "Query Browser". Just create a user with only SELECT privileges and you should be good to go. Perhaps a web-based solution like myLittleAdmin so users can visit a site, log-in and run the queries they want, update and delete as they want.
My personal favorite is Jet DataBrowser however it's java based and hasn't been updated since 2007.

MySQL Table Structure Visualization? [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Mysql Visualization Tools
Is there an online tool or an app that can create a graph or an image of an imported database that shows the relationship between the tables inside it?
If an app is okay: MySQL Workbench
have a look at DB Visualizer
dbForge does this as well, so it seems you have lots of options.
Link: http://www.devart.com/dbforge/mysql/studio/download.html