What would be the best way to sync a local Paradox database to an online SQL database?
It only needs to be a one way system; I need it to upload a phone logging database into my SQL database.
Currently I have a program that exports the table into a CSV and then uploads it to the sites FTP and then I was going to create a script to import that into the database for me, is there a better way / program to go about achieving this?
Many thanks.
Related
I have created a site that uses MySQL and I want to get it online.
My question is:
What happens with the database that I created?
Will it automatically be saved in the host?
Will all the tables etc. remain the same?
Also, I have created an update module which connects to the database to store new data.
What happens in than case?
If anyone knows details about the whole process.
Please let me know!
Thanks in advance!
If you use local database for development, you need to export database from local database and import them into the database of your hosing provider or any other online database.
If you developed your site using the online database like database provided by the hosting site, there will be data and database as it is.
In your case the database is stored locally. So every change you make during development will be reflected only if your local database is imported to online database.
So I have an SQLite3 database with Sequelize on a VPS and a Website I hosted on Hostinger.
Is it possible to access and edit the data in the database from the website?
Any help is appreciated.
[my code is in nodejs]
Yes and No.
Easy and simple answer - now;
Longer - yes, but you would need to map the directories, so server running your sequelize will think it accesses normal directory.
You can download the database, edit it and then send it back. sqlite3 is file database, you dont really connect to it (usually)
SQLite is a database format based on a single file. It's simple but not massively performant. It has no networking features.
The SQLite client needs to have access to the filesystem that the database lives on.
If they are on different computers, then you could do it by using some kind of network filesystem (e.g. via fuse) but this would be really slow.
A better approach would be to run a webservice on the computer the file is stored on, and access the database through there.
Basically the short story is we have a report generator running on a MySQL database at work and management wants me to modify things so we can connect to tables in an external Access database from this report generator as well. And then create reports that join tables from the MySQL database to the Access database. I suggested exporting the data from Access and importing it into MySQL but they want a live, real-time connection. To complicate things further these are both on different servers right now (MySQL on Linux, Access on Windows) and I'm not sure that can be changed.
I tried to look this up online but all I could find is ways to connect to MySQL from Access, not the reverse.
Is what we are trying to do even possible, and if so, can someone point me in the right direction?
I have a database on a school server that I have limited access to, so I cannot import a data backup like I would like to. I only need one table, and I am wondering if there is a way to create a file from Microsoft SQL Server Management Studio to create the table then insert all the data (talking about 23,000 rows, so quite a bit to move otherwise).
I have the database backup imported into a schema on my copy of Microsoft MySQL Server, just not on the school server that I would like to be using.
If anyone has a better way of doing it, I am very open to suggestions.
EDIT: Just so everyone has an idea of what I'm working with on the school side, it is a limited version of phpmyadmin:
Import is limited to sql script files.
I'm developing an AIR app which will synchronise data between local SQLite db and server-side MySQL database.
The app is to be used by several users on any number of desktop computers. When a user first installs the AIR app the database and its tables will not exist locally. I would like the app to be able to download a single schema file with all the CREATE TABLE statements and execute them to set up the database tables locally prior to synchronising with server-side data.
I know that flash.data exposes the SQLSchema class which allows inspection of the database schema - but what I would like to do is build a local database from a downloaded schema.
Is this possible?
Thanks in advance.
Best wishes
This is possible.
My way of doing this is through URLRequest which brings back the sql text file with commands to populate tables in main database opened by AIR.