Sparx Systems Forum
Enterprise Architect => Bugs and Issues => Topic started by: K N on March 13, 2013, 01:22:06 am
-
Hi
Once I open the EA MySQL repository, say for eg it is idle for about 15 mins and then when I start working on it ...EA gives me following message:
"Microsoft OLE DB Provider for ODBC Drivers [-2147467259]
[MySQL][ODBC 5.1 Driver][mysql-5.0.77]Lost connection to MySQL server during query"
Is it the issue from DB side or there is any provision in EA which needs to be set for this?
Thanks
KN
-
I can't recall the exact scenario but there were some flags you needed to turn on in the MySQL ODBC driver.
q.
-
see here: http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1329383486/0#0
Geert
-
Hi
I have already selected these options while creating DSN:
- Return matched rows instead of affected rows (Connection or Cursors/Results tab)
- Allow big result sets (Connection tab)
Thanks
KN
-
Hi,
The issue is not the EA or the EA-database, it is the ODBC-driver or the SQL-server.
Two possibilities:
1)check for your user (the user you use for login to the database) in the sqlserver the timeouts and change them.
2) try the automatic reconnect in the ODBC driver.
Regards
Stefan
-
@Stefan - ok..let me try these options
-
@Stefan: I tried both the options...still the same error
-KN
-
Have you checked the MySQL server logs? Maybe also it's a network issue? I'm just guessing here as I'm not a DBA, just a user with a bit experience.
q.
-
Thanks qwerty!! ..I have asked one of our DBAs to look into that..
-
Tried all the options suggested to me...
Still I am having the same error
-
Have you tried contacting Sparx support. They have a couple of smart guys there which are in the matters. If any they should be the ones that might have heard of similar issues.
q.
-
Thts what I was thinking to do now...thanks!!
-
I contacted SparxSystem support...
They told me to increase the max_allowed_packet variable on the server...
http://dev.mysql.com/doc/refman/5.0/en/packet-too-large.html
still have to try on this..
Thanks
KN
-
Hi, did you solve the problem?
I have behavior with an Oracle DB via a Procloud server express.
Regards
-
The OP is dealing with MySQL. Oracle looks like a DB you don't want to use with EA (except you like the pain). Oracle is designed for large queries while EA sends lots of tiny ones. SQLServer (MySQL, Postgresql, etc.) are much nicer players with EA.
q.