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
OWC: Mercury On-The-Go FW800+USB2 up to 1.0TB. Bus Powered, no external power supply needed. Macworld Editors Choice, CNET Very Good Starting from $99.97, 500GB $159.99. Click here
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: iMac Core Duo, Jan. 2006 - The first Intel-based iMacs ran at 1.83-2.0 GHz, came with 17" and 20" displays.
- Group of the Day: Mac Pro List is for those using a Mac Pro.
- November 22 in LEM history: 99: Gradebooks - 00: Leveraging Apple design - Quadra 630 to Power Mac 5200 - 02: Laptop or desktop? - 04: SuperDuper: Quick, easy, efficient backup - Cross-platform programming for the rest of us - 05: Mac video surveillance on the cheap - Which OS is best for my vintage Mac? - No 'best browser' for the Mac - Sorry state of browsers for classic Macs - 06: Core 2 means cooler running 'Books - 2.0 GHz G4 upgrade
- Support Low End Mac
Recent Content on Low End Mac
- 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.
- 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 #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.
- Replacing the Hard Drive in a Clamshell iBook, John Hatchett, Recycled Computing, 11.19. Yes, it is one of the most difficult Apple notebooks to disassemble and reassemble, but a 10 GB hard drive just will not do.
- IBM Model F: A Great Old Keyboard with an Outdated Layout, Tommy Thomas, Welcome to Macintosh, 11.19. Although it used a different technology than the revered IBM Model M keyboard, the Model F was a great keyboard in its own right.
- Soft Touch Keyboards, Wireless Mouse Options, Loving SeaMonkey 2, and More, Charles W. Moore, Miscellaneous Ramblings, 11.18. Also the future of browsing with PowerPC Macs and the multiple mouse input bug introduced with OS X 10.5.8.
- More links in our archive.
Recent Deals
- Best eMac Deals, 11.18. Used 1 GHz Combo, $100; SuperDrive, $269; 1.25 GHz Combo, $119; SD, $319; 1.42 GHz Combo, $289; SD, $498.
- Best Mac OS X 10.6 and Mac Box Set Deals, 11.18. "Snow Leopard", single user, $25; 5 users, $45; Mac Box Set, single user, $139; 5 users, $180; Server, $414. Shipping included.
- Best Xserve Deals, 11.18. Used 1 GHz dual G4, $649; 2.3 dual G5, $795; 3.0 4-core Xeon, $1,899; refurb 2.26 4-core, $2,499; new, $2,888; refurb 8-core, $2,999; new, $3,449; more.
- Best 15" MacBook Pro Deals, 11.17. Used 1.83 GHz, $750; 2.16, $800; 2.33, $900; refurb 2.4, $1,299; 2.53, $1,449; 2.66, $1,699; 2.8, $1,899; new 2.53, $1,579; 2.66, $1,799; more.
- Best Power Mac G4 and AGP Video Card Deals, 11.17. Used 400 MHz, $50; 933 MHz, $80; 500 dual, $60; 867 dual, $90; 1 GHz dual, $150; 1.25 GHz dual, $225; 1.42 GHz, $499.
- Best Mac OS X 10.5 Deals, 11.17. "Leopard" upgrade, $80; single user license, $135; 5 users, $173; Mac Box Set, 5 users, $230; Server, 10 users, $340; unlimited, $850. Shipping included.
- Best Mac mini Deals, 11.16. Used 1.42 GHz G4 mini, $379; 1.66 GHz Core Solo, $419; 2.0 Core 2, $450; new 2.26 GHz nVidia, $580; 2.53 GHz, $769; Server, $990.
- Best iBook G4 Deals, 11.16. Used 12" 1.07 GHz Combo, $210; 1.33 GHz, $298; 14" 1.33 GHz, $398; 1.42 GHz, $479; SuperDrive, $498.
- Best iPod shuffle Deals, 11.16. Used 1 GB, $35; 4 GB, $65; refurb 1 GB, $39; 2 GB, $59; new 2 GB, $55, 4 GB, $75. New and refurb prices include shipping.
- 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
