MySQL to automatically import a Web Query IQY - mysql

We have a cloud base accounting software, NETSUITE.
I have set up a report which provides me with the necessary information for our current stock.
This information can be accessed by a web query .iqy file from any location in the world.
I would like a separate MYSQL database which is hosted to import this data into a table I have set up.
This is needed as NETSUITE will not allow me to run certain commands that I require.
Is this possible and how would I go about doing this?

MySQL can import CSV data, google mysql load data infile.
Another option is to use phpMyAdmin and select one of the import options in that tool.
There are also commercial tools available like DBForge for MySQL that will allow importing tables into mySQL.

Related

Link Exel Model to intereactive Web Dashboard via bulK import of CVS into SQL

I have a few excel wordbooks which will be generating dozens of csv files which need to be imported in their corresponding receiving SQL tables every 5 minutes. I wonder which would be the elegant way to do this? Can SQL script be used to import multiple csv files into their respective tables in one batch run (we woudl upload all csv files in one ftp run)? What you would recommend?
How error–proof is this setup? We need this for a production environment – need to connect local excel models with interactive charts on the web - fAST.
Just to clarify we will be using wpdatatables plugin to draw charts using the imported csv data in WordPress - in combination with wpbakey you can create an responsive dashboard in a matter of minute using any result from your excel models of ANY COMPLEXITY - and without the need to pay thousands for any blackbox dashboard solutions.
will not constant BULK import of the csv tables corrupt the database? I assume you can run multiple sql commands in a stream?

publishing Filemaker (database software) data on Wordpress website

We would like to be able to publish Filemaker data on our Wordpress website. The website is up and running and the filemaker database is set up. We do not need a live connection between both systems so we chose to export the FM data to .csv so we can import it to the mysql database on the server and from there we would like to display in on the website.
Now are my questions, since this kind of development is new to us:
can I setup an automated import to the mysql database from a source like dropbox or something? For example can we make the mysql database import and overwrite the existing database each 24 hours from a .csv file located somewhere? We need this automated overwrite option because the FM data changes often and we need up to date info on the website)
How can we display the data from the mysql database on the WP frontend?
I've been looking into this myself and couldn't find any clear answers or guides. Can you guys point me in the right direction?
(btw, I know there are table plugins I can use for WP but they do not fulfill our needs, and I think it's exciting to do it all by ourself with help from this great community)
Update 01
I've successfully connected FM with my MySQL db using ODBC and can now select tables from the MySQL db in FM's relational graph.
I was wondering how I can write the data from my existing FM file to the MySQL db using ODBC, can anybody help me on this?
I would like to display the data in some MySQL tables so I can fetch them using php on my website.
Thanks!
It is possible to write directly into (and read from) a remote MySQL database from FileMaker via ODBC.
You need an MySQL account which allows remote access. There are providers where this is not allowed.
On the local box the odbc driver needs to be installed. On Win you can use the open source version (http://dev.mysql.com/downloads/connector/odbc/), on Mac it works better with the Actual Tech (http://www.actualtech.com/de/product_opensourcedatabases.php) drivers.
An odbc system dsn (not user dsn) is set up. Be sure to use the 32-bit odbc manager on Win.
Now you can create the external data source within FileMaker and read and write into MySQL tables.
Once you have made the connection to the MySQL database, and you can see the shadow tables, you can write to the fields directly via Filemaker layouts. It's as simple as that.
Once the layout contains the fields from the MySQL database you can move through records, find stuff all as if the data were native in your FM database. Of course, for more automated processing, you can create scripts, relationships etc and manipulate/synchronise data. Be warned though, the connection speed can limit complex relationships and large databases. I would advise 'baby steps'.

convert Access to mysql commands

One of our customer has an Access database in his own server and I need to import it to a linux server with mysql in my own server.
In other words, I need to convert Access to mysql commands (inserts basically).
I've tried the DBWScript which works fine although it does not allow to export only one table. It exports all tables. What I'm doing now is exporting all the tables to a sql file and then I filter it taking only the inserts I really need.
I'd like to know if anybody knows a software like DBWScript that can be run in console-mode and permits to export only one table from a database, because that table has a lot of rows (up to 100.000) and it has no sense to export all the other tables if I am not going to use them. That increases the conversion time a lot.
I finally used a software called "Bullzip MS Access to MySQL" and it works like a charm!
This is the author's website: http://www.bullzip.com/products/a2m/info.php
It allows yo to select the desired table and desired columns in different tables, apart from creating a batch script to automate the process.
You can try Data Import tool in dbForge Studio for SQL Server.
Open Data Import wizard, select MS Access format, specify other options and save template file. Then use this template file (*.dit) in command line mode.
You can try using tips to converting MS Access to MySQL

Import tables structure and no data from one database to another

I have database with multiple tables in Microsoft SQL Server with schema in tables as "xyz".
i am able to copy this database tables along with data from one sql server to another using export and import wizard of SQL server.
I want to do find a way to-
1. Copy only tables with no data.
2. is it possible to covert current database design to a script and then run the same on another server which will create all these tables with empty data ?
Thanks in advances.
Best Regards
Yes, you could do that with Management Studio. Right click your database and then select Tasks -> Generate Scripts.
There are some settings there you should tweak, like if it should generate scripts for indexes and statistics. They are all in plain sight.
An alternative is SQL Server Data Tools. It's relatively new (ex-Data Dude). It's not as straightforward, but better on a long term, for database versioning and for creating migration scripts.

Options to insert data into mysql table

Hi I failed to find how to insert data into mysql database table using phpmyadmin on mamp. Neither found YouTube video or google tutorial as such. Is there any free tool/add-on to insert data into table? or my onlly choice is to use php script within the html code? Any suggestion on this? TYSM!
You should take a look at HeidiSQL which is a handy free MySQL front end:
http://www.heidisql.com/
You can create, browse and edit data. It also has bulk import tools to allow you to import data from CSV files or pre-generated SQL statements.
I find this a pretty invaluable tool for my daily MySQL management tasks.