It looks like you're new here. If you want to get involved, click one of these buttons!
Please explain how to secure a MySQL database access password in a PHP application to avoid unwanted access.
Best thing it to keep the database user password in a configuration file. Then secure it with limited access.