/usr/lib/libmysqlcppconn.so.7 is in libmysqlcppconn7v5 1.1.7-0ubuntu1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/libmysqlcppconn.so.7.1.1.7
/usr/lib/libmysqlcppconn.so.7.1.1.7