• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. PCB Design
  3. CIS+MariaDB+recent hotfixes=problem (and solution!)

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 165
  • Views 1363
  • Members are here 0
More Content
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

CIS+MariaDB+recent hotfixes=problem (and solution!)

ChuckLane
ChuckLane over 7 years ago

I run Capture CIS on Win7, querying a MariaDB (MySQL clone) on linux.  Recently, I upgraded the ODBC used to query the database to the most recent version (3.0 MariaDB connector), to upgrade the SSL security of the connection. 

CIS started failing with SQL syntax error messages, complaining about names delimited with double quotes (instead of single quotes or 'accent grave' backwards single quotes), which is what MySQL and MariaDB want.

Yes, I had set the "Table Qualifier=``````  " etc lines in Capture.ini. I had it that way before the change, as well.  Lots of thrashing around to try and fix it, and so I thought I'd share the problems and the (one, maybe two) solutions.

First, "base release" Capture 17.2 works fine with the "Table Qualifier" "Field Qualifier" entries in Capture.ini. However, more recent hotfixes (hotfix 33 and above, maybe earlier ones) FAILED. They ignored the "... Qualifier" entries entirely, always using double quotes to query the database.

It looks, as far as I can tell by dumping strings from near where "Table Qualifier" shows up in the code, that there is a new configuration variable "UseDatabaseProvidedQualifier". Not documented, didn't try it, but using it might be a fix.

A fix that *did* work was adding a SQL string to the ODBC connection setup:

      SET sql_mode='ANSI_QUOTES';

Works for MariaDB, so probably works for MySQL.

  • Cancel
Parents
  • ChuckLane
    ChuckLane over 7 years ago

    Sorry, the post text editor had problems with the backwards quotes. It should be just one `  in the config string.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • ChuckLane
    ChuckLane over 7 years ago

    Sorry, the post text editor had problems with the backwards quotes. It should be just one `  in the config string.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information