Is there any SqlLite extension for Android Studio? - mysql

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.

Related

What tools do you use to connect to AWS Athena via JDBC

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

WIndows form GUI editor in Monodevelop

I have written a tool in Visual Studio Community using a C# windows form project. When I started the project I was unaware Microsoft insist on a user signing into an account after 30 days, (even though they offer an offline installation). For security reasons I cannot connect the computer to the internet to login. I have downloaded MonoDevelop and successfully opened and compiled the project. However, I would like to have the ability to "easily" edit the GUI. MonoDevelop's documentation seems to have little in-sight as to if this is possible. I checked out http://www.monodevelop.com/documentation/stetic-gui-designer/ which describes the process for native Mono applications. When I open the Form1.cs file, I am presented only with the option to view the source code. Is it possible to view the GUI designer?
The Stetic GUI Designer is only available for GTK 2.x based applications and not for Windows' Forms.
There is a project called WinForms Designer that might help you, it has not been updated for many years, but it still runs on at least OS-X (that is only OS that I have personally used it on).
http://www.mono-project.com/archived/winforms_designer
Note: For OS-X (or Linux) using the latest Mono, you will need to update the Makefile and replace the references to gmcs to mcs

Talend Open Studio for MDM - connectivity with database

I am using Talend Open Studio for MDM and I wish to use MySQL as the MDM Database but it seems that Talend Open Studio for MDM supports only 2 databases - H2 embedded and
eXist XML database.
Is there anyway to load my source data after processing in MDM and directly load it into a MySQL database?
As you've spotted, the Open Studio for MDM edition only properly supports an embedded H2 database but also has deprecated support for an eXist database.
The paid for versions that come with enterprise licenses allow for much more variety in back ends and recommends MySQL 5.6+ or Oracle 11+.
Other differences in the versions can be seen here.

Microsoft Access to web based format dynamically

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.

Visual Studio and MySQL

I have been using Microsoft Visual Web Developer 2008 Express Edition. Originally, I made a website with a MySQL back-end. Then I discovered the .Net web authentication, and moved to MS Access as I could, with some modification, make the web authentication work (but not all the features). For a future release of my site, I moved to MS SQL as it supported all of the features of the .Net web authentication. However, my host does not support MS SQL, my host supports MS Access and MySQL.
If I get Visual Studio 2008 Standard, with it have better integration with MySQL, to the point that all features of web authentication and using the development environment to make changes to the database are supported? Are there thrid-party tools or modifications that I can make to get things to that level of integration?
Or, do I have to move to a host that supports MS SQL?
We run a .NET environment here but using MySQL as our backend (though our software is applications, not web apps).
The MySql Net Connector is basically the MySQL version of the System.Data namespace in .NET (with nearly identical functionality/naming except for the MySql prefixes). So, as far as I have seen while working with it, anything that you can do via those namespaces, you can do via the connector.
As for IDE integration, I don't know. I use MySql Administrator and SQLYog to manage/work with the db.
You could try MySQL's .NET connector, though it's only a development version