dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / InvalidCharsetException Class
Members

In This Topic
    InvalidCharsetException Class
    In This Topic
    The exception that occurs when the client character set differs from the server character set.
    Syntax
    Remarks
    This exception occurs when connecting to the MySQL server with version less than 4.1, that does not allow to set charset during session. Charset parameter in the connection string does not affect server character set. It is used for decoding data, retrived from server, that's why dotConnect for MySQL raises an InvalidCharsetException exception if the client character set differs from the server one.
    Inheritance Hierarchy

    System.Object
       System.Exception
          Devart.Common.DbProviderException
             Devart.Data.MySql.MySqlDbProviderException
                Devart.Data.MySql.InvalidCharsetException

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also