Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Mar 2012
    Posts
    18
    Thanks
    1
    Thanked 1 Time in 1 Post

    Why did they deprecate MySQL and write a whole new language

    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.
    Last edited by webaddict; 04-17-2013 at 03:33 AM.

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,628
    Thanks
    0
    Thanked 648 Times in 638 Posts
    Quote Originally Posted by webaddict View Post
    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.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #3
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,200
    Thanks
    75
    Thanked 4,342 Times in 4,308 Posts
    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.)
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •