Nope, my table is not "table". My user and password aren't named after themselves either. I know those weren't the trouble though.
Now, putting localhost in quotes. I mean, it makes sense in hindsight, but I never considered it, lol... *sigh* unfortunately, that does not seem to have fixed it...