Menu

Reference MySql.Data.MySqlClient

2005-05-12
2013-03-07
  • Nobody/Anonymous

    Hi,

    The FrameWork 2.2, imports in the class a reference MySql.Data.MySqlClient. Where find this is reference?

    Tkans.

     
    • Richard Banks

      Richard Banks - 2005-05-13

      You can download the MySQL ADO.NET kit from mysql.com, or you can get the install kit from CVS (in the ADOKits directory).

      If you don't actually need MySQL support just exclude the AF_MySql provider from your project.  You only need to compile providers for databases that you will use.

      - Richard

       
    • Nobody/Anonymous

      In the version 2.0 the class used for to make connection are the CMySqlDatabase.vb and CMsSqlDatabase.vb. It seems what the class used for connection in the version 2.2, for SQL Server, are the CMySQLConnection.vb and CMySqlDatabase.vb. This is truth? Exists to many differences for to use the new version? I can to add this is class in the framework project and remove the project reference for the AF_MySql?

      Thanks.

       
      • Richard Banks

        Richard Banks - 2005-05-15

        Version 2.2 has removed the data access classes from the framework and replaced them with a plug-in architecture.

        Now the framework uses "providers".  You will find the plug-in providers work much the same as before, however ADO dependencies are not in the framework anymore.  Also the database XML changes from class="CMySqlDatabase" to provider="AF_MySQL".

        Just put the AF_MySQL.DLL file in the same location as the executable, or reference it using a path name in the XML file.

        Other major differences are the "standard" naming conventions, and a number of fixes as documented in the readme.html file in the download kit.

        - Richard

         

Log in to post a comment.