Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Applications / Mac Applications / May 2007



Tip: Looking for answers? Try searching our database.

What are the good SQL Applications for OS X?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gimme_this_gimme_that@yahoo.com - 29 May 2007 05:55 GMT
I'm looking for an application like TOAD or AQT on Windows, but not
Squirrel.

I'm connecting to MySQL.

Any suggestions?

Thanks in advance.
SSS - 29 May 2007 06:17 GMT
> I'm looking for an application like TOAD or AQT on Windows, but not
> Squirrel.
[quoted text clipped - 4 lines]
>
> Thanks in advance.

Aqua Data Studio - http://www.aquafold.com/

if it's just for MySQL then maybe CocoaMySql
http://cocoamysql.sourceforge.net/
MegaDave - 29 May 2007 06:41 GMT
> if it's just for MySQL then maybe CocoaMySql
> http://cocoamysql.sourceforge.net/

Hey thanks for that.. I've been looking for one for MySQL...

Signature

The System Has Failed

gimme_this_gimme_that@yahoo.com - 29 May 2007 08:15 GMT
I'm not connecting to my database from cocoamysql

I've tried localhost, 127.0.01, (and my IP address) with the normal
username and password.

I connect to mysql easily from the command line using the following
syntax:

mysql -u myname -p

And I can log in as both a normal user and as root.

But cocamysql baulks and says:

Connection failed!
Unable to connect to host 127.0.0.1
Be sure that the address is correct tand that you have the necessary
privileges.

Any ideas?
SSS - 29 May 2007 11:28 GMT
> I'm not connecting to my database from cocoamysql
>
[quoted text clipped - 16 lines]
>
> Any ideas?

Sorry, those 3 host directives work for me. I don't really use the tool,
just wandered upon it in my travels.  ADS has been my app of choice
dealing with PostgreSQL in my recent work.

I think these are my first few posts in this group, or on usenet in
general for ages. Any decent WebObjects groups on the usenet?
Wayne C. Morris - 29 May 2007 18:27 GMT
In article <1180422913.385929.189710@n15g2000prd.googlegroups.com>,
"gimme_this_gimme_that@yahoo.com" <gimme_this_gimme_that@yahoo.com>
wrote:

> I'm not connecting to my database from cocoamysql
>
[quoted text clipped - 16 lines]
>
> Any ideas?

What versions of MySQL and CocoaMySQL are you using?  CocoaMySQL 0.5 can't
connect to versions of MySQL newer than 4.1 because of the new password
enryption.  The beta version supposedly fixes this, but may have other bugs.

Another possibility is that you've disabled TCP/IP connections with the
MySQL daemon's skip-networking option, either on the mysqld command line or
in a configuration file.  Or you may have configured MySQL to use a
different port number.

The CocoaMySQL FAQ mentions a few other possibilities.  When you read it,
note that any TCP/IP connection is treated as a "remote connection", even
if it's on the same machine.  <http://cocoamysql.sourceforge.net/faq.php>.
gimme_this_gimme_that@yahoo.com - 29 May 2007 19:05 GMT
Thanks Wayne.

I'm using MySql 5.1.

And thanks for the tip on the TCP/IP thing. I'll look into it.
AES - 29 May 2007 19:23 GMT
Would any of the SQL experts responding to this thread want to write up
a quick couple-of-screens tutorial on "What are (or is) SQL?" (actually,
I sort of know what SQL is), and what free or not too expensive (and
easily installable) applications are available for practicing SQL on a
Mac?

My reason for asking is that I use the EndNote bibliographic
application; I recently learned from someone that its database is
apparently SQL-based or SQL-compatible and can be accessed and edited
using SQL apps; and there's some editing of my personal database that I
might like to do that's not easily done from within EndNote.
Frank - 29 May 2007 22:15 GMT
> Would any of the SQL experts responding to this thread want to write up
> a quick couple-of-screens tutorial on "What are (or is) SQL?" (actually,
[quoted text clipped - 7 lines]
> using SQL apps; and there's some editing of my personal database that I
> might like to do that's not easily done from within EndNote.

AES,

Hard to beat NeoOffice or OO.o.  You can mess around all day with data
tables, queries, merges, da works.  However, to answer your question in a
couple of lines rather than the detailed couple of pages you seek - the
Web's got to be filthy with SQL tutorials - Structured Query Language is a
set of commands and a syntax for stringing them together to return the
desired information.

In it's simplest form, it can be quite easy - in fact there are SQL
booklets that are very short.  It's sort of like HTML where a small
instruction set and some simple rules of syntax can built the most complex
site you can envision:

Select a-field-name from a-table-name

will return the values found in all rows of the table for that column.

You can add a Where at the end and a characteristic-to-look-for and only
things matching that will be returned in the dataset.

You can add an Order By at the end and a field-to-sort-by, and even an ASC
or DSC to sort the results ascending or descending by the specified field.

You can use * in place of the a-field-name in the first example to return
all columns.

And...so much more.  However, it's well organized and intuitive, once
you have a list of commands in front of you, and can be put right to work
in short order.

Finally, it's also easy to put this stuff in a Web page to support keeping
page data in a database, structure in the Web page, and style formatting
in a .css file.  All you need is PHP and, again, a basic knowledge of the
commands and syntax.

Anyone who has looked at C and not lost consciousness can get up to speed
on this quickly too.  A very small number of command lines and structures
can do a lot of work and can be used in many places over and over.

Frank
Frank - 30 May 2007 05:09 GMT
>> Would any of the SQL experts responding to this thread want to write up
>> a quick couple-of-screens tutorial on "What are (or is) SQL?" (actually,
<snip?
> AES,
>
> Hard to beat NeoOffice or OO.o.  You can mess around all day with data
> tables, queries, merges, da works.<snip>
> Frank

Sorry for the quick follow-on, but I didn't make clear that NeoOffice and
OO.o can access MySQL databases remarkably easily.  I was suggesting that
as a fun sandbox to play in.

Frank
Jochem Huhmann - 29 May 2007 22:15 GMT
> Would any of the SQL experts responding to this thread want to write up
> a quick couple-of-screens tutorial on "What are (or is) SQL?" (actually,
> I sort of know what SQL is), and what free or not too expensive (and
> easily installable) applications are available for practicing SQL on a
> Mac?

You really can't expect someone to write an essay on that... either it
will be too simple and misleading or plain wrong and anyway too cheap.
This is one of those things that are actually easy (SQL was invented to
allow any silly operator to access a database from her terminal and in
the prime days of databases this was just basic knowledge like
touch-typing) but in practice suffers from many vendor-specific
additions. And database design *can* be a challenge. But keep in mind
that the basic idea is still the same old simple thing: Have a standard
language to express queries to a database. Most things are *very*
straight and easy with SQL.

CocoaMySql is a nice frontend to MySQL, which is a database server (a
quite standard one) you have to install. Another way to learn SQL basics
is SQLite, which comes installed with OS X. You can use the sqlite3
utility in the terminal (type "man sqlite3" in the shell) to create
databases and tables and play with them. Note though that SQL is highly
non-standard (every database comes with extensions and special features
and different ways to implement them), so you will only get a basic grip
on it and you'll have to dive into long docs to understand the features
and additions of particular database software. This is just boring work,
though.

> My reason for asking is that I use the EndNote bibliographic
> application; I recently learned from someone that its database is
> apparently SQL-based or SQL-compatible and can be accessed and edited
> using SQL apps; and there's some editing of my personal database that I
> might like to do that's not easily done from within EndNote.

What kind of engine does it use? How do you access it? These are the
first things you should find out.

       Jochem

Signature

"A designer knows he has arrived at perfection not when there is no
longer anything to add, but when there is no longer anything to take away."
- Antoine de Saint-Exupery

Paul Mitchum - 30 May 2007 00:50 GMT
> Would any of the SQL experts responding to this thread want to write up
> a quick couple-of-screens tutorial on "What are (or is) SQL?" (actually,
> I sort of know what SQL is), and what free or not too expensive (and
> easily installable) applications are available for practicing SQL on a
> Mac?

Depending on which version of Mac OS X you're running, you could do
worse than open a Terminal window and type 'man sqlite3'. It's official
on Tiger, but present on previous versions.

SQLite is an open-source, cross-platform, minimal SQL database system
that is used internally by Mac OS X.

> My reason for asking is that I use the EndNote bibliographic
> application; I recently learned from someone that its database is
> apparently SQL-based or SQL-compatible and can be accessed and edited
> using SQL apps; and there's some editing of my personal database that I
> might like to do that's not easily done from within EndNote.

So try it out under sqlite3. Work on a backup, and do a 'sqlite3
path/to/your/database' and see if it works. On a backup. Did I mention
you should work on a backup? :-)

Signature

http://www.xoverboard.com/cartoons/2007/070416_argument.html

Frank - 29 May 2007 22:04 GMT
> I'm not connecting to my database from cocoamysql
>
[quoted text clipped - 16 lines]
>
> Any ideas?

Sure, is your Web server running?  Do you have the MySQL module, and for
that matter the PHP module loaded?

Frank
André Berger - 29 May 2007 08:30 GMT
* gimme_this_gimme_that@yahoo.com (2007-05-29):
> I'm looking for an application like TOAD or AQT on Windows, but not
> Squirrel.

Don't know any of these

> I'm connecting to MySQL.

I'm a big fan of TkSQL <http://www.tksql.org> (and TkSQLite
<http://reddog.s35.xrea.com/wiki/TkSQLite.html>, but you didn't ask
for it). Not a fan of the looks, but a fan of the functionality.

-André

Signature

May as well be hung for a sheep as a lamb!
Linux Kernel 2.6/PPC for Linkstation/KuroBox/HG/HS from http://hvkls.dyndns.org

gimme_this_gimme_that@yahoo.com - 29 May 2007 09:00 GMT
This looks like a set of tools I'd like but the install looks for a
libmysql.dylib file which I don't have

I do have a clean install of Tk/Tcl and it works great with various
Perl modules ...

If you have a suggestion on now to tell the configuration process to
look for dot a files (or something aside from a dot dylib file) let me
know.

Thanks.
André Berger - 29 May 2007 10:19 GMT
* gimme_this_gimme_that@yahoo.com (2007-05-29):
> This looks like a set of tools I'd like but the install looks for a
> libmysql.dylib file which I don't have

Sorry (actually: not sorry), don't do MySQL here.

> I do have a clean install of Tk/Tcl and it works great with various
> Perl modules ...
>
> If you have a suggestion on now to tell the configuration process to
> look for dot a files (or something aside from a dot dylib file) let me
> know.

Are you talking about the configuration of tksql? Edit ~/.tksqlrc

-André

Signature

Our OS who art in CPU
UNIX be thy name
Thy programs run, thy syscalls done
In kernel as it is in user

gimme_this_gimme_that@yahoo.com - 29 May 2007 15:45 GMT
No. mysqltcl-3.03 is looking for libmysqlclient.dylib which doesn't
exist for OS X.

checking for mysql header... yes
checking for libmysqlclient lib... configure: error: Cannot find
libmysqlclient.dylib in /usr/local/mysql-5.1.12-beta-osx10.4-i686/lib
use --with-mysql-lib=?

> Are you talking about the configuration of tksql? Edit ~/.tksqlrc
Frank - 29 May 2007 22:01 GMT
> I'm looking for an application like TOAD or AQT on Windows, but not
> Squirrel.
[quoted text clipped - 4 lines]
>
> Thanks in advance.

Gimmie,

Don't know what those apps are - providing a brief comment on what you are
trying to do would help - but NeoOffice or OO.o can connect to a MySQL
backend for all kinds of interesting purposes.

If you're looking for administrative clients, check out their Web site,
but if you've got a Web server and PHP running (MAMP is a real time-saver,
dropping the whole wad on your system in a single plunk) you can use
phpMyAdmin.  This is a full featured application that's undergone regular
development.

I come from the F/OSS world, so it's often the place I turn to make the
Mac jump.

Frank
J - 01 Jun 2007 00:17 GMT
> I'm looking for an application like TOAD or AQT on Windows, but not
> Squirrel.
[quoted text clipped - 4 lines]
>
> Thanks in advance.

SQL Grinder

Signature

J
"If there is anything I can do for you or more to the point to you, let
me know."

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.