I just fixed it by the command below. Once you installed the MySQL database development files (libmysqlclient-dev), you need to configure asterisk again by (make clean && make distclean) and do the make menuselect. check the res_config_mysql in the addons and save the file. Then make install. :D
yum install libmysqlclient-dev
Then check ASTERISK.CONF
astmoddir => /usr/lib/asterisk/modules
after that run the coomand to load the module
CLI> module load res_config_mysql.so
you can check the status by
localhost*CLI> realtime mysql status