How to publish php website under GNU GPL, but keep MySQL password?
===

&nbsp;&nbsp;I have some website, and I am planning register/login using MySQL for it. My website is licensed under GNU GPLv3.

&nbsp;&nbsp;Is there some way to let users see source code, but to still have the database safe (e.g. keep the php file with MySQL password unpublished)? I really want to share my code, but I don't want to somebody stealing data from my db.

&nbsp;&nbsp;My website isn't e-bank or something, but it can still contain sensitive data.

&nbsp;&nbsp;I am sorry for the license question, but I searched stackexchange for an hour and couldn't find a better place to ask