MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: Spacedust on 2014-04-18, 16:20:57

Title: Your PHP MySQL library version 5.3.12-MariaDB differs from your MySQL server
Post by: Spacedust on 2014-04-18, 16:20:57
Can we fix this inside phpMyAdmin:

Your PHP MySQL library version 5.3.12-MariaDB differs from your MySQL server version 10.0.10. This may cause unpredictable behavior.

You need to update libmysqlclient18 for php53s
Title: Re: Your PHP MySQL library version 5.3.12-MariaDB differs from your MySQL server
Post by: MRatWork on 2014-04-18, 16:45:37
Didn't test for MariaDB. Maybe related to mysqlclient*.rpm
Title: Re: Your PHP MySQL library version 5.3.12-MariaDB differs from your MySQL server
Post by: Spacedust on 2014-04-18, 16:55:24
Didn't test for MariaDB. Maybe related to mysqlclient*.rpm

Can you upgrade it to 10.0.10 ?
Title: Re: Your PHP MySQL library version 5.3.12-MariaDB differs from your MySQL server
Post by: chrisf on 2014-04-20, 05:44:47
This needs a fix, that error is very unprofessional.
Title: Re: Your PHP MySQL library version 5.3.12-MariaDB differs from your MySQL server
Post by: Spacedust on 2014-04-20, 19:42:44
This needs a fix, that error is very unprofessional.

Mustafa - just extract MariaDB-libs or MariaDB-shared and it's there !
Title: Re: Your PHP MySQL library version 5.3.12-MariaDB differs from your MySQL server
Post by: MRatWork on 2014-04-20, 21:15:39
Read mysql-to-mariadb.php and you will what's I am doing. No MariaDB-libs.
Title: Re: Your PHP MySQL library version 5.3.12-MariaDB differs from your MySQL server
Post by: chrisf on 2014-04-20, 22:06:48
so what is the fix?
Title: Re: Your PHP MySQL library version 5.3.12-MariaDB differs from your MySQL server
Post by: MRatWork on 2014-04-20, 22:22:16
If you found no issue for Kloxo-MR (except phpmyadmin for their warning) and websites, that mean it's phpmyadmin problem rather than Kloxo-MR.
Title: Re: Your PHP MySQL library version 5.3.12-MariaDB differs from your MySQL server
Post by: chrisf on 2014-04-21, 16:00:34
@spacedust, did you successfully extract what was needed?  Please inform.

Thank you.
Title: Re: Your PHP MySQL library version 5.3.12-MariaDB differs from your MySQL server
Post by: MRatWork on 2014-04-21, 16:02:29
I found an issue for using mariadb in Kloxo-MR 6.5.1.b. Insert row always 'NULL' value. Better use mysql55 at this moment.
Title: Re: Your PHP MySQL library version 5.3.12-MariaDB differs from your MySQL server
Post by: Spacedust on 2014-04-22, 23:47:25
I found an issue for using mariadb in Kloxo-MR 6.5.1.b. Insert row always 'NULL' value. Better use mysql55 at this moment.

Please fix it. Mysql55 is not an option ;)
Title: Re: Your PHP MySQL library version 5.3.12-MariaDB differs from your MySQL server
Post by: MRatWork on 2014-04-23, 03:29:33
Or, as alternative, use php52s instead php53s with steps:

1. Install php52s with 'sh /script/php52s-installer' (don't use old method like 'yum install php52s')
2. Run 'sh /script/fixlxphpexe php52s'
3. Run 'sh /script/restart'

Title: Re: Your PHP MySQL library version 5.3.12-MariaDB differs from your MySQL server
Post by: chrisf on 2014-04-23, 04:17:52
Using 5.2 is not an option either, and is moving backwards!  I am using mariadb from centalt (simply removing the exclude) and have found no issues on my websites.  If KloxoMR is not working properly with Maria what is the problem?

It appears not all the libraries are installed properly?  I don't know, just guessing.  But there should be a fix for this.
Title: Re: Your PHP MySQL library version 5.3.12-MariaDB differs from your MySQL server
Post by: MRatWork on 2014-04-23, 04:54:58
I found an issue with MariaDB 10.0.x where missing/wrong connect to mysqli (Kloxo-MR using mysqli extension instead mysql extension).

When install mariadb 10.0.x with php52s, running 'lxphp.exe -m' (listing php extensions) not including mysqli and panel not able to accessed. But, when using mariadb 5.5 with php52s is otherwise.

So, I still thinking to convert mysqli code to pdo-mysql in Kloxo-MR and don't back to mysql code.