Developer tools to directly access databases [closed] - mysql

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I work with several different databases and find myself trying connecting to these quite often to test a query. I use the database specific tools to connect to the DB and run the query.
I find these DB specific tools like SQL Query Analyzer (SQL-Server), Oracle Enterprise Manager, MySQL Query Browser to be quite clunky and slow when it comes to running quick queries and looking at data directly. It is also hard to remember all the userids and pwds for the develop and test databases.
What tools do you use as developers to connect to the database of choice? I use Eclipse as an IDE. So any Eclipse specific tips are also appreciated.
Even if a tool were to work with one DB and not with the other, I am willing to look into it if it were more user-friendly than the one the DB vendor provides. I am already using 3 different ones.

SQuirreL, written in java, will work with any RDBMS for which there's a JDBC driver.
It works very well for both sending SQL, rendering result sets, and allowing browsing of database objects (from a tree). For several RDBMS, it includes extensions to automatically generate common statements.
Especially nice is that the query pane executes either the selected sql, or the line the cursor is on up to the first blank line. This allows you to write several statements, and to execute them either individually or in a batch.
And it's free and open source.

I've used quite a few.
PL/SQL Developer: as the name implies this is Oracle specific but is by far my favourite DB tool. It greatly simplifies import/export;
Toad: Also Oracle-specific. I used to be a big fan of this but it's expensive and I think more DBA-oriented these days. For a developer I don't think it offers all that much (given the price difference) over PL/SQL Developer;
DBVisualizer: this tool isn't bad. I'm not sure the commercial version is worth the price they're asking for it. The free version is OK. It's good that it works with pretty much any database;
Navicat for MySQL: it's OK but honestly I wouldn't pay for it;
SQL Server management Studio: comes with SQL Server. I don't think I really need much more for SQL Server than this except perhaps a better way of importing/exporting databases, soemthing for which this is garbage;
Oracle SQL Developer: this is the poor man's tool you use on Linux when you don't have much other choice. It's fairly basic but OK given that it's free.

Also a nice tool is the AquaDataStudio

I've used:
TOAD
DBVisualizer
I prefer DBVisualizer, but it's a bit of a memory hog so it might not be the right solution if your resources are an issue.
I've tried the eclipse plugins as well. For me I'd rather keep eclipse optimized to do the work it's meant to do.

When it comes to stuff like this, I prefer portable tools. Installed once, you can put them on flash or CD and carry with you. Connecting to DB should be easy as filling out usual fields: server, user, pwd..
Sql Buddy
Decent one, open source, with syntax highlighting & code completition. Not recently updated but it generally works OK.
GiPo#DB Utilities
Very nice one, has all of the above features plus its more feature filled as it was previously commercial.
Mentioned tools are not more then few MBs in size and it takes 1 minute to install them and copy them to your portable location.

Within Eclipse you can use the Eclipse Data Tools Platform for doing database development. In recent versions you can find some kind of visual query builder as well. Oracle has a plugin for DTP and implements some Oracle-specific functions.

Database Workbench can be use for Oracle - SQL Server and MySQL
http://www.upscene.com

have a look at Rapid SQL
it is a cross-platform SQL IDE that helps database and application developers produce high quality SQL code faster.Embarcadero Rapid SQL helps you increase database development efficiency by:
Streamlining SQL coding tasks, object management, reverse-engineering, source code control and schema deployment
Improving team collaboration and resource sharing
Accelerating application development cycles with code assist, Quick Fixes, SQL to Java round-trip debugging, and profiling tools
Standardizing with one tool set with deep cross-DBMS platform support

Aqua Data Studio and RapidSQL are two great tools/IDEs for sql development. You can connect almost any database engine and they include some vendor specific features for say Oracle etc..
Also since you use Eclipse IDE, you may consider Eclipse Data Tools Platform or QuantumDB plugin.

The tools depends a bit of the kind of work to do. For most browsing I go for DbVisualizer, I can customize it exactly to my needs. The support is good and responsive. For pl/sql editing I prefer oracle sqldeveloper.
DbVisualizer is not a free tool but the price is fair, maybe even cheap when compared to Toad. It is also multi database but this is implemented in such a way that I am not limited in my oracle world and it helps me navigating on other vendor rdbms that I don't know so well.
For real time monitoring DbVisualizer has a very nice option that I have not seen in any other application. VERY usable if you are trying to debug some, for example, performance problems.
Ronald

Check out RazorSQL. It has all the features of the most expensive tools at a fraction of the price.

Related

Sample datasets for practice - Oracle pl/sql

I am a new user of SQL, I use Oracle pl/sql as a Programming software. I have done an introductory course to SQL that included some datasets. However I'd like to continue practicing, some real life problems that include requests of querying very simple statements to difficult ones that include indexes, etc.
Does anyone have any links/sites where I can further pursue SQL training for free? I've done a Stakexchange and Google search with not much luck.
As you probably know, Oracle ussually comes with some sample schemas like HR, SH... listed here
Also, you can install HammerOra benchmarking tool. It's commonly used to test TPC-C and TPC-H on different RDBMS. It will install some schemas on your DB with variable size.
You can also install some virtual appliances.
There are more there, but I think the coolest is StackOverflow DB, too bad is MSSQL.

What are some good tools for data analysis / database visualisation / reporting [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I have developed a web application driven by a mysql database that stores information about users, site usage, photo uploads (its a photo based site) etc. I have multiple databases storing data for different aspects of the site. I want to be able to produce reports for some of the questions I will have about how the site is growing and how it is being used. For example, how many new users have uploaded over a certain number of photos this month.
What tools are available to analyse databases - i have been using a trial version of microsoft access and exporting each of the database as an xml file and importing to access, where I created the relationships and used the query wizard to generate some queries and reports. These are the activities I want to do and they produced the reports I want to have. I also want to be able to run queries across databases...
What other tools to people use for this sort of task with mysql databases? Is there any good advice / training materials about the workflow for creating such reports and managing this activity over time - eg should I take weekly exports of databases and run the queries to generate the reports?
What are people's experiences of this type of task?
all advice, input welcome.
Welcome to business intelligence, the art of making information out of data.
A usual architecture is Source --> ETL --> Data warehouse --> Reporting tools
ETL : extract transform load (today you are copying your databases but some free tools can help you change that : CloverETL, Talend, etc...)
Data warehouse : this is the place where you put your data and prepare it to be easily used in reports
Reporting tools: many free tools exist today such as BIRT, JasperReports, etc... but I strongly recommend QlikView, the personal version is free (if you don't need to share your results), it's a very easy tool to use.
Speaking as someone who used to earn a living developing on MSAccess, I would strongly recommend using just about anything else.
Crystal reports is a good option. But IIRC the free version has disappeared.
You might also have a look at JasperReports, ReportMan, BIRT, DataVision and Agata
Have a look at myDBR a reporting solution based on PHP and mySQL. myDBR is very easy to install and lets you create reports within a few minutes.
You write your reports in SQL and myDBR then takes care of the layout and display of the report. This is different from most other solutions in that it allows you to concentrate on the content of your report instead of having to spend too much time on the look and feel.
Here is a short example on how you could create a usage statistic for your site:
select 'dbr.chart', 'Column', 'Usage statistics';
select name, count(*)
from user_access
group by name;
More examples are available at the myDBR demo site.
myDBR is available as a free community version and a paid premium version (129 EUR).
If you does not want download the data every time it seems a good idea to install a software on the server. If you want a reporting software on the server then which platform do you use on server?
If you can't install software on server then you can use a PHP-MySQL Bridge. A PHP script. With a JDBC driver you can access it. Then you can use a Java based reporting tool. For example the free (yet fully functional) designer from i-net Clear Reports (used to be i-net Crystal-Clear).

Preferred MySQL tools [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 9 years ago.
Improve this question
Hi what are the preferred mysql tools with professional developers. I am a recent computing graduate and have used the query browser and administrator from mysql throughout university and i have found them to be very useful.
I start a new job in a couple of weeks though as a web developer and was wondering whether they would be exepcting me to use the command line or some other mysql tools.
What do the professional developers generally use for interacting with mysql databses i.e. creating new schemas, tables etc.
This is the tool to generate MySQL queries. There you can find MySQL generator for different commands, like drop table, create table, rename database, create database etc.
mysqladmin should be sufficient for most of the tasks if not all of them.
For windows, HeidiSQL is fantastic. It might work on Linux through Wine, but I've never tried it.
I occasionally use MySQL Workbench, as it can help speed up schema design (and the price is right). A cursory knowledge of phpMyAdmin is useful as it is often the admin tool of choice on web hosting servers. Most of the time, however, I just use the command line interface from Linux.
Understanding what goes on beneath the GUI is a very useful (dare I say essential) skill to have. Just look here on SO, where you'll find a vast number of SQL scripts that would be difficult to explain or implement if a GUI had to be factored in.
The CLI is available almost everywhere. If you ever have to work on a computer other than your own, be it on site or in your office, you can be fairly certain that CLI access will be available. The same cannot be said for your GUI of choice.
SQLyog is what I turned to after trying to use HeidiSQL. I liked HeidiSQL but I loved SQLyog. There is a free version somewhere.
Probably
Navicat
phpMyAdmin
DB Forge Studio for MySQL
For the Mac for development I use Querious. The application is very well written and supports connecting to local and remote databases.
Both of the tools you point out are good, and they would probably expect you to have some familiarity with them. Usually I will use a tool such as Query Browser or pgAdmin (for PostGreSQL) to run simple queries.
Once you have more experience you might find the command-line tools helpful as well. It's only going to help you by learning them.
For most big companies, you usually use Microsoft Visio to develop and plot the database as well as the web layout.

How to integrate Visual FoxPro w/ MySQL for eCommerce website?

I'm working on an eCommerce website for a small merchant. This merchant uses Opera (which is based on Visual FoxPro) to manage his in-store inventory, and would like the online store inventory to reflect the in-store inventory.
I'm guessing that my first step is to set up a way to regularly transfer the information from the VFP database to a MySQL database on the website's server. Is there an established process for this? Am I even approaching this problem from the right angle? I've heard a lot about ODBC, but am unsure as to how to implement it or if it's what I'm looking for in this situation.
If it wasn't obvious by this point, I'm in over my head here, and would appreciate any and all advice you may have, including links to articles or tutorials that can help improve my general understanding of all the moving parts here.
Thanks much.
Co-worker developed synchronization process between VFP and MSSQL2008. WCF service which took input directly from VFP.
On other project - as far as i remember, when we tried ODBC .NET data adapter, it had problems with encodings and foreign languages. That's why we used COM+, serialization for communication with .NET.
But it seems to me you are using PHP (eCommerce=>Drupal=>PHP) so you are in completely different situation.
In your case, i would start with checking out if Opera (i guess it's this Opera) provides built-in export and eCommerce provides built-in import. Mostly because it might be tedious work to sync data manually from 2 apps coded by someone else. Then i would research if i/o can be joined and automated (something like scheduled task on win environment). Unfortunately, can't help much more because i'm unfamiliar with those tools, products and technologies.
Anyway - it seems to me like quite hard and dirty task and i wish you good luck. :)
Depend on what is that you are using to implement the website.. in general it is pretty easy with ODBC (In Java , I did it using the jdbc-odbc bridge)

how do you ensure database Interoperability

I'm starting a new opensource project (for real estate) and wanted to focus on using MySQL, but would also like to ensure it works in PostgreSQL. What is the best way to doing this without having to continually test in both environments? I'm assuming the db schema is close to the same, but there could be some differences on the SQL script to set up the databases - right? what about scripts?
What Development environment are you using?
if your using .NET, JAVA you could use an ORM(Object Relational Mapper) like Hibernate (NHibernate for .net) and that will take care of you db interoperability, for PHP or ruby I would look for something equivalent.
Edit point:
After looking at your profile it looks like your a python developer so you may find this link helpful what are some good python orm solutions posed on SOF 10 months ago
Seems to me that the only way to make absolutely sure is to target them both in your testing. I'm sure both DB's have development paths that may diverge, and you'll often find yourself faced with the prospect of using some MySQL-specific feature.
It's a PITA but the longer you go between tests against both the better the chance you'll have fireworks when you do.