Results 1 to 7 of 7

Thread: MySQL Connector for .Net

  1. #1
    Join Date
    Mar 2005
    Location
    Hampshire
    Posts
    432
    Thanks
    4
    Thanked 3 Times in 3 Posts

    Default MySQL Connector for .Net

    Any one come across this issue. The MySQL connector will not work in Medium Trust. There are 2 issues one that can be worked around by recompiling the connector and the second due to trust issues. Below is a link to some info that I found on the web

    http://www.riversprint.com/rs/articl...QLWithNET.aspx

    If anyone has any ideas on the best way to use MySQL with ASP.net please shout.

    Ken

    Just chill

  2. #2
    Join Date
    Jan 2006
    Posts
    419
    Thanks
    2
    Thanked 16 Times in 16 Posts

    Default

    Can I ask why would you not want to use sql server in conjuntion with asp.net?

  3. #3
    Join Date
    Feb 2004
    Posts
    4,903
    Thanks
    2
    Thanked 134 Times in 113 Posts

    Default

    Interesting... I can make those changes to our custom .NET trust config if necessary?
    Warren Ashcroft
    Red Fox UK Limited - Pioneers in Internet Technology
    http://www.redfoxuk.com
    w.ashcroft [at] redfoxuk.com

    NOTE: Forum Private Messaging should not be used to contact staff with support queries.

  4. #4
    Join Date
    Jun 2005
    Posts
    1,081
    Thanks
    4
    Thanked 15 Times in 15 Posts

    Default

    I for one am up for having the SockPermission added since a custom component I use for email would then work

    However, it might be better to put the mySql Connector in the GAC depending on how many users are using it.

    Personally I feel anyone seriously using .Net would look at using MS SQL especially as the developer edition is freely available.

    Before finishing, I will agree that there are times you would want to use mySql or even Oracle over MS SQL which mostly would be due to locking issues.

  5. #5
    Join Date
    Mar 2005
    Location
    Hampshire
    Posts
    432
    Thanks
    4
    Thanked 3 Times in 3 Posts

    Default

    Quote Originally Posted by jimlewis View Post
    Can I ask why would you not want to use sql server in conjuntion with asp.net?
    The simple reason is that I'm wanting to hook into my vBulliten database for the user info, and it means that I don't need to use 2 different databases for the domain.

    Just chill

  6. #6
    Join Date
    Mar 2005
    Location
    Hampshire
    Posts
    432
    Thanks
    4
    Thanked 3 Times in 3 Posts

    Default

    Quote Originally Posted by Warren Ashcroft View Post
    Interesting... I can make those changes to our custom .NET trust config if necessary?
    The sample that they provide in the link that I placed is too open for you to use I think. However, I have emailed you details on how it can be done and locked down more. Basically, what I have emailed you is a method that you can lockdown so that socket permissions are only granted that enable you to connect to MySql. I have done some testing, but you would need to make sure that you are happy with the security.

    Ken

    Just chill

  7. #7
    Join Date
    Feb 2004
    Posts
    4,903
    Thanks
    2
    Thanked 134 Times in 113 Posts

    Default

    Quote Originally Posted by Tanzy View Post
    The sample that they provide in the link that I placed is too open for you to use I think. However, I have emailed you details on how it can be done and locked down more. Basically, what I have emailed you is a method that you can lockdown so that socket permissions are only granted that enable you to connect to MySql. I have done some testing, but you would need to make sure that you are happy with the security.

    Ken
    Thanks - I will look into this and hopefully should be able to get it added asap.
    Warren Ashcroft
    Red Fox UK Limited - Pioneers in Internet Technology
    http://www.redfoxuk.com
    w.ashcroft [at] redfoxuk.com

    NOTE: Forum Private Messaging should not be used to contact staff with support queries.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. asp.net connection to mysql
    By keyur_ptl in forum ASP.NET
    Replies: 1
    Last Post: 27th January 2006, 11:26 AM
  2. ASP.NET 2 connection to MySQL - me too
    By madwab in forum ASP.NET
    Replies: 37
    Last Post: 10th January 2006, 06:13 AM
  3. ASP.NET 2 connection to MySQL
    By captain in forum ASP.NET
    Replies: 4
    Last Post: 27th December 2005, 07:07 PM

Bookmarks

Posting Permissions

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