Never mind, I figured it out. Looks like my setup doesn't care about case-sensitivity where the server's setup does. Since my tables are called "CharacterSpell" and "Spell", locally "characterspell" and "spell" work but not on the server, since it's cave sensitive.