Then you change doctors until you find someone that will listen to you.
I’m sure there will be/are places where these databases are run by private companies with no accountability and no way to issue a complaint.
But believe me there are bad doctors out there (your specific case) so you'll have to switch.
The problem is not with individual doctors, it is that the structure {legal, economic} surrounding mental health favors getting people on medication, but doesn't create good paths for them to get off (at least in the US).