Jump to content

Mysql In Stevie Brings Up Deprecated Error.


paladox2014

Recommended Posts

Hi I am getting this error when visting routines in MySQL on stevie

 

You are using PHP's deprecated 'mysql' extension, which is not capable of handling multi queries. <b>The execution of some stored routines may fail!</b> Please use the improved 'mysqli' extension to avoid any problems.

 

please remove mysql and install mysqli

 

Please install new extension.

Link to comment
Share on other sites

Hi the administrator has to do it because it is installed for everyone.

 

It is an extension for php for MySQL and MySQL extension is deprecated and mysqli is the new extension to use.

 

http://php.net/manual/en/mysqli.installation.php

 

http://stackoverflow.com/questions/7250356/how-to-install-mysqli

 

https://www.udemy.com/blog/mysql-vs-mysqli/

Link to comment
Share on other sites

Both extensions are already installed. It's up to you to develop or deploy code that uses the new one (tjoene explained what you need to do).

 

We cannot and will not remove the old extension because many users run legacy applications that depend upon it.

Link to comment
Share on other sites

There is no default. Php uses whatever your software is coded to use. If your software is coded with the old MySQL functions in it, that's what it will use regardless of what we have available, and if what it wants is not available, the program dies with undefined function errors instead.

 

TL;DR: Your program must be rewritten if you want to use the newer library.

Link to comment
Share on other sites

That's because phpmyadmin (or the version we have anyway) is running on the old library. All that message is saying is that phpmyadmin itself is using the legacy library and isn't happy about it. It does not mean that mysqli is not available.

 

The message can be safely ignored since we still run an older php version where the legacy MySQL library is not deprecated. If we had php 5.5, it would be accurate.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...