Answered by:
Help with connect MySQL db PLEASEEE!!!

Question
-
Hey, please help me. Couldn't connect to server and connect my MySQL db.
In VS 2017 when I made a new UWP project, cannot connect to my db.
In special program "MySQL Workbench" I can and connected to my server and all my databases and tables are visible, but when I go to Visual Studio and write code for connection, it's get Error "Couldn't connect to server" for more information and understanding me look at screenshoots.
Maybe you're can talk me what I need todo for work it!
Helpppp!!!
Sorry for my Bad English and Help me connect to my database and get all my tables and db. Thx sooo
much!!!
Sunday, December 9, 2018 8:28 PM
Answers
-
Hi Andrey Murawew,
If your question has been solved, please mark the useful reply as answer to close the thread. This will make answer searching easier in the forum and be beneficial to community members.
Best Regards,
Wendy
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.- Marked as answer by Andrey Murawew Wednesday, January 8, 2020 1:10 PM
Monday, December 10, 2018 2:13 AM
All replies
-
Can you just post the exception message?Sunday, December 9, 2018 8:43 PM
-
Exception message is "Couldn't connect to server"Sunday, December 9, 2018 8:50 PM
-
Maybe I give you another code (it too not connected. but there Exception are displayingSunday, December 9, 2018 8:51 PM
-
Thanks for your support, i'm don't know but, another code are worked. If it's broken again I talk to you. Thanks a lotSunday, December 9, 2018 9:00 PM
-
Thanks for your support, i'm don't know but, another code are worked. If it's broken again I talk to you. Thanks a lot
It's a miracle!
Sunday, December 9, 2018 9:06 PM -
:( not a miracle unfortunatelly
Ok let's get start again.
When I Create new UWP project and my minimal version 10240 VS get me this exception
It's shows when I use next solution:
Minimal platform version of UWP app 10240
In my references I use Nuget package
"MySqlConnector" version 0.48.0 (last version) or
MySQL.Data version 6.10.8 (previos version)
Visual Studio gets me this exception;
If I use next configuration:
Minimal platform version of UWP app 17763
And I try just with MySQL.Data version 8.0.13 (LATEST version)
All works great and server connected!
Unfortunately MySQL.Data version 8.0.13 doesn't support minimal UWP 10240. But I wanna make app for all version of Windows 10 (from 10240 "Release" to Latest (Right Now 17763 "October Update"
Please help me and give feedback!
THANKSSSS Again!!!!
- Edited by Andrey Murawew Sunday, December 9, 2018 9:56 PM
Sunday, December 9, 2018 9:55 PM -
All data are loaded successfully if use second configuration.
But I need it works like first configuration (In all version of Windows) without exceptions
- Edited by Andrey Murawew Sunday, December 9, 2018 10:03 PM
Sunday, December 9, 2018 10:01 PM -
When I Create new UWP project and my minimal version 10240 VS get me this exception
This is where you need to post.
https://social.msdn.microsoft.com/forums/en-us/home?forum=wpdevelop
Sunday, December 9, 2018 10:11 PM -
Ok I understanding it's works just minimal platform 16299 or higher.
10240 isn't support connect to MySQL server :(((
Thanks for answer of my question. Good luck to you!!!
- Proposed as answer by Wendy ZangMicrosoft contingent staff Monday, December 10, 2018 2:12 AM
Sunday, December 9, 2018 10:29 PM -
Hi Andrey Murawew,
If your question has been solved, please mark the useful reply as answer to close the thread. This will make answer searching easier in the forum and be beneficial to community members.
Best Regards,
Wendy
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.- Marked as answer by Andrey Murawew Wednesday, January 8, 2020 1:10 PM
Monday, December 10, 2018 2:13 AM