<div dir="ltr"><div>Hello;<br><br></div>I need to connect to a MySQL database using PHP. I have a replica.my.cnf that I guess I have to use. What is the best way to connect to MySQL using this file, without exposing the user/pass in the PHP code?<br>

<br>There is no help about this in the tutorial.[1]<br><br>Thanks<br><br>[1] <a href="https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Help">https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Help</a><br></div>