Sorry, I copied and paste your code but I didn&#39;t modify it haaha<br><br>| cs c |<br>
cs _ DBXConnectionSettings      host: &#39;localhost&#39;       port: &#39;3306&#39;     
database: &#39;test&#39;        userName: &#39;root&#39;        userPassword: &#39;test&#39;.<br>
c _ DBXConnection platform: DBXSqlitePlatform new settings: cs.<br>
c connect.<br>
c open.<br>
c close.<br>
c disconnect.<br><br>I changed port: 3306 to port: &#39;3306&#39;<br><br>Now I also see that example is wrong. If you want to use Sqlite, you should do someting like this:<br><br>BXConnectionSettings<br>                host: &#39;/home/mariano/sqlite/&#39;<br>
                port: &#39;&#39;<br>                database: &#39;sodbxtest.db&#39;<br>                userName: &#39;&#39;<br>                userPassword: &#39;&#39;<br><br>See DBXSqliteFacility&gt;&gt;createConnection    <br>
for an example<br><br>&#39;3306&#39; is for MySQL in which case, an example would be:<br><br>DBXConnectionSettings<br>            host: &#39;127.0.0.1&#39;<br>            port: &#39;3306&#39;<br>            database: &#39;sodbxtest&#39;<br>
            userName: &#39;sodbxtest&#39;<br>            userPassword: &#39;sodbxtest&#39;<br><br><br>Cheers,<br><br>Mariano<br><br><br><br><div class="gmail_quote">On Mon, Jul 6, 2009 at 9:11 PM, Mariano Martinez Peck <span dir="ltr">&lt;<a href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Chun: Hi! It is wrong the port, it must be a string. Example:<div class="im"><br><br>| cs c |<br>

cs _ DBXConnectionSettings      host: &#39;localhost&#39;       port: 3306    
 database: &#39;test&#39;        userName: &#39;root&#39;        userPassword: &#39;test&#39;.<br>
c _ DBXConnection platform: DBXSqlitePlatform new settings: cs.<br>
c connect.<br>
c open.<br>
c close.<br>
c disconnect.<br><br></div>In which OS are you? If windows, you must use OpenDBX 1.4.1 (not 1.4) because there was a problem fixed there with sqlite in windows.<br><br>You can see examples in subclasses of from DBXBackendFacility method createConnection. Also in the wiki: <br>

<a href="http://wiki.squeak.org/squeak/6067" target="_blank">http://wiki.squeak.org/squeak/6067</a><br><br>Tell me if it works!<br><br>Cheers,<br><br>Mariano<br><br><br><div class="gmail_quote"><div><div></div><div class="h5">
On Mon, Jul 6, 2009 at 8:51 PM, &quot;S.J.Chun&quot; <span dir="ltr">&lt;<a href="mailto:chunsj@embian.com" target="_blank">chunsj@embian.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">Hi,<br>
<br>
I&#39;ve tested with squeak 3.10.2 with ffi and squeakdbx 1.0 but encountered following error:<br>
<br>
Cannot use integer as pointer<br>
<br>
at apiInitialize: handle backend: backend host: host port: port<br>
which seems to related with FFI.<br>
<br>
My test code is;<br>
<br>
| cs c |<br>
cs _ DBXConnectionSettings      host: &#39;localhost&#39;       port: 3306      database: &#39;test&#39;        userName: &#39;root&#39;        userPassword: &#39;test&#39;.<br>
c _ DBXConnection platform: DBXSqlitePlatform new settings: cs.<br>
c connect.<br>
c open.<br>
c close.<br>
c disconnect.<br></div></div>_______________________________________________<br>
SqueakDBX mailing list<br>
<a href="mailto:SqueakDBX@lists.squeakfoundation.org" target="_blank">SqueakDBX@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx</a><br>
<br></blockquote></div><br>
</blockquote></div><br>