I'm guessing that's why I can only connect through phpmyadmin — From that perspective all looks fine. Attempts to connect though php from my code all fail with "(HY000/1045): Access denied for user" (and yes I've checked the usernames and passwords I'm using).
I've tried stopping and restarting MySQL.
A little history: The first stack I installed was bitnami wampstack, but that was a pain so I uninstalled it and installed xampp.
I've searched for clues about how to fix this, but I've come up short.
Please help.
Thanks.