You can turn on debug mode in the mysqli include files. Then it will give you a better error that will tell you what might be the issue. It could be bad credentials or missing tables, but turning on the debug mode will give you the actual error instead of a general message.