Book a Demo

Author Topic: Authentication not compatible with MySQL  (Read 2287 times)

smarques

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Authentication not compatible with MySQL
« on: February 01, 2006, 12:22:47 pm »
The current Windows Authentication is not compatible with MySQL.

The problem is the <domain>\<username> query uses only one backslash. MySQL needs double-backslash.

http://dev.mysql.com/doc/refman/5.0/en/string-syntax.html

I traced the ODBC connection. The problematic select statement was:

Select UserID from 't_secuser' where UserLogin='MyDomain\user2'

According to MySQL the backslash character should be inserted in queries as '\\'. The above query will not work as intended.

This prevents the use of Windows Authentication with MySQL.



alesliehughes

  • EA Administrator
  • EA User
  • *****
  • Posts: 104
  • Karma: +0/-0
    • View Profile
Re: Authentication not compatible with MySQL
« Reply #1 on: February 02, 2006, 01:57:27 pm »
Thanks for you detailed report.

The bug has been fixed and will in the next build of EA (787)

Alistair
« Last Edit: February 02, 2006, 02:07:07 pm by alesliehughes »