Answered by:
Windows Phone & MYSQL

Question
-
Can I integrate mysql database in windows store or windows phone application like I can integrate it in C# windows form application by installing mysql and adding mysql.data assembly in program.
- Moved by Mike Feng Friday, April 26, 2013 12:17 PM
Tuesday, April 23, 2013 9:25 PM
Answers
-
No. You'll need to use something like OData to provide a means to access your data. See: http://blogs.msdn.com/b/interoperability/archive/2012/02/09/open-source-odata-tools-for-mysql-and-php-developers.aspx
The main Assemblies for desktop will not work on Phone or Store apps.
Reed Copsey, Jr. - http://reedcopsey.com
If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful".- Proposed as answer by Pantelis44999 Thursday, April 25, 2013 6:13 AM
- Marked as answer by Zoltán HorváthMicrosoft community contributor, Moderator Monday, May 6, 2013 9:56 AM
Tuesday, April 23, 2013 9:31 PM -
Hi,
additionally to the post above: You cannot directly access a MySQL database. What you can do is to create a service wrapper for your database operations. This will expose all operations you'll need in a simple way (f.e. as an ASP.NET Web API or WCF service).
Best Regards. When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. This helps us build a healthy and positive community.
- Proposed as answer by Mike Feng Friday, April 26, 2013 12:17 PM
- Marked as answer by Zoltán HorváthMicrosoft community contributor, Moderator Monday, May 6, 2013 9:56 AM
Wednesday, April 24, 2013 4:29 PM
All replies
-
No. You'll need to use something like OData to provide a means to access your data. See: http://blogs.msdn.com/b/interoperability/archive/2012/02/09/open-source-odata-tools-for-mysql-and-php-developers.aspx
The main Assemblies for desktop will not work on Phone or Store apps.
Reed Copsey, Jr. - http://reedcopsey.com
If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful".- Proposed as answer by Pantelis44999 Thursday, April 25, 2013 6:13 AM
- Marked as answer by Zoltán HorváthMicrosoft community contributor, Moderator Monday, May 6, 2013 9:56 AM
Tuesday, April 23, 2013 9:31 PM -
Hi,
additionally to the post above: You cannot directly access a MySQL database. What you can do is to create a service wrapper for your database operations. This will expose all operations you'll need in a simple way (f.e. as an ASP.NET Web API or WCF service).
Best Regards. When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. This helps us build a healthy and positive community.
- Proposed as answer by Mike Feng Friday, April 26, 2013 12:17 PM
- Marked as answer by Zoltán HorváthMicrosoft community contributor, Moderator Monday, May 6, 2013 9:56 AM
Wednesday, April 24, 2013 4:29 PM -
Has your question been answered? If so, please mark the appropriate post as answer so other community members with a similar question can find help faster.
Best Regards. When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. This helps us build a healthy and positive community.
Tuesday, April 30, 2013 11:09 PM -
Hi Syed Mudassir Shah,
I not try before, but using i more recommend you using Azure SQL or php.
Thank youMonday, November 17, 2014 7:12 AM