MySQL Database Connection With Visual Studio 2013 Preview

后端 未结 4 1506
旧时难觅i
旧时难觅i 2020-12-09 06:38

I was using Visual Studio 2013 Preview but I couldn\'t find MySQL database in the \"choose data source\" dialog window, I even installed the latest version of MySQL connecto

4条回答
  •  庸人自扰
    2020-12-09 07:08

    I use Visual Studio 2012. Correct process of installing MySql will help you avoid any such error. At least this is what i did.

    1. Download and install visual studio 2012
    2. Download and install mysql-installer-community-5.6.17.0
    3. Download and install mysql-connector-net-6.8.3
    4. Download and install mysql-visualstudio-plugin-1.1.1
    5. Order is important and each item too.
    6. Open Visual Studio and Create new project
    7. Add reference of MySql.Data in solution explorer after right clicking the project name
    8. View server explorer
    9. Add new connection and fill the spaces correctly
    10. At the top of your code, add using MySql.Data.MySqlClient

提交回复
热议问题