Apple Removes MySQL From Lion Server
sfcrazy also noticed that Apple has officially
removed MySQL from Lion Server, opting instead to include PostgreSQL, albeit in command line only form. The article speculates that the change is because MySQL is now Oracle property, and Apple is concerned about IP issues following all the legal issues surrounding Java.
I just wish it was a little more user friendly. That was the one thing MySQL had going for it.. dead simple to use and admin.. and I imagine Apple's frontend probably made it even more so. Postgres isn’t as bad as oracle (by a long shot) but it certainly requires a little background reading to use. MySQL you can pretty much throw on a box and start using right away. This made it insanely newbie friendly (and cheap webhost admin friendly) and is probably the reason it became so prevalent.
For the record I’m no fan of Apple and I think using apple as a server is insane but I actually agree with Apple on this one.
Good choice.
SAMBA (Windows file sharing) in no longer included with OS X Server. This is a mixed blessing, as the version of SAMBA that Apple included was very old--and had a number of bugs and vulnerabilities, but it did make it eash to use the Mac as an sever in a PC environment. Although, I never used the frontend others report that Apple put a slick GUI on SAMBA to make it easier to use.
Instead of supporting SAMBA, Apple is going there own way with a competitive solution. I don't know what license Apple is using for their version of Windows file sharing, nor how compatible (or supported it is).
Last time I looked, there are no pre-built SAMBA downloads for the Mac. Perhaps someone will chime in if this is because no one wants one or it is hard to do.
Why pay Mac premiums for a server? Macs are great for carrying around (my preference) but I'm not sure why I'd put one in a rack.
To be clear, MySQL can be installed on Lion; it's just no longer installed by default.
Well, there's spam egg sausage and spam, that's not got much spam in it.
"The article speculates that the change is because MySQL is now Oracle property, and Apple is concerned about IP issues following all the legal issues surrounding Java"
Okay, but isn't MySQL open source? Are they bothered that Oracle might bring forth a patent war against them? Surely Apple need only point out that these things have existed in MySQL for years before Oracle acquired it..?
Also, couldn't Apple simply say they are supply an open source database for free with the server and therefore get away with it? Or doesn't it work that way?
I'm starting to get really bugged by the number of patent wars flaring up right now. It's like watching a load of spoilt children fighting in a playground about who gets to go on the swings first...
THE HONOUR OF THE KNIGHTS - CC Licensed Sci-Fi Novel
I'm told the main difference between installation of postgres vs mysql is [which package to install]
Is this for one user and one database on a box, or potentially hundreds of databases, one for each hosting customer?
Is it though? Why would you buy an Apple server for open source software that you could install yourself?
Slashdot needs Geekcode | Can anyone recommend any good SCIFI? My tastes: Foundation, Startide Rising, CITY, Ringworld,
The article speculates that the change is because MySQL is now Oracle property
Can't Oracle fix this problem by offering Oracle on mac hardware?
"Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
http://www.djangoapp.com/blog/2011/07/24/installation-of-mysql-server-on-mac-os-x-lion/
1) Download the latest 64-Bit DMG Archive (Apple Disk Image) from MySQL Site (http://dev.mysql.com/downloads/mysql/). Current latest version is 5.5.14 which I’ll be using to install on my machine. /usr/local ) /usr/local/mysql/bin to your path by editing .profile file. (Optionally you can create alias to mysql and mysqladmin as mentioned in README File)
2) Mount the Disk Image (I mean open/double-click the DMG file) and install MySQL server by double-clicking the PKG file (in my case mysql-5.5.14-osx10.6-x86_64.pkg) and follow onscreen instructions. ( It will ask for Master password, as it installs MySQL server in
3) Add
4) You can start MySQL server by running “/usr/local/mysql/bin/mysqld_safe &” from terminal but Disk image you downloaded also consists of Startup Package & Preferences Pane which allows you to start/stop MySQL server from System Preferences and even Automatically Start MySQL Server at Startup.
1% APY, No fees, Online Bank https://captl1.co/2uIErYq Don't let your $$$ sit in a no-interest acct.
First of all, there are no serious apple servers sold at the moment. Second of all, Oracle is currently stopping support for several of it's competitors hardware platforms. I doubt they will add OSX if they just dumped HP-UX.
I was promised a flying car. Where is my flying car?
Oracle seems intent to milk other companies for "passive" revenue instead of continuing to innovate. They've added "lawsuit trolling" to their business model. Congratulations--your company has completed its transformation from industry-dominating innovator to a complete-joke.
Who did what now?
I Prefer postgresql over MySQL myself... However having used both MySQL isn't bad, it is just different... MySQL does have some nice commands that makes doing some rather common actions much easier. But Postgresql has a lot more raw power, and customization. I have worked with people who are Die Hard MySQL Fans and you hear complaining when using Postgresql that it doesn't do this or it doesn't do that, and I need to write a stored function to do this...
A big one that is popular is the Replace INTO command in MySQL where it works as both as an Insert or an Update. You can make fare arguments against it, but there are a lot of cases where the REPLACE INTO feature is really nice. And not having to make your own is useful.
If something is so important that you feel the need to post it on the internet... It probably isn't that important.
Elephant puts Lion in its place.
They heard about the new trend for no SQL
Korma: Good
I don't think this is about Oracle. It's more likely security and licensing as some posters have mentioned above. Steve Jobs and Larry Ellison are big buddies and I doubt Apple is worried about lawsuits from Oracle over Oracle's free software product.
http://mariadb.org/ - I watched a google tech talk on this. Looks quite good. Might be worth a look for those who would like to remain in familiar territory but not have to worry about Oracle.
MySQL is dead! Long live MariaDB!
And it's going to be magical!
I'm one of the people who might give Lion Server a try.... but here's the thing. I'm *not* talking about using it in a corporate setting. I'm simply one of those enthusiasts/power users/whatever label you prefer who has a LAN at home of 6 or 7 machines, and I've got a small computer-related business of my own that I run, as well as working in I.T. as my day job. I've already got a Mac Pro tower I've been using for years in several server functions. (I have my own ftp site, as well as it acting as my media server.) With an upgrade from Lion to Lion server as inexpensive as it is to buy/download now, it's not a big deal to purchase a copy just to play around with it. I don't run my own mail server at home yet, but it's something I might tinker with, especially with the capability being an integral part of Lion Server already. It'd potentially give me a lot more control over junk mail coming in, for one thing.
I think Apple is focusing the Lion Server product on folks like me, right now, as well as those who already standardized on the Mac for a workgroup or small business. If all of your workstations run OS X in the first place, why not put the same thing on the back end too? Most of these scenarios are places where they don't need rack-mount gear anyway. (EG. A big dentist's office by me where they all use Macs. The server is a tower they stuck in a small coat closet.)
"REPLACE INTO" is NOT insert/update. it is insert and delete if there's a duplicate.
http://dev.mysql.com/doc/refman/5.6/en/replace.html
If you want insert/update on mysql you use this: http://dev.mysql.com/doc/refman/5.6/en/insert-on-duplicate.html
There is a difference between updating if there's a duplicate and deleting and inserting if there's a duplicate. The differences might cause pain :).
The Postgresql bunch appear to be working on implementing MERGE instead:
http://wiki.postgresql.org/wiki/SQL_MERGE
Apple cut off what ever balls OS X server had in lion. Many (my self included) used OS X server in larger environments, lion is now clearly targeted at people with small businesses. Want proof? Look at the tools they shipped with Lion Server, look at the hardware they ship now. If they had fixed the issues with OS X server it would have been a great product but instead it was always pledged with a buggy directory that would keel over if the wind blew the wrong way and OS X not picking up preferences (that got really bad in 10.6). Because of this many are now ditching OS X servers for mac OD integration (where I BOFH is). Makes me kinda sad really, OS X server could have been an amazing product, but apple didn't care so it rotted and is now basically dying.
brickspeed.net for your old Volvo performance addiction
It's only conjecture, mind you, but it's also a definite possibility that when the next revision of the Mac Pro arrives (should be around the September 2011 time-frame), Apple will redesign the case so you can actually flip it on its side and rack-mount it. It's *almost* doable right now, except the case has those arched "handles" on the top and bottom that aren't removable and it's not exactly the right height for a perfect fit. It wouldn't be hard to design it with optional rack rails you could attach to the top and bottom, swapping out removable handles, and making sure it has the appropriate case dimensions to span the width of a rack perfectly.
That would make a lot of sense from their point-of-view. No more need to maintain a product that's a relatively poor/slow seller, while allowing flexibility for Pro users to run the towers as servers in rack installations, where applicable.
compared to licensed closed-source software. Price a Microsoft back-office solution some time - the cheaper hardware is quickly swamped by the per-user fees for the software.
Aren't you just annoyed that Apple (of all companies) has found a way to make money off supporting open-source software?
Granted, by bundling it with their hardware...
To a Lisp hacker, XML is S-expressions in drag.
but you can make a single piece of code that does that (or update on insert) for any DBMS, and never worry about it again. I'm not seeing the issue.
what happens if mariaDB implements something simliar to what Oracle has offers under different license, then Oracle says that thing infringes its IP? I think anything related to or forked from Oracle wares should be shunned and marginalized.
That would be a good idea. At 8.1 inches, the Mac Pro is less than 5U. If they could get it to where the handles could be interchangeable with rack mounts and slightly shorten the chassis, it would fit. The only two things that may need addressing is the cooling and a 2nd power supply. The cooling only because I don't know how well a Mac Pro will do in an enclosure. Normal air flow is front to back. The 2nd power supply might be more of a nice feature than absolute necessity.
Well, there's spam egg sausage and spam, that's not got much spam in it.
Slow down, so a 4U case is better than a 1U case in a rack? I'll take the 1U over that 4U option any day. Scratch that, I'll take a more powerful 1U Dell for 1/5 of the price of that Mac.
Kriston
This just in, MySQL is still free / open source and you can install it if you want.
A more appropriate headline would have been "Postgres becomes default OS X Server database"
Where in the world are you getting a Dell 1U server for 1/5 the price of a Mac Pro. The cheapest I could find is $585 on sale with dual core Pentium and 1 GB of memory and 250GB of disk space. The normal price is like $800 for that rack. I don't know about you but I hardly find that more powerful than a Quad core Xeon with 3GB RAM and 1TB HDD unless you want to redefine "more powerful" to mean "less powerful".
Well, there's spam egg sausage and spam, that's not got much spam in it.
Wow! I didn't know either of those existed, and in recent weeks I've needed the functionality of both. I of course managed with longer workarounds, but those will be handy.
That's the problem with being self-taught, sometimes you don't know useful things are out there, and even when you suspect they are out there, sometimes it's difficult to find them.
The Quirkz Handbook of Self-Improvement for People Who Are Already Pretty Okay
I've seen lots of people try it but do it wrong. They do a select, then insert if the row doesn't exist, update if it does. But if the row doesn't exist and something else tries the same thing at about the same time, both will correctly think the row doesn't exist and both will try to insert.
A constraint on the table it could prevent both inserts from succeeding and only allow one to succeed while raising an error with the other, but I personally prefer that such a DB error is avoided. DB errors can cause transactions to be rolled back, and create more work/problems.
As Donald Rumsfeld said:
There are known knowns; there are things we know we know.
We also know there are known unknowns; that is to say we know there are some things we do not know.
But there are also unknown unknowns - the ones we don't know we don't know.
Again, I'm not suggesting that Enterprise uses of PC rack-mount hardware should consider a switch to Mac Pros if they fit in 4U of rack space!
I'm simply saying that realistically, most people considering a Mac as their server are already an all-Mac shop, or at least have an all-Mac department. In these situations, you're not typically worried about packing as many servers as possible into a given amount of rack space. A single Mac Pro server is probably all they'd ever want to rack mount for a departmental server (plus a disk storage cabinet, perhaps, like a Promise V-Trak or something).
The 1U XServes simply weren't selling well, and I think it's largely for my reason above. They were never price-competitive with 1U Linux servers out there, and Windows shops certainly wouldn't bother to take notice of them, since they ship with OS X on them, not Windows Server. They served a niche purpose, which is further whittled away at by facilities that get by just fine rack-mounting groups of Mac Minis with special mounting kits and places that don't want/need to rack mount their server equipment in the first place.
OS X Lion Server does have a few interesting niche capabilities, BTW, that justify using it. For example, it easily functions as a document interchange server for iOS devices (iPad or iPhone running Apple iWork suite, for example), so those users have a network location to load/save documents. It also has a podcast server built in, and can function as the Mac equivalent of Active Directory (even supplementing an existing Microsoft Active Directory server in what Apple calls "Golden Triangle" mode, so it will handle only the Mac-specific directory info that AD doesn't deal with itself).
http://www.postgresql.org/docs/8.2/static/sql-set-constraints.html
START TRANSACTION;
SET CONSTRAINTS ALL DEFERRED;
INSERT INTO a (id, bid) VALUES(1,2);
INSERT INTO b (id, aid) VALUES(2,1);
COMMIT;
Does MySQL support this? Last time I checked (5.1.something?), it did not.
I've heard that from about 5 different sources, none of them Rumsfeld, though. Wise words, whoever first made them up.
The Quirkz Handbook of Self-Improvement for People Who Are Already Pretty Okay
Many may anticipate the iSqueal fork, hoping it will conveniently be available via the crApp store...
... and it will be, as soon as Emperor Jobs figures rewrites the laws of math, discovering a new (and certainly non-Euclidean) equation wherein FREE * 30% > $0
The least expensive Mac Pro is a quad-core 3 GB, 1 TB at $2,499.00 without shipping.
I'm thinking of the quad-core 3GB 1TB Dell R410, which is, okay, a little over 1/3 the price, not 1/5 the price. It's still significant enough for someone concerned with using up space in the rack with an over large, overpriced Mac systems. I don't know why you felt comparing it to a dual-core Pentium is relevant unless you took my hyperbolic statement to fact.
Kriston
My point is your claim that a Dell 1U is 1/5 the price of a Mac Pro yet more powerful is grossly exaggerating where it might be considered a lie. Your 1/3 3GB 1TB Dell R140 is using a slower, cheaper 2.0GHz Xeon E5503, and a 250GB HDD to achieve that price. If you upgrade only the processor, RAM, and HDD to match the MacPro your Dell it is $2389 with a discount from Dell. Is the performance difference between an Intel Xeon W3530 and an Intel Xeon E5503 worth the price difference? That's for you decide but Dell will charge you more presumably because Intel charges more for the performance upgrade. So Apple charging you more isn't some evil plot by Steve Jobs and Co to rob you of your money. Yes, you can get a Dell cheaper than a MacPro but "more powerful" isn't really debatable in this case. It isn't.
Well, there's spam egg sausage and spam, that's not got much spam in it.
I can scour the Dell catalog and find a much less expensive 1U system with the same performance as that 4U system but I'm not doing that to debate some name-caller on Slashdot. The 4U system is unnecessarily large which is the bulk of my argument.
You need to look up the word "hyperbole" in a dictionary and learn to not call a fellow poster a liar.
Thanks for playing. Your response won't be read.
Kriston
Your resort to "it's hyperbolic" only comes after someone points out that what you said isn't exactly true. Then you keep insinuating that you can get a cheaper and more powerful 1U which was your original point to begin with. Yes you can get cheaper but it's not guaranteed to be more powerful. That's like me saying that no one should every buy discrete graphics cards. Built-in graphics are 10X more powerful and 1/10 the price. That's not necessarily true. I know it. You know it.
Well, there's spam egg sausage and spam, that's not got much spam in it.