Securing phpMyAdmin is crucial to prevent unauthorized access and protect your databases. Here’s a guide on enhancing phpMyAdmin security:
MySql
How to prevent SQL injection in PHP
Use prepared statements and parameterized queries.These are SQL statements that are sent to and parsed by the database server separately from any parameters. This way it is impossible for an attacker to inject malicious SQL.