<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
</head>
<body>
<p style="margin: 0pt;">
<span>
<span></span>
</span>
</p>
<p style="margin: 0px; ">Hi,</p>
<p style="margin: 0px; "> </p>
<p style="margin: 0px; ">I tried connecting to a mysql 5.5 database and used the fpc unit mysql51.</p>
<p style="margin: 0px; ">There are only examples for 3 and 4, so I started with testdb4.pp and adapted it. </p>
<p style="margin: 0px; ">It turned out that the MYSQL record is missing some new fields, so the mysql_init overwrites the memory behind.</p>
<p style="margin: 0px; ">After adding some dummy bytes at the end it worked nice. </p>
<p style="margin: 0px; "> </p>
<p style="margin: 0px; ">Is there a better way?</p>
<p style="margin: 0px; ">If not, maybe this should be done by default? </p>
<p style="margin: 0px; "> </p>
<p style="margin: 0px; ">Mattias</p>
<p style="margin: 0px; "> </p>
</body>
</html>