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

    See Also