smatin / smt2

Automatically exported from code.google.com/p/smt2
0 stars 0 forks source link

Installation fails due to MySQL version check #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When trying to install smt 2.0.1 I receive the following error:

Checking MySQL version: Error: Your server has MySQL 5.1.36-community-log 
installed, but at least version 5 is required to handle this system.

This is an issue, because MySQL 5.1.36 is installed along with PHP version 
5.3.0 on a Windows XP machine.

What I have found to be the problem is that the check_systemversion() function 
found in /admin/sys/functions.php is using mysql_get_client_info() instead of 
mysql_get_server_info(). This is because mysql_get_client_info() returns the 
client library version where as mysql_get_server_info() returns the MySQL 
server version.

After switching to using mysql_get_server_info() the installation went as 
expected.

Original issue reported on code.google.com by penningt...@gmail.com on 14 Sep 2010 at 4:30

GoogleCodeExporter commented 9 years ago
Thanks for the info.
It was fixed in revision #36 (first release of version 2.0.0), but for some 
reason it reverted in next commints. 
Now it is updated.

Original comment by luis.lei...@gmail.com on 16 Sep 2010 at 4:06