Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3699

Mysql Connection timed out

$
0
0

I’m not 100% shure, but I see an Error from time to time.
I’m preparing MySQL Statements with ne “new” syntax (selectsql(“SELECT * FROM table WHERE id = ?”, rowid)
Sometimes I get an DatabaseException wit ErrorNumber -1 and Message Expected 0 parameters to be bound but received 1

“Expected 0” is definetly wrong, abd “normally” these queries are correct and working. In debugger everything seems fine.

I suspect that in reality the connection to the database is closed (timeout), but then I would expect an error 2006 or 2013.

Is there anyone who can reproduce this or has already had the error?

7 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 3699

Trending Articles