Issue Bug Closed

#18945Warnings when using MySql 4.0

Stefan Geith 06/13/08, 09:27 updated 10/29/08, 19:04

Description

If MySql < 4.1 is used, your get many warnings for class.t3lib_db.php on line 1047

MySql before 4.1 does not support query(‘SHOW CHARACTER SET’).
The function admin_get_charsets() was added to t3lib_db with Typo3 4.2.
Removing this Warning is easy: simply check for resource:
1047: if ($columns_res) while ($row = mysql_fetch_assoc($columns_res)) {

At least all 1+1 managed servers only support MySql 4.0 (not 4.1 nor 5.0).
The support-center of 1+1 states: no update to 4.1 or 5.0 before end of 2008.

I think Typo3 4.2 and 4.3 should still be able to use MySql 4.0

I am not sure what side-effects we get, if admin_get_charsets returns an empty array. Where mights this lead to complications ?

(issue imported from #M8697)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.