php pdo get database version(MYSQL) -


this question has answer here:

is there ways can mysql version using pdo ?

i want set charset connection utf8mb4 appear 5.5.0 , after, need set charset utf8 fallback plan.

you use pdo , query it:

select version() 

Comments

Popular posts from this blog

javascript - Trigger mouseenter when an animated element touches mouse -

json - Zend error Connection -

java - Using Spring @Transactional with a combination of readOnly and write, when does this entity get committed? -