The use of the MysqlScript class is at the heart of most of the problems I have seen with the migration of mysql databases from 0.6.9 to 0.7.0. The problem seems to be that the default command timeout value for processing a sql statement with this class is 30 seconds, which is far to short to alter a table inserting a column when there are hundreds of thousands of rows in that table. <div>
<br></div><div>In researching this it appears that the devart version of the new MySql.data.dll has a version of the MysqlScript which allows you to set the command timeout programmatically, however the mysql version of this library does not have this property available. As far as I could see there is currently no way to set the command timeout. So, it would appear that automatic migrations are doomed to fail in any case where they take more than 30 seconds.</div>
<div><br></div><div>Frank<br><br><div class="gmail_quote">On Fri, Jun 18, 2010 at 7:13 AM, Michael Cerquoni <span dir="ltr"><<a href="mailto:nebadon2025@gmail.com">nebadon2025@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I have to say so far this new MySQL connector has been absolutely nothing but trouble for Frank Nichols and myself testing Migration from 0.6.9 to 0.7, All throughout the testing we have had nothing but failure after failure from this new MySQL connector that has been introduced. It has been nearly impossible to move forward on to 0.7 because of this, I have no doubt that this will be a major problem for everyone to migrate over if you have even what seems like the most minimal amounts of data. At this time i really have to give this new connector a -1. Can someone please explain to me why the Original MySQL connector that seemed to work perfectly for years has now been replaced with one that constantly times out during migrations and gives nothing but trouble with DNS, requires us to use additional connection string settings, and basiclly makes moving on to 0.7 impossible for myself and others?? I must be missing something here!<div>
<div></div><div class="h5"><br>
<br><div class="gmail_quote">On Fri, Jun 18, 2010 at 6:06 AM, AlexRa <span dir="ltr"><<a href="mailto:info@adeptsql.com" target="_blank">info@adeptsql.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<br>
AA> But I note that I has "pooling=false;" in my own string though its<br>
AA> not been in the example ini files for a while. Anyone know what this<br>
AA> does and if its wise to keep it in the string if I had a working<br>
AA> 0.6.9 system with it there before?<br>
<br>
Hello Ai,<br>
<br>
Can't tell you why the "pooling=false;" was there in the 1st place, but<br>
I've noticed that it did cause connection failures on a Windows box during<br>
performance testing (thousands mySQL requests in a loop, each with<br>
connect/disconnect). The error didn't happen without the "pooling=false;"<br>
option. I don't know if that affects mySQL on Linux as well.<br>
<br>
Best regards,<br>
<br>
Alex<br>
<div><div></div><div><br>
<br>
_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@lists.berlios.de" target="_blank">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>Michael Emory Cerquoni - Nebadon Izumi @ <a href="http://osgrid.org" target="_blank">http://osgrid.org</a><br>
</font><br>_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
<br></blockquote></div><br></div>