MYSQL Cbpolicyd GUI

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
abckdc
Posts: 15
Joined: Mon Sep 07, 2020 3:04 am

MYSQL Cbpolicyd GUI

Post by abckdc »

I have been trying to install cbpolicyd with mysql in the DB rather than sqlite. Sqlite doesnot perform in high mail flow environment and crashes everytime. Successfully installed also with aid from
https://github.com/Zimbra-Community/zim ... policyd.sh
Now I am trying the install GUI for cbpolicyd with mysql as the DB(i dont know if its possible or not just trying). I am stuck with
Error connecting to the database: could not find driver while opening the webui of cbpolicyd. Everthing works fine when using sqlite as DB. CHecked for installation of Mysql PDO driver and is installed and working. Tested database connection to the Mysql with PDO driver in sample PHP code and is working. I have config.php file as follows
$DB_DSN="mysql:host=127.0.0.1;dbname=policyd_db;port=7306";
$DB_USER="ad-policyd_db";
$DB_PASS="*******";

I am a beginner in the filed and don't have knowledge about coding. I will be very grateful for any kind of help.
Post Reply