i installed vps with centos 7 minimal fresh
after fresh install i installed webuzo premium
and then i tried to install wordpress from softaculos but mysql error occurs.
i thought i might need to restart the vps but same thing happens.
i even re-installed mysql from webuzo panel but same thing happens.
i didn't even do any terminal commands. i let the webuzo do the work.
i think this issue should be fixed..
fresh centos, fresh webuzo and then mysql error.
If no then restart it and check if connections is possible or you can the check the error log located at /var/log/mysqld.log (paste the errors in reply if found).
Otherwise if no errors are present, please check whether the MySQL extension(mysqli.so and pdo_mysql.so) are loaded in PHP or not.
You can check the same using the following command : php -m