MYSQL Update
#1

Hi guys,

Since I decide i will update my server from 2 version older mysql to newer version, i have no idea on what i have to keep eye or what should i do while converting to newer version.

Should i just replace mysql.inc or i need to do something inside script. Thanks
Reply
#2

Take a look at both Includes (specifically at the most important natives you use, like mysql_(function_)query or mysql_retrieve_row).

IIRC the newer version passes almost all values by reference, instead of returning the value. But I'm not sure which version introduced that change.

Just compare them and you will see if and what has to be changed.

You can also just try to switch the includes to the new version and compile, the errors/warnings might already tell you what has to be done.

Not sure which Plugin you use, but you can also take a look at the Changelog. That should also tell you the most important changes since the version you used before.
Reply
#3

Thanks, that's what i was looking for.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)