XOOPS

MySQLi Connectors for Xoops 2.5.6 and 2.6

redheadedrod  03-Aug-2013 22:01 5227 Reads   5 Comment(s) 
MySQLi connectors are now available for 2.5.6 and 2.6. These connectors should be considered as Beta and should not be used on a production server at this time.

These have been designed as a drop in addition to the current MySQL connector.

The current MySQL connector used by Xoops allows Xoops to talk to the MySQL database. This older connector has been around since MySQL version 3 and not only does not support new features of MySQL 4 and 5 but is now officially Depreciated in the latest release of PHP. For now this doesn't mean much to most but means that the current MySQL connector will no longer work in the future.

MySQLi was released to take advantage of the features in the newest versions of MySQL and as such is the direct replacement for the older MySQL connector. I used a script that converts old MySQL code to MySQLi compatible code as my base and went from there. Although I still have some questions for a core developer about some of the code the script created it does run without any known errors.

The use of these connectors is very simple. You download the version of mysqlidatabase.php that you need and copy it to your class/database folder. You then modify the database type in your secure.php file from MySQL to MySQLi and you are on your way.

Both of these connectors can be found in the SVN.

Connector for 2.5.6 MySQLi and for 2.6 MySQLi.

Please direct bug reports to the following thread:
https://xoops.org/modules/newbb/viewtopic.php?post_id=354793


Rating 0/5
Rating: 0/5 (0 votes)
Voting is disabled!


Login

Who's Online

210 user(s) are online (7 user(s) are browsing Publisher)


Members: 0


Guests: 210


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits

Categories