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

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -