View Full Version : Why did they deprecate MySQL and write a whole new language

04-17-2013, 04:31 AM
Why did they deprecate MySQL and write a whole new language so everyone has to start over again like a f*ing newbie.

other than the alleged "security vulnerabilities"

Kind of like, why the hell does facebook keeps updating their layout when NO ONE WANTS IT CHANGED. I stopped using facebook entirely when they changed to the timeline.

04-17-2013, 09:09 AM
Why did they deprecate MySQL and write a whole new language

How is adding an i into the function name and reversing the order of the two parameters a whole new language? That's abot all you need to do to be able to use mysqli calls procedurally in place of procedural mysql calls.

It is only if you want to use object oriented calls that you need to make any more changes than that for the mysqli calls to work.

You only need to switch to PDO if you want to allow for porting the data to different databases in the future without needing to change the code.

Old Pedant
04-18-2013, 02:55 AM
Funny, I'm still using the same MySQL that I've been using for the last 5 or 6 years.

Oh, granted the MySQL 5.5 added some features such as partitioned tables. But you don't have to use those features if you don't want to.

But of course, you don't really mean that anybody deprecated MySQL. You apparently are a PHP coder with a narrow view of the world, yes?

So what you really mean is why did the PHP people create a new *LIBRARY* for accessing MySQL? It couldn't possibly be because the old one was horribly inadequate, could it? After all, Java (JSP) and C# and VB.NET and even VBScript users haven't lived with a lot of the limitations in the old PHP library for many years now. (To name just one example, all of those that I mentioned can send multiple queries to MySQL in a single command. The old PHP mysql library didn't allow that for some silly reason.)