Premal Vala
Programmer
Dear Experts
I am working with mysql database with VFPA version and facing a strange issues.
To give you details.
I have my database (DBC) file and I have created a connection within database named "MyConn" to mysql database with connection string (please note I am not using ODBC but using direct connection string).
Then I have created different remote views for different tables within database using same connection.
I have set all properties to add, update, delete records on remote views.
I am using form to add edit delete the record. Within form init event I have open the database and used the table with Use myDB!Mytable
Everything is working fine as expected any record added, edited or deleted are reflected to mysql server.
The issue I am facing is that if I take more than few seconds to enter all the fields and if I try to save the record. It says "Mysql server has gone away".
It works fine if I finish adding data within few seconds.
I have checked DB connection timeout and it is set to 0 - infinite.
Tried all possible settings, but after few seconds, mySQL server connection keep going away.
Any help on this topic is highly appreciated.
Thanks in Advance,
PREMAL
I am working with mysql database with VFPA version and facing a strange issues.
To give you details.
I have my database (DBC) file and I have created a connection within database named "MyConn" to mysql database with connection string (please note I am not using ODBC but using direct connection string).
Then I have created different remote views for different tables within database using same connection.
I have set all properties to add, update, delete records on remote views.
I am using form to add edit delete the record. Within form init event I have open the database and used the table with Use myDB!Mytable
Everything is working fine as expected any record added, edited or deleted are reflected to mysql server.
The issue I am facing is that if I take more than few seconds to enter all the fields and if I try to save the record. It says "Mysql server has gone away".
It works fine if I finish adding data within few seconds.
I have checked DB connection timeout and it is set to 0 - infinite.
Tried all possible settings, but after few seconds, mySQL server connection keep going away.
Any help on this topic is highly appreciated.
Thanks in Advance,
PREMAL