Jump to content

Recommended Posts

Posted

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.

Posted

I haven't checked, but the MySQLi extension should be installed.

You will have to change your php code from mysql_* to mysqli_* functions to use that extension, and not the depricated one.

Posted

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.

Posted

Ok but could you make MySQLi default because a user cannot choose to use the new extension it is up to the person who own the server and with admin.

 

If we can use how can I change to use that.

Posted

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.

Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...