<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>I have not tried the package in 5.0.77; I will try to get one (unfortunately macports version is 5.0.67 only) installed in my box and try it. I am not sure under what conditions that particular server behavior (the one you are encountering) will trigger. I am looking into it right now, and hopefully can get to answer pretty soon.</span></div><div><br><span></span></div><div><span>Best,</span></div><div><span>Anindya<br></span></div><div><br></div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Andreas Raab &lt;andreas.raab@gmx.de&gt;<br><b><span style="font-weight: bold;">To:</span></b> The general-purpose
 Squeak developers list &lt;squeak-dev@lists.squeakfoundation.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Friday, September 30, 2011 12:57 AM<br><b><span style="font-weight: bold;">Subject:</span></b> [squeak-dev] Re: Now available: a database conectivity API and its MySQL implementation<br></font><br>
On 9/30/2011 4:35, Anindya Haldar wrote:<br>&gt; I believe this is a version issue. I tested my code with MySQL 5.0.67 on<br>&gt; Mac OS X. The details of the test platform combinations are in the<br>&gt; project page in Squeaksource.<br>&gt;<br>&gt; Could you please let me know your MySQL version and platform? It is<br>&gt; entirely possible that for certain versions/conditions the handshake<br>&gt; protocol does another extra step. This is something I found NOT<br>&gt; applicable for the version I was working with, although the reference C<br>&gt; implementation does have such provisions.<br><br>I'm running MySql 5.0.77 server on CentOS 5.6 (which is the <br>out-of-the-box version you get on CentOS via yum). This seems pretty <br>close to what you're using. Is there a chance that I need to set up the <br>database credentials in a specific way? I've just been using an existing <br>user which works fine in other contexts but perhaps there's something
 <br>specific that needs to be done?<br><br>Cheers,<br>&nbsp;  - Andreas<br><br>&gt;<br>&gt; I will also keep looking for more details meanwhile.<br>&gt;<br>&gt; Best,<br>&gt; Anindya<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt; *From:* Andreas Raab &lt;<a ymailto="mailto:andreas.raab@gmx.de" href="mailto:andreas.raab@gmx.de">andreas.raab@gmx.de</a>&gt;<br>&gt; *To:* The general-purpose Squeak developers list<br>&gt; &lt;<a ymailto="mailto:squeak-dev@lists.squeakfoundation.org" href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>&gt; *Sent:* Thursday, September 29, 2011 11:19 AM<br>&gt; *Subject:* [squeak-dev] Re: Now available: a database conectivity API<br>&gt; and its MySQL implementation<br>&gt;<br>&gt; On 9/29/2011 19:28, Andreas Raab wrote:<br>&gt;&nbsp; &gt; On 9/29/2011 16:40, Anindya Haldar wrote:<br>&gt;&nbsp; &gt;&gt; Thanks Andreas. The MySQL
 protocol is a native all-Smalltalk MySQL<br>&gt;&nbsp; &gt;&gt; driver. There is no FFI or plugin associated with it. The driver<br>&gt;&nbsp; &gt;&gt; implements the MySQL wire protocol on top of socket stream.<br>&gt;&nbsp; &gt;<br>&gt;&nbsp; &gt; Awesome! I'll see if I can get it to work on the weekend. What platforms<br>&gt;&nbsp; &gt; have you tested it on?<br>&gt;<br>&gt; My first tests ends up with an error "This part of the handshake is not<br>&gt; implemented" during the connect operation. Is this maybe a MySql version<br>&gt; problem? What versions have you successfully tested with?<br>&gt;<br>&gt; Cheers,<br>&gt; - Andreas<br>&gt;<br>&gt;&nbsp; &gt;<br>&gt;&nbsp; &gt; Cheers,<br>&gt;&nbsp; &gt; - Andreas<br>&gt;&nbsp; &gt;<br>&gt;&nbsp; &gt;&gt; ------------------------------------------------------------------------<br>&gt;&nbsp; &gt;&gt; *From:* Andreas Raab &lt;<a ymailto="mailto:andreas.raab@gmx.de"
 href="mailto:andreas.raab@gmx.de">andreas.raab@gmx.de</a> &lt;mailto:<a ymailto="mailto:andreas.raab@gmx.de" href="mailto:andreas.raab@gmx.de">andreas.raab@gmx.de</a>&gt;&gt;<br>&gt;&nbsp; &gt;&gt; *To:* Anindya Haldar &lt;<a ymailto="mailto:anindya_haldar@yahoo.com" href="mailto:anindya_haldar@yahoo.com">anindya_haldar@yahoo.com</a><br>&gt; &lt;mailto:<a ymailto="mailto:anindya_haldar@yahoo.com" href="mailto:anindya_haldar@yahoo.com">anindya_haldar@yahoo.com</a>&gt;&gt;; The general-purpose<br>&gt;&nbsp; &gt;&gt; Squeak developers list &lt;<a ymailto="mailto:squeak-dev@lists.squeakfoundation.org" href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a><br>&gt; &lt;mailto:<a ymailto="mailto:squeak-dev@lists.squeakfoundation.org" href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;&gt;<br>&gt;&nbsp; &gt;&gt; *Sent:* Thursday, September 29, 2011 1:22 AM<br>&gt;&nbsp;
 &gt;&gt; *Subject:* Re: Now available: a database conectivity API and its MySQL<br>&gt;&nbsp; &gt;&gt; implementation<br>&gt;&nbsp; &gt;&gt;<br>&gt;&nbsp; &gt;&gt; Very nice. Quick question: How are you accessing the MySQL db? Are you<br>&gt;&nbsp; &gt;&gt; using a network connection or some FFI facilities? If you are using a<br>&gt;&nbsp; &gt;&gt; network connection, we might have use for your project right away; our<br>&gt;&nbsp; &gt;&gt; current FFI based ODBC implementation causes headaches when the calls<br>&gt;&nbsp; &gt;&gt; take a long time (&gt;1sec).<br>&gt;&nbsp; &gt;&gt;<br>&gt;&nbsp; &gt;&gt; Cheers,<br>&gt;&nbsp; &gt;&gt; - Andreas<br>&gt;&nbsp; &gt;&gt;<br>&gt;&nbsp; &gt;&gt; On 9/29/2011 10:11, Anindya Haldar wrote:<br>&gt;&nbsp; &gt;&gt; &gt; I am extremely pleased to offer to the community a generic Smalltalk<br>&gt;&nbsp; &gt;&gt; API<br>&gt;&nbsp; &gt;&gt; &gt; for database connectivity API, along with a MySQL
 implementation<br>&gt;&nbsp; &gt;&gt; written<br>&gt;&nbsp; &gt;&gt; &gt; from ground up. Think of JDBC and DBI like interfaces in other<br>&gt;&nbsp; &gt;&gt; languages<br>&gt;&nbsp; &gt;&gt; &gt; and environments, and this one offers abstract facilities like<br>&gt;&nbsp; &gt;&gt; &gt; connection, prepared statement, resultset, row, metdata and so on for<br>&gt;&nbsp; &gt;&gt; &gt; the application.<br>&gt;&nbsp; &gt;&gt; &gt;<br>&gt;&nbsp; &gt;&gt; &gt; The API implementation uses driver delegates, and insulates the<br>&gt;&nbsp; &gt;&gt; &gt; applications from the driver specific interfaces. As of now, a MySQL<br>&gt;&nbsp; &gt;&gt; &gt; implementation is available, with other databases engine supports in<br>&gt;&nbsp; &gt;&gt; the<br>&gt;&nbsp; &gt;&gt; &gt; future plans.<br>&gt;&nbsp; &gt;&gt; &gt;<br>&gt;&nbsp; &gt;&gt; &gt; The API supports server side prepared sta tements and cursor based<br>&gt;&nbsp; &gt;&gt; fetch<br>&gt;&nbsp; &gt;&gt; &gt;
 implemented in the MySQL driver.<br>&gt;&nbsp; &gt;&gt; &gt;<br>&gt;&nbsp; &gt;&gt; &gt; The implementation is currently available in 3 parts:<br>&gt;&nbsp; &gt;&gt; &gt;<br>&gt;&nbsp; &gt;&gt; &gt; 1) StdbCore project: This is primarily the API definitions and the<br>&gt;&nbsp; &gt;&gt; &gt; delegation logic<br>&gt;&nbsp; &gt;&gt; &gt; URL: http://www.squeaksource.com/StdbCore.html<br>&gt;&nbsp; &gt;&gt; &gt;<br>&gt;&nbsp; &gt;&gt; &gt; 2) StdbMysqlImpl project: This is the MySQL implementation of the<br>&gt;&nbsp; &gt;&gt; &gt; StdbCore API<br>&gt;&nbsp; &gt;&gt; &gt; URL: http://www.squeaksource.com/StdbMysqlImpl.html<br>&gt;&nbsp; &gt;&gt; &gt;<br>&gt;&nbsp; &gt;&gt; &gt; 3) StdbMysqlProtocol project: This is the underlying MySQL protocol<br>&gt;&nbsp; &gt;&gt; &gt; driver, and used by the MySQL API implementation<br>&gt;&nbsp; &gt;&gt; &gt; URL: http://www.squeaksource.com/StdbMysqlProtocol.html<br>&gt;&nbsp; &gt;&gt; &gt;<br>&gt;&nbsp; &gt;&gt;
 &gt; There is a package load ordering dependency (documented in the MySQL<br>&gt;&nbsp; &gt;&gt; &gt; implementation project). Please load the core and the protocol driver<br>&gt;&nbsp; &gt;&gt; &gt; packages first, before you load the implementation package.<br>&gt;&nbsp; &gt;&gt; &gt;<br>&gt;&nbsp; &gt;&gt; &gt; Combined, the packages has around 200 tests (most of them in the<br>&gt;&nbsp; &gt;&gt; &gt; protocol driver and the API implementation) and are running green on<br>&gt;&nbsp; &gt;&gt; &gt; Pharo 1.1.1 one click, Squeak 4.2 one click, Squeak 3.10 (with Seaside<br>&gt;&nbsp; &gt;&gt; &gt; 2-8-573 dev image) under Mac OS X 10.5.8 with MySQL server 5.0.67.<br>&gt;&nbsp; &gt;&gt; &gt;<br>&gt;&nbsp; &gt;&gt; &gt; This was in the making for some time; and I feel it is time to<br>&gt; share it<br>&gt;&nbsp; &gt;&gt; &gt; with the community. I will continue to post more documentation and<br>&gt; code<br>&gt;&nbsp; &gt;&gt; &gt; snippets in the project
 page Wiki sections. For now, looking up the<br>&gt;&nbsp; &gt;&gt; &gt; tests may be your best guide.<br>&gt;&nbsp; &gt;&gt; &gt;<br>&gt;&nbsp; &gt;&gt; &gt; Happy programming!<br>&gt;&nbsp; &gt;&gt; &gt;<br>&gt;&nbsp; &gt;&gt; &gt; Best,<br>&gt;&nbsp; &gt;&gt; &gt; Anindya Haldar<br>&gt;&nbsp; &gt;&gt; &gt;<br>&gt;&nbsp; &gt;&gt; &gt;<br>&gt;&nbsp; &gt;&gt; &gt;<br>&gt;&nbsp; &gt;&gt; &gt;<br>&gt;&nbsp; &gt;&gt; &gt;<br>&gt;&nbsp; &gt;&gt;<br>&gt;&nbsp; &gt;&gt;<br>&gt;&nbsp; &gt;&gt;<br>&gt;&nbsp; &gt;&gt;<br>&gt;&nbsp; &gt;&gt;<br>&gt;&nbsp; &gt;&gt;<br>&gt;&nbsp; &gt;<br>&gt;&nbsp; &gt;<br>&gt;&nbsp; &gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br><br><br><br><br></div></div></div></body></html>