Low End Mac Reader Specials
TypeStyler For Mac OS X is Now Shipping! Download The Free Fully Functional 60 Day Tryout at www.typestyler.com
Don't install Parallels to play poker online! Poker Mac will show you how
to download and install a native Mac poker application such as Full
Tilt Poker Mac.
Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.
Compare products like desktop computers, apple laptops, apple macs, and LCD Monitors side by side! All the information and reviews to make the best purchasing decision for new mobile phones, sat nav systems, or MP3 players. The Ciao online shopping community makes searching products easy for you.
MySQL and PostgreSQL: Two Free Relational Databases for OS X Users
- 2006.03.15
Most of us remember the days when Mac databases pretty much meant one thing: FileMaker Pro. Based on technology that Apple acquired from Nashoba Systems in the late 1980s when they purchased FileMaker, Apple's Claris software division released FileMaker Pro 1.0 in 1990.
FileMaker Pro's very Mac-like interface, striking a near perfect balance between ease-of-use and power, made it an instant standard.
Big SQL database servers were pretty much the realm of other platforms in that era. There were very few options for running a relational database on your Mac.
FileMaker gained relational capabilities with version 3.0 in 1995, but as many database purists have noted over the years, the ability to reference another database is not the same as having a truly relational, multi-table database.
As of version 8, FileMaker ships a truly relational database with the ability to create multiple tables in one database. But not everyone can shell out close to $300 for a copy - or will want to when there are free alternatives.
Free SQL Alternatives to FileMaker Pro
The move to the Unix-based OS X brought a lot of new database options to the Mac. Popular open source relational databases like MySQL and PostgreSQL can run happily in the background on your Mac. While FileMaker has a nice GUI and the open source databases are inherently command-line applications, there are some nice GUI clients that ease you into the world of SQL if you are new to it.
Would the average Mac user decide to eschew the comfortable GUI ease of FileMaker for a more challenging Unix-based program? This being Low End Mac, I think most of our readers appreciate free software like MySQL or PostgreSQL. FileMaker is far from cheap, much less free.
Learning MySQL or PostgreSQL might take a little more effort, but part of the fun of maximizing the usefulness of your low-end hardware is pushing yourself a little farther and learning something new.
MySQL or PostgeSQL?
I think the real question boils down to this: Should the average Mac user go for MySQL or PostgreSQL?
In the realm of computer holy wars, this can be a particular nasty one.
PostgreSQL fans seem to thrive on pointing out the features that MySQL lacks. While true transactional support, true foreign key constraints, and schemas are nice, we're generally talking about setting up a small, personal database server. The average home user will never need to know what these terms mean, much less utilize these features.
This is not meant to imply that MySQL isn't capable of carrying a heavy load, especially on the Web. Along with PHP, it's one half of the "dynamic duo" that powers many database-driven websites, including Yahoo!, Amazon, Wikipedia, and Slashdot. [And, to an increasing extent, Low End Mac. ed]
If it's good enough for those guys, it's good enough for the vast majority of database needs.
In PostgreSQL's favor, it does an amazing job of replicating the features of extremely high-end databases. If you've ever worked with Oracle or a similar high-end database, you'll feel right at home. You'll notice that there's hardly an enterprise-class feature that's missing.
That said, I'm a fan of both. Both MySQL 5 and PostgreSQL 8 run on my PowerBook. They both use few resources while running in the background, and they're both configured out of the box to only accept connections from the local machine, so there's minimal security risk in running them on my laptop.
There are normal OS X package installers available for both, so there are no worries about getting them up and running.
But Which One?
If I had to recommend one or the other for the Mac user who wants to dip his feet in to the world of relational databases, I'd go with MySQL for a couple of reasons.
First, MySQL is very popular - the world's most popular open source database, according to its makers. Googling for "mysql" or "php mysql" will bring you a ton of resources, whether you're just getting started or want to do advanced tasks.
You might even run across a fine series of articles that Dan Knight wrote about PHP and MySQL here on Low End Mac a few years ago as he was transitioning the site from static HTML pages to dynamically generated pages.
In short, that popularity means that it's very easy to find help for MySQL or just learn new tricks when you're so inclined.
Second, there are some really nice graphical front-ends out there for MySQL. Perhaps the most popular is the web-based PHPMyAdmin, and MySQL offers two nice tools (Administrator and Query Browser) that run equally well on Mac, Linux, and Windows.
But the slickest
MySQL front end you will find is Mac-only, the wonderful CocoaMySQL. Developed in XCode
as a fully native OS X app, CocoaMySQL provides an easy, intuitive
GUI for creating databases, tables, managing data, and running your own
custom queries.
It's also a great learning tool, thanks to its Console feature. Just click the Console button to open a drawer that shows the exact SQL commands sent to the server. By using this GUI tool, you can actually prep yourself for performing the same tasks at the command line.
PostgreSQL's greatest asset is its enterprise-class strength. It's basically an open-source replication of extremely high-end databases and will appeal to the geekiest of database administrators.
Postgre also integrates with PHP, and there a few nice GUI tools out there, although none match the polish of any of the MySQL tools. There's a Mac-only tool called PGnJ that is promising, but it doesn't live up to the standard that CocoaMySQL sets.
Some things in Postgre are just done easier from the command line, and that doesn't bode well for someone just getting started with SQL.
So while Postgre is a wonderful option for anyone who's so inclined, I have to give the edge to MySQL because of its widespread popularity and the nice graphical tools that help you learn as you go.
We live in good times for free, powerful database software on the
Mac. While FileMaker will probably always be easier for the database
newbie, those who appreciate a good bargain and don't mind learning a
few new tricks will certainly enjoy learning SQL on their Mac.
- Link: FileMaker
Pro
- Link: FileMaker, Wikipedia
- Link: MySQL
- Link: PostgreSQL
- Link: Using PHP and MySQL, Dan Knight, Online Tech Journal
- Link: PHPMyAdmin
- Link: CocoaMySQL
- Link: PGnJ
Recent Plays Well with Others articles
- End of G4 models points to unprecedented value for used G4 Macs, 06.02. The PowerPC G4 may no longer have a place in Apple's product line, but that's a far cry from saying G4-based Macs are obsolete. If anything, there value is going to increase.
- X11: Your window for using Unix apps on the Mac, 05.17. Mac OS X is a Unix variant. X11 is the tool that lets you access Unix applications using a graphical interface with mouse support.
- 6 extensions to make Firefox even better, 03.29. Improve Firefox with everything from web developer tools to nuking unwanted ads, from faster page loads to knowing the weather.
- Intel Mac mini confounds market with higher price, 03.23. After the raging success of the $499 Mac mini, why did Apple feel a need to move away from the entry-level market by making the Intel Mac mini more expensive?
- More in the Plays Well with Others index.
Links for the Day
- Mac of the Day: 17" MacBook Pro Core Duo, Apr. 2006 - The top-end MacBook Pro includes a 1680 x 1050, 2.16 GHz Core Duo CPU, and supports Apple 30" Cinema Display.
- Group of the Day: G4 List is for those using Power Mac G4s or G4 upgrades.
- Support Low End Mac
Recent Content on Low End Mac
- Pismo WiFi Networking Issue Finally Solved?, Charles W. Moore, Miscellaneous Ramblings, 11.24. It turns out the problems wasn't the Pismo, the Buffalo WiFi card, or Mac OS X 10.4. It was the Wireless G router - Linksys to the rescue!
- Mini VGA to S-video Adapter a No Go for eMacs, Dan Bashur, Apple, Tech, and Gaming, 11.24. You might think that Apple's Mini VGA S-video adapter is a cheap way to connect your eMac or G4 iMac to your TV. You would be wrong.
- Google Calendar with iPhone or iTouch Is Great for Scheduling, John Hatchett, Recycled Computing, 11.24. Web-based Google Calendar allows access and updates from any computing platform, including Mac, Windows, Linux, and iPhone OS.
- Why Spaces is My Favorite Leopard (and Snow Leopard) Feature, Charles W. Moore, Miscellaneous Ramblings, 11.23. Spaces, a feature introduced with OS X 10.5, is like having several monitors on your Mac without the cost and space of using multiple displays.
- i5 iMac Benchmarked, Mac mini 'Shouldn't Be Overlooked', Twitter Client for Classic Mac OS, and More, Mac News Review, 11.20. Also why Apple leaves the low end to others, 10.6.2 fixes video playback problem in 27" iMac, 3D Leopard and Snow Leopard performance, and more.
- Apple's Tablet an End Run Beyond Netbooks, Frank Fox, Stop the Noiz, 11.20. Whatever Apple has planned will leverage existing technologies while going beyond what its competitors can offer.
- Apple #4 in Reliability, Apple Tablet a Gadget for All?, HP's i7 Notebook Outdoes Mac Rivals, and More, The 'Book Review, 11.20. Also Flash 10.1 improves video on Hackintosh netbooks, thin-and-light notebooks impress, Windows XP finally on the way out, and more.
- NASA Chemical Sensor for iPhone, Smartphone Death Match, iPhone Earrings, and More, Ian R Campbell, 11.20. Also mobile phone dangers, new apps, GPS solution for iPod touch, new iPod and iPhone cases, and more.
- More links in our archive.
Recent Deals
- Best iPod nano Deals, 11.25. Refurb 8 GB 4G nano, $99; new, $126; refurb 16 GB, $129; new, $150; new 5G/8 GB, $134.60; 16 GB, $161.12. Shipping included.
- Best Classic Mac OS Deals, 11.25. System 6.0.8 floppies, $10; 7.1, $12; 7.5, $20; 7.6 $13; 8.1, $11; 8.5, $20; 8.6, $90; 9.0, $20; 9.2.2, $30.
- Best 15" PowerBook G4 Deals, 11.25. Used 1 GHz Combo, $400; 1.5 GHz SuperDrive, $449; 1.67 GHz hi-res, $600.
- Best G4 iMac Deals, 11.24. Used 15" 700 MHz CD-RW, $150; 800 MHz Combo, $229; 1 GHz, $289; 17" 1.25 GHz, $200; 20" 1.25 GHz, $509.
- Best MacBook Air Deals, 11.24. Used from $899; refurb from $1,099; new 1.6 GHz/120 HD, $1,150 after rebate; 1.8/64 SSD, $1,150 a/r; 1.86/128 SSD, $1,350 a/r; 2.13/128 SSD, $1,694 a/r.
- Best PowerBook G3 Deals, 11.24. Used 233 MHz WallStreet, $75; 266 MHz, $160; 400 MHz Lombard, $199; 400 MHz Pismo, $289; 500 MHz, $350.
- Best 12" PowerBook G4 Deals, 11.23. Used 867 MHz SuperDrive, $348; 1 GHz Combo, $379; SD, $519; 1.33 GHz, $529; 1.5 GHz Combo, $549; SuperDrive, $609.
- Best Mac Pro Deals, 11.23. Used 2.66 GHz 4-core, $1,300; 3.0 4-core. $1,919; refurb 2.66 4-core Nehalem, $2,149; 2.93, $2,549; 2.93 8-core, $4,999; new 2.26 8-core, $2,290.
- Best Time Capsule and AirPort Deals, 11.23. Used 802.11g AirPort Extreme, $49; 500 GB Time Capsule, $150; new, $190; 1 TB dual-band, $280; 2 TB, $469; 802.11n AirPort Extreme, $170.
- More deals in our archive.
About LEM | Support | Usage | Privacy | Contacts
Navigation
Used Mac Dealers
Apple History
Video Cards
Email Lists
Favorite Sites
MacSurfer
MacMinute
MacInTouch
MyAppleMenu
InfoMac
Macs Only!
The Mac Observer
Accelerate Your Mac
RetroMacCast
PB Central
MacWindows
The Vintage Mac
Museum
DealMac
DealsOnTheWeb
Mac2Sell
ramseeker
Mac Driver Museum
JAG's House
System
6 Heaven
System 7 Today
the pickle's Low-End
Mac FAQ
Abandonware
Petition
Mac vs. PC Info
Affiliates
The Apple
Store
Mac
Connection
B&H
MacMall
TechRestore
ExperCom
Crucial
Memory
batteries.com
Advertise
MacMinute
MacInTouch
MyAppleMenu
InfoMac
Macs Only!
The Mac Observer
Accelerate Your Mac
RetroMacCast
PB Central
MacWindows
The Vintage Mac
Museum
DealMac
DealsOnTheWeb
Mac2Sell
ramseeker
Mac Driver Museum
JAG's House
System 6 Heaven
System 7 Today
the pickle's Low-End
Mac FAQ
Abandonware
Petition
Mac vs. PC Info
Mac Connection
B&H
MacMall
TechRestore
ExperCom
Crucial Memory
batteries.com
