Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>In MySQL 5.0.3, a new field type was introduced, to support fixed-point math with more accuracy. This new field type is identified in the MySQL protocol with a numeric value 246.</p> <p>If you have a MySQL server running 5.0.x or higher, and you use the <code>NUMERIC</code> or <code>DECIMAL</code>, it's incompatible with the <code>DECIMAL</code> field type used in the MySQL 4.x client.</p> <p><a href="http://dev.mysql.com/doc/refman/5.0/en/upgrading-from-previous-series.html" rel="nofollow noreferrer">http://dev.mysql.com/doc/refman/5.0/en/upgrading-from-previous-series.html</a> says:</p> <blockquote> <p>Because the MySQL 5.0 server has a new implementation of the <code>DECIMAL</code> data type, a problem may occur if the server is used by older clients that still are linked against MySQL 4.1 client libraries. If a client uses the binary client/server protocol to execute prepared statements that generate result sets containing numeric values, an error will be raised: <code>'Using unsupported buffer type: 246'</code></p> <p>This error occurs because the 4.1 client libraries do not support the new <code>MYSQL_TYPE_NEWDECIMAL</code> type value added in 5.0. There is no way to disable the new <code>DECIMAL</code> data type on the server side. You can avoid the problem by relinking the application with the client libraries from MySQL 5.0. </p> </blockquote> <p>Also see <a href="http://bugs.php.net/bug.php?id=35536" rel="nofollow noreferrer">http://bugs.php.net/bug.php?id=35536</a> </p> <p>You should be able to resolve this issue by upgrading your MySQL client library in PHP. Either rebuild PHP, or else just drop in a new MySQL client binary. </p> <p>Best of all would be to use the newer <strong><a href="http://dev.mysql.com/downloads/connector/php-mysqlnd/" rel="nofollow noreferrer">mysqlnd</a></strong> library, which gives you a lot of benefits to performance and functionality. That library is included in the source distribution of PHP 5.3 and later. It states in the FAQ that it <em>requires</em> PHP 5.3, which actually surprises me, but that's what they say.</p>
    singulars
    1. This table or related slice is empty.
    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. 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.
    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