I am sure there is a solution out there, but have not been able to locate anything that achieves the exact specifications I need.
I am looking for a web based script/application that can convert a MS Access database to text/csv any form of readable file.
The reason I need it to be web based is that our management currently uses an access database software package to create and track user data. They export a subset of the tables required for user registration (via a mdb type saved as a different extension). This is currently processed through the software providers website. The problem being that the software provider no longer provides developmental support for the registration forms.
We do not wish to change the entire foundation of the Access database and if at all possible I just want to provide a solution that opens and converts the uploaded file (mdb type) and converts it to a text schema, or anything really that will enable us to dynamically generate web based forms for the tables uploaded.
Well you certainly could cobble together something yourself.
However the hosted web site would for all practical purpose have to be running something like ASP.net and ALSO support the reading of mdb/accdDB files.
I mean most web sites that support the JET/ACE database engine in 99% of the same cases also support .net code.
If you're running your own web server and especially asp.net then this should be no problem.
However you don't mention if this is your own web server or a hosted one? And you don't mention what kind of hosting you have?
Remember your web site runs on a computer. That computer could be a Mac computer, a windows computer or Linux. And you simply install software + programs onto that computer like a desktop computer.
If that computer is Linux based then you not going to be able to install say your vb.net software on that web site. So what kind of computer and OS your web site is running on will DETERMINE what kind of software it will run.
If your site is currently an asp.net hosted site and they support reading of Access files (has support for JET/ACE) then I don't see why a bit of vb.net (or c#) application could not be written with little effort to have that file uploaded and then the contents read.
I think before go looking for some software to do such a conversion I would FIRST find out and figure out what computer platform your web site is running on now. You THEN need to find out if that computer hosting the web site has support for JET (now called ACE) data engine.
It is a walk in the walk in the park to have some code open + read the mdb or accDB file and send that data to the web sites SQL server. However you can ONLY do this if your site in question has support for the JET/ACE database engine. (or you have your own server and you are ALLOWED to install the JET/ACE engine).
So a solution program (off the self) does exist then AGAIN 9 out of 10 times such a solution will REQUIRE that the JET/ACE engine be installed on your hosted web site.
So just keep in mind that like windows or Mac computer or even a tablet computer – the web server is EXACTLY the SAME in regards to WHAT software will run on that web site.
So without knowing what kind of web hosting you have then it becomes rather hard to suggest a working solution that will be able to run + be installed on your web site since we don't even know what kind of software can be installed on your web site now?
If you current web hosting does not allow the JET/ACE data engine to be installed it is VERY unlikely that EVEN if you found some software that does a conversion for you then such software will NOT install on your existing web site.
Any competent asp.net developer should with quite ease allow one to select a local mdb file, upload to server and then have web code open up the mdb file and pull out table data to sql server.
The only real thing stopping this process is as noted what kind of web server you have and what kind of software it will run.
Keep in mind the issue is OFTEN what kind of software you can install on the web server.
Just about every web provider allows managed code (c# or vb.net) code to be up-loaded on the server to be run. However installing NON managed code like the JET/ACE database engine is a VERY VERY different matter.
Starting point:
You need a web provider that supports the JET/ACE database engine or you need to be running your own web server that allows you to install the JET/ACE database engine.
Furthermore how would the software you install know the table names in Access and also know the table names in SQL server and also where to send the data?
At the end of the day all of the software bits and parts rather common exist if you have your own ISS server with asp.net. And if your provider is using asp.net AND ALSO supports JET/ACE then AGAIN you have all the software required.
As such then your code can use ftp or even HTTP to upload that file. All of these features are built into the .net framework assuming your web hosting provider allows asp.net + JET/ACE.
Related
I am trying to connect to AWS Athena via my Windows as well as Mac system. My goal is to have a SQL Editor that I can use to perform quick research about the data. I was trying to find tools and tutorials for connecting to Athena. So far I have only found some tutorials around SQL Workbench. What are some other tools that you guys leverage and is there something particular that you like about that tool and how easy was it to setup either on Windows/Mac.
I use SQuirreL SQL for connecting to Athena. It has served the purpose so far. Once you import the JDBC drivers(you can download them from AWS's site) the tool itself is pretty straight forward to setup. The URL that you can use to connect can be seen here -
jdbc:awsathena://AwsRegion=<AWS Region>;User=<AWS Access Key>;Password=<AWS Secret Key>;S3OutputLocation=<S3 folder>
I'm pasting the "Overview" of SQuirreL below:
SQuirreL SQL Client is a graphical Java program that will allow you to
view the structure of a JDBC compliant database, browse the data in
tables, issue SQL commands etc, see Introduction. The minimum version
of Java supported is 1.6.x as of SQuirreL version 3.0. See the Old
Versions page for versions of SQuirreL that will work with older
versions of Java.
SQuirreL's functionality can be extended through the use of plugins.
A short introduction can be found here. To see the change history
(including changes not yet released) click here.
For a more detailed introduction see the English or German of our
paper on SQuirreL.
Susan Cline graciously took the time to document the steps she
followed to setup an Apache Derby database from scratch and use the
SQuirreL SQL Client to explore it.
Quite some time ago Kulvir Singh Bhogal wrote a great tutorial on
SQuirreL and published it at the IBM developerWorks site. He has
kindly allowed us to mirror it locally. The tutorial is not really up
to date but especially for doing the first steps it is still of help.
SQuirrel was originally released under the GNU General Public License.
Since version 1.1beta2 it has been released under the GNU Lesser
General Public License.
Another tool that I have used pretty extensively is SQL Workbench. This is also sort of recommended on the AWS site. The is good, but I found that it would hang up sometimes and I would loose my work.
Both of these can be easily downloaded from the links provided or if you like to use CLI then Homebrew can be used on MacBook or Chocolatey on windows
Some other tools that you can use are DataGrip by JetBrains. Guide to setup the tool can be seen here. The functionality of DataGrip is also built into IntelliJ Ultimate Edition.
DB Visualizer is another tool that can be used to connect to AWS Athena the guide to connect can be found here
TeamSQL and Razor SQL are some other tools that you can leverage.
One of the strengths of JDBC drivers is that as long as a tool supports JDBC, you can use it for any data source which has a JDBC driver. First, get the JAR file for the JDBC driver for Athena here: Amazon Athena Connect with JDBC. Java works across platforms, so as long as you have Java in your Windows/Mac environment, you should have no problem using any of these tools.
The tool SQL Workbench/J is fairly popular, but I find it frustrating to work with when switching between multiple databases.
Another tool is Squirrel SQL, which also supports JDBC drivers. I prefer it, but it looks a little less pretty than SQL Workbench/J. Once you've downloaded the JDBC driver, configure it in SquirrelSQL by going to Drivers and then adding a new one. Label it "Amazon Athena" and specify the Example URL as jdbc:awsathena://AwsRegion=[Region];User=
[AccessKey];Password=[SecretKey];S3OutputLocation=[Output];
[Property1]=[Value1];[Property2]=[Value2];...
Leave the Website URL Blank, but specify the Class Name as com.simba.athena.jdbc.Driver. Add the .jar file of the JDBC driver to the "Extra Class Path" page.
Once you've set up the driver, you can set up connections by going to the Alias tab and hitting the plus sign. Simply fill in the values in the example URL to point to your data source. Once you're connected, you're good to start writing queries.
SquirrelSQL saves the connection information for you, allowing you to quickly jump between data sources, and makes it easy to write multiple queries in one input window, with their outputs going to separate tabs in the output pane. I've used it for database, exploration, DDL, and regular day-to-day tasks with data. It's been good for most anything I've connected it to. It is definitely not perfect, but it's getting better all the time.
I guess you need a Docker SQL Editor that you can use to perform quick research about the data.
But I suggest two ways.
One is Offline/Online and with installation methods, which you can use with a fixed connection.
The first solution is to select a system as a server and connect to it from other operating systems. This is the traditional / old solution.
In the second solution you just need to be trained to work with Docker. This is a newer and more popular solution.
if you want use MySQL in MAC read this article :
Installing MySQL in a Mac OS X environment
If you want use MySQL in windows read this article :
How to Install MySQL on Windows
But you need a synchronous space for use MySQL or other DBMS you can use docker.
Docker is very Flexible . But you need connect to internet.
If you want use Docker read this article and view docker site :
Docker : SITE
Docker Doc : Start a Remote MySQL Server with Docker quickly
Checked some forums for sql extensions in Android studio but posts are older, does someone know if there is new extension or plugin for Android Studio to manage databases?
here is one:
Database Navigator
Database development, scripting and navigation tool This product adds
extensive database development and maintenance capabilities to the
IntelliJ IDEA development environment and related products. Along with
a qualified and IDE-compliant SQL and PL/SQL editor, it provides
advanced database connection management, script execution support,
database objects browsing, data and code editor, support for database
compiler operations, method execution and debugging, database objects
factory, as well as various navigation capabilities between all its
components. See features overview on the support page. Supported
Databases: Oracle MySQL SQLite PostgreSQL
Checked it with Android Studio 2.3.3 - configured .db sqlite file in it, checked queries - works well so far, but I notices some oddies: lags when viewing table schema/columns and finally they are not showed for me.
I'm totally new to the windows phone 8.1 app development.
I'm trying to develop a simple app with a database using visual studio 2013. It is not a silverlight app.
my app just have a text field and a button.And i have a MySQL database in a local server(WAMP).
I need to get a input from the text field and store it in the database.
First thing that I want to know is it possible to do?
If it is possible I would be very grateful if you could provide a step by step guide or a link where i can learn about this.
If it is not possible what are the other ways that I can try to store my input in a database?
Local storage
I'm guessing you're looking for a way to store structured data locally on the phone. AFAIK, MySQL is not supported on Windows Phone (MySQL is big, runs as a server, and it wouldn't be possible or practical to "install" it onto a phone). Instead what Microsoft endorses is to use SQLite. You'll first need to download the SQLite library as a Visual Studio extension. Then you'll need to install something like SQLitePCL (from NuGet) which essentially wraps the native SQLite library so that it is accessible from .NET languages. Make sure you add both references to your project. SQLite stores a database as a file that you can put in the local storage for your app.
Remote storage
I'm not sure if it's directly possible to connect to a remove MySQL server from a WP app. Usually you'd access a remote database through a webserver that exposes an API for you to use (e.g. a REST API). You can then send data to the webserver via a HTTP POST request, and then your webserver will store the data in the database. This is a big topic, and involves knowledge of server-side programming such as ASP.NET, Ruby on Rails, Django, PHP, etc. This topic is too broad for me to give you specifics on how to do this. See this answer.
I am trying to design a database application for my small business. I've created a number of form driven MS Access databases for use before but would like to create a permanent solution in something more advanced & common.
I was thinking of using mySQL for the database and would then program a C# or VB application to be used in Windows. I do not want or need a web based version at this time but the migration to VB.net in the far future may be something I'll look into.
I know I can use a MS Access backend for my windows application without having to install MS Office on any or all the computers the program will be run for.
But here is my question. Is it necessary to install mySQL Server on the PC hosting the database, on all the PCs accessing the database or can I just use the database file as the backend and Visual Studio will have all the necessary tools I need to access it?
If I have to install the server I may just stick with the MS Access database as the needs for an excessive amount of database storage won't ever be an issue.
You'd need to install MySQL server on the Server hosting the database. The clients would then connect via the network. You will however need a driver to access the MySQL-Server with VB.NET on the client machines. A simple DLL-File might be enough, though.
If you are looking for a file-based database solution have a look at SQLite. But you will have to watch out for concurrency issues here.
There are alot of applications like MAMP, WAMP, etc. That come with a version of mysql that needs no installation and can be turned on and off easily. I am trying to create a web based application that will use a mysql database, where do you get mysql to bundle and how is it done so the user doesn't have to install it?
you can get it mysql
http://dev.mysql.com/downloads/
you can used php, ruby (rubyonrails) or java for developed application. in the case php install xampp.
MAMP, WAMP, etc. all have a bunch of configuration that is already set up for them. Essentially they've installed MySQL and everything else included under a single directory that doesn't rely on anything outside that directory and then zipped it up together. I'm not sure exactly what you're trying to do, but that really seems like overkill. May I suggest checking out sqlite? It's designed for bundling and embedding and will be quite a bit easier to deal with.
Are you truly creating a Web Based app or are you wanting to create a desktop application using web scripting languages?
If you are creating a web app, you shouldn't need to bundle MySQL since when you deploy to your hosting environment it should already be in place. If you truly need to package everything you'd be best off offering your software as a virtual machine appliance with the appropriate services already configured and running.
If you are creating a desktop app, that's a whole other issue.