Sudden "non-connection" to remote mysql database with addition of an MBS plugin

I built an app with xojo at the end of 2024 with my server being mysql hosted on digital ocean. i use the xojo mysql plugin. i am currently running builds with version 2024r2.1…

i have never had a problem connecting to my server- and still don’t in general.

However:

i installed the MBS utility plugin and when i build my App, and move it over to a different laptop and try to run it, it wont connect to the server automatically.

Now, if i run the same build on my personal laptop(that i did the build on), it will startup and run like normal. it will run from within Xojo when i test/debug it. An older version of my app was working on this second laptop until i put the updated app with the MBS plugins into place.

I am NOT getting an MBS error at startup - the app loads and starts but fails to make the initial connection to my server.

seems odd to me

Thanks for any suggestions

Check the transport protocol level of such server, see if it accepts TLS1.1, 1.2, 1.3. Tell what OS you are using and version. I had issues with servers accepting TLS1.3 only and clients on Windows 7, 8 and 10 not supporting it (only Windows 11). Most servers are accepting TLS1.2 and 1.3 only now and old apps/plugins only TLS1.0 and TLS1.1 ready also die.

What is the error you get from the MySQL connection?

There is a message in the exception or in the database object.

can’t connect to MySql server on ‘167.71.xx.xxx’ ((10051)

10051 is “Unreachable”. Can’t connect to IP and Port. Server down, network issues, firewalls, protocol issues as I said maybe are included.

when i try to start a prior version of my application i get this error message:

You need Christian help for sure.

not sure how to check the stuff you mentioned previously, but my personal laptop is wind10pro and the laptop that is not working now is 11pro. man its a good thing i have not tried to put this update on my other laptops… ugh

Win 11 is TLS1.3 capable, so this part is not a problem anymore. The problem is elsewhere.

Now Xojo misses one of it’s own DLLs in the Libs folder.
Please check what you have on both computers.
You need to copy the whole folder of files Xojo outputs on building.

I went thru and created a new ‘deploy’ folder to deploy my app. The app WILL run from within the folder on my laptop desktop. (windows 10)

when i put the folder, via usb drive, onto the windows 11 laptop, it simply will not run. My app will appear to try to start up and then just - doesn’t.

now i have gone from won’t load a plugin to won’t startup at all…..

I got a bunch of error messages when trying to start my app after a fresh rebuild this morning….(it could have been 50-100 or more, I eventually hit cancel)

This same build will run on my windows 10 laptop that I build it on. I am getting all these errors / problems when I attempt to start it on a windows 11 laptop.

I am building the app with xojo 2024 r2.1

Is this some sort of windows11 incompatibility?

Can you make screenshots with the computer, not with your phone?

See
Use Snipping Tool to capture screenshots

Second, what is in the app folder?
Did you copy the Libs folder?
Seems like a few DLLs are missing.

All three of those errors messages mean the same thing: you didn’t copy the whole build folder correctly.

2 Likes

This ended up being some sort of messed up registry? thing on that computer. I took a chance and put the deploy folder onto a different computer and it worked perfectly first try. Thank you all for considering the problem