GUI tools for mysql 5.0 [closed] - sql

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.
Is their any GUI-interface for MySQL, like Microsoft SQL Server 2005 Server Management Studio provides? Because basically I am operating MySQL with command prompt interface.

phpMyAdmin should be enough for simple purposes. If not, you can use the MySQL Workbench package or search for commercial tools if you don't like it.

Mysql query browser:
http://dev.mysql.com/downloads/gui-tools/5.0.html

There used to be MySQL Administrator and MySQL Query Browser, but those are not supported anymore.
Clientside
MySQL AB recommends to use the new MySQL Workbench (GUI Tool)
TOAD and MySQLYog are pretty popular too.
Serverside
PHPMyAdmin is pretty friendly for inexperiences users, but more experiences users don't always like it.

Also useful,
https://stackoverflow.com/questions/126791/best-mysql-server-monitoring-tool
Best MySQL performance tuning tool?
Preferred MySQL tools
searching stackoverflow for more results.

i used SQLYOG,
you can download the Community edition (free) from :
http://code.google.com/p/sqlyog/downloads/list

I like Navicat or MySQL GUI tools

I have tried 3 different MySQL GUI clients.
MySQL workbench
HeidiSQL
SQLyog (Free community edition)
IMO, HeidiSQL has a nicer GUI and more useful features than the other two.
In HeidiSQL you can use Ctrl+Space for auto-complete (just like Eclipse IDE). For example, you can start typing
SELECT * FROM st
then Ctrl+Space and it will open a pop-up displaying all table names in the selected DB that start with 'st' from which you can select the table.
You can also use table aliases and use auto-complete for column names. For example,
SELECT * FROM students s WHERE s.
and then type Ctrl+Space and it will list all the columns in the 'students' table. I could not find this auto-complete feature in MySQL workbench and SQLyog community edition.
Another cool HeidiSQL (and SQLyog) feature is you can browse the rows in a table if you click on the "data" tab. Otherwise you would have to type
SELECT * FROM <tablename>
and if the table is large and you forget to add LIMIT clause, this may take long to run. HeidiSQL automatically limits the number of rows to 1000. Also, when browsing data, you can add filters (equivalent of WHERE clause) and sort options (equivalent of ORDER BY clause).
The one feature that HeidiSQL does not have which SQLyog has is automatic SQL keyword upper-casing as you type your SQL statements.

I use toad http://www.toadsoft.com/toadmysql and the older mysql gui tools http://download.softagency.net/mysql/Downloads/MySQLGUITools/mysql-gui-tools-5.0-r17-win32.msi and sometimes the newer mysql workbench http://dev.mysql.com/downloads/workbench/

SQLyog enterprise edition can be used for using mysql but it is not free.

I think dbForge Studio for MySQL is most like SQL Server Management Studio: http://www.devart.com/dbforge/mysql/studio/

Related

Redgate SQL Prompt equivalent for PostgreSQL database

I'm starting at a new company after coming from a previous role where I could rely on Redgate's SQL Prompt with a MySQL environment. I'm now working with a Postgresql environment (SQL Workbench/J) and was wondering if anyone had come across any similar programs for Postgresql to make the query writing a bit less tedious and time intensive.
I'm aware of the CNTRL + Space option for suggesting columns/tables, hoping for something that automatically prompts.
Thanks!
You can use the dbForge Studio for PostgreSQL software to meet your needs, and this will help you to use this software in accordance with what is in the SQL Prompt program.
I hope the explanation I gave was useful to you.
A full-featured GUI tool for PostgreSQL is pgAdmin.
Among many other useful features, it has a query tool with code completion and suggestion.

RedGate SQL Search Equivalent for Oracle?

I have recently started using Oracle. In last few Years I had used SQL server and used a tool called "RedGate SQL Search" and found
to be very useful while maintaining projects with huge database size.
I need an equivalent tool for Oracle , Anyone having any idea?
I suggest you try PL SQL Developer I have used it too much, I have used RedGate tools also too much, the tool I mentioned for Oracle Database has most of features of "Red Gate SQL Search" for Oracle and in some cases it has some different and better features.

Online databases for trying out Oracle SQL queries? [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 9 years ago.
I am studying for an undergraduate databases course.
I'd like to know if there are any online sites that allow me to do queries against an already built and populated database (with a known schema), so I didn't have to install SQL and populate it with data myself.
I am currently doing some exercises by hand on a workbook I have here, but I'm a bit afraid that I might be doing them wrong and it's hard to check their correctness without testing them against the "real thing".
Thanks
(In our course we are using Oracle)
Have you tried SQLZoo ?
You can (for free) install SQL Server 2008 R2 Express Edition, and download and install already populated databases (such as AdventureWorks2008) from here. Both installs are straight forward.
If you don't want to go far, do try the StackExchange Data Explorer:
About
Stack Exchange Data Explorer allows you to run arbitrary queries on the Stack Exchange public data dumps.
It's fast and supports a SQLServer-like T-SQL syntax.
Give Stack Exchange's Data Explorer a spin.
For Oracle specific queries, you can signup for Oracle's Apex which gives you a pre-populated schema based on the Employees/Departments table
You can easily install MySQL/PostgreSQL/SQL Server Express and get up and running, also whatever test data might be installed on a publicly available server won't necessarily stay the same between queries, since anyone can access it.
So just go ahead and install one of the above, you'll thank yourself in the near future.
Maybe not exactly what you are looking for, by SQLZoo Tutorials allow you to practice some basic interactions, and also allow you to interact with a number of different SQL Engines.
http://sqlzoo.net/
Try out this Interactive SQL site. It looks what are you looking for
You could try installing WAMP Server. This comes with MySQL and a UI of phpMyAdmin that you can use to install and test databases. Then you can install the MySQL test employees database.
For very simple queries, you can try SQL queries online in the W3Schools SQL Try It page - http://www.w3schools.com/sql/sql_tryit.asp
Or you can use the online demo of phpMyAdmin at http://demo.phpmyadmin.net/STABLE/?pma_username=root for deeper use.
Oracle Apex provides online space for you to create and execute your sql queries. Please create an account with Oracle Apex and then enjoy with your personalised tablespace and schema. This is freeware and Oracle doesn't charge anything for this. It is the best way if you don't want to install Oracle on your system and don't want to slow down your system. Another advantage of Oracle Apex is that you have all your tables and data online and you don't have to maintain it, Oracle will do that for you. You can access your database from anywhere you want.

Library of Useful (Difficult) SQL scripts [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.
Does anyone know where I can find a library of common but difficult (out of the ordinary) SQL script examples. I am talking about those examples you cannot find in the documentation but do need very often to accomplish tasks such as finding duplicates etc.
It would be a big time saver to have something like that handy.
EDIT: Thanks everyone, I think this is turning into a great quick reference. The more descriptive the more effective it would be, so please if you see your way open - please edit and add some descriptions of what one could find. Many thanks to those that have already done so!
You may find this wiki on LessThanDot useful, for the most part, it is by Denis Gobo, Microsoft SQL MVP.
EDIT:
The wiki includes 100+ SQL Server Programming Hacks, the list is, I think, too long to include here, however, there is a comprehensive index.
Also available from the same site: SQL Server Admin Hacks.
Here are a few that I find very useful:
SQL Server Best Practices - Microsoft SQL Server White Papers and Best Practices
vyaskn - A mixture of articles From DBA to Developer
Backup, Integrity Check and Index
Optimization
SQLServerCentral Scripts - Scripts for most most DBA tasks and more
Script Repository: SQL Server 2005 - TechNet Script Center
Scripts and Tools for Performance Tuning and Troubleshooting SQL Server 2005
SQL Server Query Processing Team - Hardcore advice from the MS SQL optimisation team
Common Solutions for T-SQL Problems
Davide Mauri's Index Scripts
Some Administration stuff
Glenn Berry: Five Very Useful Index Selection Queries for SQL Server 2005
Find "Missing" Indexes for the entire instance of SQL Server
Find "Missing" Indexes for a single table
Examine the current index structure for a single table
Look at index usage for a single table
Look for possible bad indexes inside the entire current database
Drill into your workload (Bonus)
SQL Server Central: Seven Monitoring Scripts
Failed jobs report
Free space by drive
Disabled jobs
Running jobs
Server role members
Last backup date
SQL Log
And last, but not least this resource: SQL Server Programming Hacks - 100+ List
Joe Celko's SQL Puzzles and Answers
The Art of SQL (slight Oracle bias)
Sql Cookbook has a variety of interesting example, though some will undoubtedly be unsupported by your RDBMS of choice. O'Reilly also has a T-SQL Cookbook, but I've never personally read it.
directly from MS Script Repository: SQL Server 2005:
http://www.microsoft.com/technet/scriptcenter/scripts/sql/sql2005/default.mspx?mfr=true
Nigel's very usefull stuff:
http://www.nigelrivett.net/#TransactSQL
Forgive me for the self-advertising, but I have posted a few on my blog (http://progblog.wordpress.com) because I'm rubbish at SQL and it's a good place to store things I know I'll need in the future :-) If anyone has anything more substantial then please post, I'm as keen as anyone to get hold of something like this!
I would guess that a copy of the "SQL Cookbook" would help too.
I've had some use of these SQL "hacks" for Oracle a couple of times.
Concatenate as grouping function
In query data generation for joining purposes
Here is another link for SQL Server: best practices - dozens of script examples
http://www.sqlusa.com/bestpractices2005/
Check Out SQLCAT.com (MS SQL BEST PRACTICES TEAM)
Riffing off the Celko answer: SQL For Smarties. This has great in depth chapters that will augment the SQL Puzzles book. Also there is another Celko book I just learned of named
Joe Celko's Trees and Hierarchies in SQL for Smarties.

MySQL tools which ease creation of SQL JOIN statements?

Does anyone know tools which look at a MySQL database, show you all the tables graphically and allow you to create complicated JOIN statements via drag-and-drop?
Before you buy anything, see if the free, official MySQL's GUI tools (specifically the MySQL Query Browser) will work for you.
Personally, I'm fairly comfortable interacting with MySQL's command line interface and haven't used their GUI tools very much, but I just downloaded Query Browser and it seems like it does exactly what you're looking for.
Also, check out "Building Queries Visually in MySQL Query Browser" for a nice tour of MySQL Query Browser.
As an update, the MySQL Tools collection is no longer supported, and has been replaced by MySQL Workbench. The documentation can be found here: http://dev.mysql.com/doc/workbench/en/index.html and you can download it here: http://dev.mysql.com/downloads/workbench/
Edit: stumbled across this today too, a good beginner tutorial for mysql workbench -> http://net.tutsplus.com/tutorials/databases/visual-database-creation-with-mysql-workbench/
EMS SQL Manager for MySQL has query constructor. Can't recall about joins, but they should be supported.