Maxed Out

Because the System i can run at redline speed all day long . . .

April 30, 2007

Massively Popular MySQL Open DB Coming to System i

The massively popular MySQL open source database is coming to the System i. IBM has partnered with MySQL AB, a company that boasts 11 million installations of the MySQL database, which is used in both large and small organizations. The company's database products compete with IBM, Oracle, Microsoft, and a handful of open source solutions, so on the surface, this seems like an odd move for IBM — what's wrong with DB2 for i5/OS, anyway?

There's nothing wrong with DB2, but it turns out IBM has a killer answer: DB2 for i5/OS will become a certified MySQL storage engine, which will let you implement online and transactional MySQL applications but store the data in DB2.

Basically, existing DB2-based applications will be be able to access MySQL application data, and existing DB2 data can be accessed by new MySQL applications. Here's a slide that shows the associations.

Here at COMMON, I caught up with Ethan O'Rafferty, who is the director of strategic alliances for MySQL AB, which has headquarters in Sweden and the United States. The guy, as you might imagine, is pretty stoked about the deal — IBM is, after all, going to resell the company's solutions worldwide.

What's really wild is that IBM approached MySQL AB, O'Rafferty noted. IBM's Mike Smith, who is the chief software architect for the System i, apparently got the deal started, and since PHP developers tend to be keen on the MySQL database, the move makes implicit sense.

In the first year of availability, PHP for i5/OS has been downloaded about 5,000 times. IBM System i General Manager Mark Shearer noted in the keynote at COMMON that PHP has been exceptionally popular in Japan, but he didn't get into other specific geographies or details. It's still hard to say how many of those 5,000 downloads represent significant development efforts. (I'll have to catch up with Zend here at COMMON and see if I can get something more definitive out of them.)

In any event, the MySQL move will essentially bring thousands of open source MySQL and PHP applications to the System i, not to mention a whole new set of developers and potential DBAs — see "When Pros Become Cons: The System i DBA."

In addition, there are a lot of sizable companies, including Google and Yahoo! that use MySQL for high-volume business applications, so the potential for solutions isn't limited to dinky little modules.

The PHP and MySQL System i efforts, Shearer noted, is "a great example of us trying to stay relevant with the technologies supported in the System i platform."

Your Thoughts

Here's a couple of questions for the i5 community:

  • Do you have developers using PHP?
  • Do you already have MySQL in use in your organization?
  • Any thoughts on the viability of using a MySQL and PHP stack to head toward the Web? Think it might be easier/better than WebSphere on System i?

Posted by cmaxcer at April 30, 2007 12:05 AM

Comments

We use mostly MS SQL-2000 with some SQL-2005. IBM's DB2 is also important but not as a direct link to the web (we have 2 iSeries computers). This is for major divisions of the County's Online Web-Services.

Other DBs are Oracle and Spillman's Law-enforcement modules on the IBM RS/6000 and are based on DB2 with OLE DB pipelines for moving the data over to the public record and for sharing with other law enforcement jurisdictions.

We are studying other possibilities now that we are moving to V5R4. I have been taking classes for SQL-Server development as well as for DB2-development and the interconnectivity of those ANSI-compliant Data Base systems.

--John deCoville

Posted by: John deCoville at May 1, 2007 1:23 PM

We are currently using Websphere and just beginning to use PHP — we have it and MySQL installed on a V5R2 box and a V5R3 box, and yes, both PHP and MySQL will run under V5R2.

So far, PHP is a lot easier to use, and this should make it even easier, and it doesn't require a box with a lot of memory and CPW.

I see this as great news — the ability to use our existing database, RPG and COBOL skills is always a plus. With so many available applications developed with PHP and MySQL, this should be an excellent way to bring more customers to this awesome machine.

Posted by: David Bauer at May 1, 2007 2:09 PM

This is a great development. The reason you don't want to use DB2 directly is that most canned PHP solutions use MySQL. Who wants to change WordPress or Coppermine or Zen Cart to use DB2? Canned software written in PHP is one of the major reasons to use PHP on an iSeries. Could you write a wiki in WDSc? I guess so, but why would you when there are free pre-written solutions?

Posted by: Vince at May 7, 2007 3:08 PM

Ok, Ok . . . now I got a vertical application on iSeries DB2. Do you mean that I can write the new PHP application on the DB2 database and when the thing is working fine I can start deploying it on a MySQL DB? Wow, this is the "North East" passage I have always been waiting for!

Posted by: Euro at May 9, 2007 10:40 AM

Visit Mantis400.com to see a PHP app that is being converted to run DIRECTLY against DB2/400. This effort is aimed at improving the ADOdb (commonly used) database abstraction layer to better support DB2 - and DB2/400 of course! Note that MANY PHP apps use ADOdb for database access so they do not have to write to specific databases, and can support many without re-coding.

Mantis is a great Help Desk and will be sent on CD for free to registrants. The effort is by Curbstone, IBM, and Zend.

We are documenting the changes that were required to go from MySQL support to DB2/400.

The changes are being submitted to the ADOdb people to better support DB2 across PHP apps in general. This means that a GENERIC PHP app using ADOdb will be able to work directly against the DB2/400 database WITHOUT even having to translate through MySQL syntax.

Either way, DB2 behind ADOdb, or DB2 behind MySQL, we are winners with these developments!

[Note from Chris: This comment got held up in our spam filters, hence the delay from submission to post. I hesitated to make it live as well because of the marketing angle, but ultimately I believe that Ira is making some good points that are worth sharing.]

Posted by: Ira Chandler at May 18, 2007 7:44 AM

Post a comment




Remember Me?

(you may use HTML tags for style)

Chris Maxcer
Blog Feed

September 2008
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        

Blog Policy

We welcome your comments and opinions and encourage lively debate on the issues. However, Penton Media reserves the right to delete or move any content that it may determine, in its sole discretion, violates or may violate its Terms of Use or is otherwise unacceptable. For more information, see Penton Media's Terms of Use.

ProVIP Sponsors