locked
Can Visual Studio 2012 Express connect to MySQL Database? RRS feed

  • Question

  • User384818212 posted

    Is it possible to connect VS 2012 Express to MySQL?  I have downloaded all the necessary MySQL connectors, but can't find where I can connect VS 2012 Express to a MySQL Database.  If it is possible, can someone please point me in the right direction?

    Thanks Dave....

    Sunday, September 22, 2013 12:31 PM

Answers

  • User1508394307 posted

    Dave,

    You can connect to MySQL using the Express editions of Visual Studio. The limitation, however, is that you can't use the tools in the designer as, like you've noticed, only Microsoft's own connectors are available. However, if you do your database connectivity in code (just add the MySql.Data.MySqlClient namespace then the MySQL ADO.NET datatypes will become available to you) then it'll work fine.

    See original answer here.

    Hope this helps.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, September 22, 2013 12:44 PM