<br><br><div class="gmail_quote">2009/10/8 Herbert König <span dir="ltr">&lt;<a href="mailto:herbertkoenig@gmx.net">herbertkoenig@gmx.net</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Mariano,<br>
<br>
I bring this back to the dbx list, so other people using my vintage<br>
setting can benefit from it. Let&#39;s continue there.<br>
<br></blockquote><div><br>yes please. Thanks. <br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Following your suggestion I tried to run all tests. I got me<br>
OpenDBX-Core-MarianoMartinezPeck.235.mcz as you suggested in private<br>
mail.<br>
<br>
In 3.8.2 UIManager does not exist. </blockquote><div><br>Ok, I didn&#39;t know.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">So (see debugger.png) I can&#39;t select the<br>

backend. I can easily circumvent this by manually setting DBXBaseTest&gt;&gt;facility:<br>
<br></blockquote><div><br>That&#39;s exactly what you should do :)<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Question is: Do you want a solution that also works on 3.8? Then I can<br>
try to change FacilityTestResource&gt;&gt;setUp.<br></blockquote><div><br>yes, it would be ok. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
Here we have two possible ways:<br>
-All versions use ChooserMorph (I don&#39;t recommend this, ChooserMorph<br>
might get deprecated some time).<br>
-I do some ugly checking of SytemVersion current and based on this<br>
either use your code or ChooserMorph.<br>
<br></blockquote><div><br>I rather this option. But, take into account that Pharo for example, doesn&#39;t have SytemVersion. I don&#39;t know even what it is. What about using something like Smalltalk at:  and see if there is that class and use one or another depending on that? <br>
I know it is ugly, but it is just a little piece and in a test resource hahaha. <br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
After setting<br>
<br>
DBXBaseTest facility: DBXMySQL4Facility facilityForTest<br>
<br>
I end up with a missing libpq.dll (MissingDLL.png). Google says<br>
libpq.dll is from postgres.<br>
<br></blockquote><div><br>This is impossible. I don&#39;t understand. The only way that can happen that is if the PostgreSQL backend is being used. But you are using MySQL4. Would you mind putting a breakpoint in DBXPostgresPlatform class &gt;&gt; backend  ??<br>
<br>If this message is sent....we are in problems :)  I mean, It SHOULDN&#39;T be called, as you are using MySQL4. If it is called, can you please see why ? haha<br> <br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

I hope if we resolve this the information following will be<br>
unnecessary but it might contain some clues for you.<br>
<br>
So:<br>
Recovering from that I have to Alt dot to get a debugger.<br>
<br>
What makes me wary is that the debugger is in<br>
DBXMySQLPlatform&gt;&gt;openConnection (not ..MySQL4...) and the settings<br>
have the wrong user &quot;sodbxtest&quot; as you can see in the Explorer in<br>
World.png.<br>
<br></blockquote><div><br>Ok, definitively it is using another facility :(  It is using the DBXMySQLFacility instead of the DBXMySQL4Facility. <br> <br>Are you sure you did a <br>
DBXBaseTest facility: DBXMySQL4Facility facilityForTest<br><br>instead of a <br><br>
DBXBaseTest facility: DBXMySQLFacility facilityForTest<br><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
While the Transcript.png shows &quot;Acess denied for user: software_user&quot;<br>
which is the user I hard coded into the method.<br>
<br></blockquote><div><br>Can I see your DBXMySQL4Facility class &gt;&gt; createConnection   ??<br><br>I don&#39;t understand. In the transcript is correct but when connects it is wrong ?<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

I verified that software_user with the password I hard coded can<br>
create and populate a table in database sodbxtest. Same problems when<br>
I hardcode the mysql administrator account.<br>
<br></blockquote><div><br>Ok. Please put a breakpoint in DBXConnection &gt;&gt; openConnection: aConnection<br><br>and show me what you have in <br>     <br>    aConnection database<br>    aConnection userName<br>    aConnection userPassword<br>
    aConnection authenticationMethod.<br><br>Thanks.<br><br>Mariano<br><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Cheers,<br>
<br>
Herbert                          mailto:<a href="mailto:herbertkoenig@gmx.net">herbertkoenig@gmx.net</a></blockquote></div><br>