Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Update for mysql 5.5 and config-win.h not visible issue</p> <p>In 5.5 config-win. has actually moved to Connector separate folder in windows. i.e. smth like:</p> <p>C:\Program Files\MySQL\Connector C 6.0.2\include</p> <p>To overcome the problem one need not only to download "dev bits" (which actually connects the <em>connector</em>) but also to modify mysqldb install scripts to add the include folder. I've done a quick dirty fix as that. </p> <p>site.cfg:</p> <pre><code># Windows connector libs for MySQL. connector = C:\Program Files\MySQL\Connector C 6.0.2 </code></pre> <p>in setup_windows.py locate the line </p> <pre><code>include_dirs = [ os.path.join(mysql_root, r'include') ]: </code></pre> <p>and add:</p> <pre><code>include_dirs = [ os.path.join(options['connector'], r'include') ] </code></pre> <p>after it.</p> <p>Ugly but works until mysqldb authors will change the behaviour.</p> <hr> <p>Almost forgot to mention. In the same manner one needs to add similar additional entry for libs:</p> <pre><code>library_dirs = [ os.path.join(options['connector'], r'lib\opt') ] </code></pre> <p>i.e. your setup_windows.py looks pretty much like:</p> <pre><code>... library_dirs = [ os.path.join(mysql_root, r'lib\opt') ] library_dirs = [ os.path.join(options['connector'], r'lib\opt') ] libraries = [ 'kernel32', 'advapi32', 'wsock32', client ] include_dirs = [ os.path.join(mysql_root, r'include') ] include_dirs = [ os.path.join(options['connector'], r'include') ] extra_compile_args = [ '/Zl' ] ... </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload