Results 1 to 10 of 10

Thread: [RESOLVED] VS 2013 MVC and MySQL Issue

  1. #1

    Thread Starter
    Lively Member FunkySloth's Avatar
    Join Date
    Aug 2016
    Posts
    91

    Resolved [RESOLVED] VS 2013 MVC and MySQL Issue

    Hi guys,

    Can anyone help me how to add the data source of MySql to my Entity Framework?

    I follow some instruction about installing connector, mysql for visual studio yet I'm unable to found MySQL to my Data Source.

    Thank you

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,344

    Re: VS 2013 MVC and MySQL Issue

    Did you read this on the download page for Connector/Net:
    Starting with version 6.7, Connector/Net will no longer include the MySQL for Visual Studio integration. That functionality is now available in a separate product called MySQL for Visual Studio available using the MySQL Installer for Windows.
    Did you install that product?

  3. #3

    Thread Starter
    Lively Member FunkySloth's Avatar
    Join Date
    Aug 2016
    Posts
    91

    Re: VS 2013 MVC and MySQL Issue

    Yes I installed that yet no luck

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,344

    Re: VS 2013 MVC and MySQL Issue

    So what instructions did you follow, what did you actually do and what actually happened? There's no point our just providing instructions here when you have presumably already tried to follow some and failed.

  5. #5

    Thread Starter
    Lively Member FunkySloth's Avatar
    Join Date
    Aug 2016
    Posts
    91

    Re: VS 2013 MVC and MySQL Issue

    Basically I installed the latest Connector which is 6.9 and then I also downloaded the MySQL for Visual Studio the latest version also.

    After installing those, the said Data Source should be available now but it didn't.

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,344

    Re: VS 2013 MVC and MySQL Issue

    Quote Originally Posted by FunkySloth View Post
    After installing those, the said Data Source should be available now but it didn't.
    And how do we know that it's not the case that, in fact, it actually is available and you just didn't look for it properly? Please try again and be less vague this time.

  7. #7

    Thread Starter
    Lively Member FunkySloth's Avatar
    Join Date
    Aug 2016
    Posts
    91

    Re: VS 2013 MVC and MySQL Issue

    Okay gonna uninstall all, and will check what will happen.

  8. #8
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,344

    Re: VS 2013 MVC and MySQL Issue

    When I said "try again" I meant try again to answer the question I posed in post #4. Please WLWAYS provide a FULL and CLEAR explanation of the problem. If you're vague then we have to guess and that's generally a waste of everyone's time.

  9. #9

    Thread Starter
    Lively Member FunkySloth's Avatar
    Join Date
    Aug 2016
    Posts
    91

    Re: VS 2013 MVC and MySQL Issue

    Hi JM,

    This is the full instruction that I followed:

    1. Download MySQL Installer, use the smaller of the two if you have a fast or fat connection to the internet.
    2. MySQL Connector/Net Developer Guide
    3. 4.2 Making a Connection
    4. 5.1.1 The MySqlConnection Object (Following this tutorial will yield a successful connection, but you have to make sure you have your references or nugget's set correctly)

    And then at number 2, I also follow the guides there on how to install and more.
    Last edited by FunkySloth; Oct 18th, 2017 at 07:32 PM.

  10. #10

    Thread Starter
    Lively Member FunkySloth's Avatar
    Join Date
    Aug 2016
    Posts
    91

    Re: VS 2013 MVC and MySQL Issue

    Got it JM, I re-installed everything and it work now.

    Thank you very much

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width