If you're getting the issue on your WordPress website: "Your PHP installation appears to be missing the MySQL extension which is required by WordPress.", run the following command to re-install MySQL extension for all PHP versions of the server:
yum install -y ea-php*-mysql*