MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Development => Topic started by: MRatWork on 2013-09-16, 23:44:34

Title: [NEWS] MySQLi API and PowerDNS
Post by: MRatWork on 2013-09-16, 23:44:34
Since Kloxo-MR 6.5.0.f-2013090302, Kloxo-MR using MySQLi API (object-based) instead MySQL API (procedural-based). One reason to change is MySQL API (declare like '$conn = mysql_connect()') already deprecated (since Php 5.3) and possible not support in Php 5.5. Another reason is MySQLi API (declare like '$conn = new mysqli()') faster then MySQL API.

What impact for this change?. MySQLi API not support by MySQL 5.0.x version and it's make no possible install Kloxo-MR using mysql from Centos 5.x version. This is why fresh install in Centos 5 using mysql55 from IUS repo.

Since Kloxo-MR 6.5.1.a-2013091603, Kloxo-MR ready for PowerDNS. Step for testing 6.5.1.a:

1. Open '/etc/yum.repos.d/kloxo-mr.repo' and change:
Code: [Select]
[kloxo-mr-testing-neutral-noarch]
name=Kloxo-MR - testing-neutral-noarch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/testing/neutral/noarch/
mirrorlist=http://rpms.potissima.com/repo/mirrors/mratwork-testing-neutral-noarch-mirrors.txt
enabled=0
gpgcheck=0

to:
Code: [Select]
[kloxo-mr-testing-neutral-noarch]
name=Kloxo-MR - testing-neutral-noarch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/testing/neutral/noarch/
mirrorlist=http://rpms.potissima.com/repo/mirrors/mratwork-testing-neutral-noarch-mirrors.txt
enabled=1
gpgcheck=0
includepkgs=kloxomr

2. And then run 'yum cleanup; yum update; sh /script/cleanup'

3. After that, switch to 'pdns' for 'dns' in 'switch applications'

----------------

Note:

- Downgrade to 6.5.0 with 'yum downgrade kloxomr'.