Originally Posted by _Aerospace_Eng_
Your query could be failing but you don't know because you aren't doing any error checking?
Error: No database selected
hmmmm... I guess the next question is how to select a database on a remote server? I have MySQL but I was having a great difficulty with it.