# WagoAppSQL\_MySQL library version 1.7.1.1 errors

**URL:** <https://www.wago.community/t/wagoappsql-mysql-library-version-1-7-1-1-errors/2826>\
**Category:** CODESYS\
**Tags:** pfc300\
**Created:** [July 26, 2026, 8:26pm UTC](https://www.wago.community/t/wagoappsql-mysql-library-version-1-7-1-1-errors/2826 "2026-07-26T20:26:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Justin](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@Justin](https://www.wago.community/u/Justin)\
**Post date:** [July 26, 2026, 8:26pm UTC](https://www.wago.community/t/wagoappsql-mysql-library-version-1-7-1-1-errors/2826/1 "2026-07-26T20:26:04Z")

</div>

I am upgrading code, having shifted from a PFC200 750-8217 (32 bit) to the PFC300 750-8302 (64 bit). For the PFC200 we are using Firmware 04.07.03(29), CODESYS V3.5 SP21 Patch 1, and version 1.6.2.6 of the WagoAppSQL\_MySQL library. This combination generally works well. On the PFC300, we are using Firmware version 04.09.01(31), CODESYS V3.5 SP21 Patch 5 and version 1.7.1.1 of the WagoAppSQL\_MySQL library - version 1.7.1.1 seems to be needed to resolve variable errors on the PFC300 as reported ([here](https://www.wago.community/t/wago-pfc300-750-8302-and-wagoappsql-xxx-libs/2601)). In version 1.7.1.1 of the WagoAppSQL\_MySQL library, FbMySql\_Login seems to work fine, and reports xConnected = TRUE after initialisation. Unfortunately, whe I then move on to submit database requests via either FbMySql\_Execute or FbvMySql\_Query, the system reports the error: “MYSQL-ERROR: Not connected with database, LOGIN before use”.

There is a minor change to the arguments of FbMySql\_Login, which now includes the input refTLSContext. I have added this input, but the errors following database requests have not been resolved. Would be very grateful for any advice you could offer to help resolve this issue.
