[racktables-users] Re: An error has occured in [getRackRowInfo()].

Denis,

I have created 3 rack rows.

This should give 3 records for the SELECT in question.

well it seem that "dict_key = 50000" would select only 1, wouldnt it?

# Error: 2036 (CR_UNSUPPORTED_PARAM_TYPE)
Message: Using unsupported buffer type: %d (parameter: %d)

I am not sure, but as long as the error is only visible from PHP, your
php-mysql module may be trying to use protocol features incompatible
with your server. The first places to look into would be output of PHP's
phpinfo() and myslq client's "status". I don't recall seeing this error
before, especially in this function.

A tad more about my setup
- running as guest on xen virtual server ubuntu dapper LTS.
- mysql:
mysql> status
--------------
mysql  Ver 14.12 Distrib 5.0.22, for pc-linux-gnu (i486) using readline 5.1

Connection id:          334
Current database:       
Current user:           root@localhost
SSL:                    Not in use
Current pager:          stdout
Using outfile:          ''
Using delimiter:        ;
Server version:         5.0.22-Debian_0ubuntu6.06.11-log
Protocol version:       10
Connection:             Localhost via UNIX socket
Server characterset:    utf8
Db     characterset:    utf8
Client characterset:    latin1
Conn.  characterset:    latin1
UNIX socket:            /var/run/mysqld/mysqld.sock
Uptime:                 2 hours 22 min 11 sec

Threads: 1  Questions: 11666  Slow queries: 0  Opens: 0  Flush tables: 1  Open 
tables: 49  Queries per second avg: 1.367
--------------

- phpinfo

mysql
MySQL Support   enabled
Active Persistent Links         0
Active Links    0
Client API version      5.0.22
MYSQL_MODULE_TYPE       external
MYSQL_SOCKET    /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE   -I/usr/include/mysql
MYSQL_LIBS      -L/usr/lib -lmysqlclient

Directive       Local Value     Master Value
mysql.allow_persistent  On      On
mysql.connect_timeout   60      60
mysql.default_host      no value        no value
mysql.default_password  no value        no value
mysql.default_port      no value        no value
mysql.default_socket    no value        no value
mysql.default_user      no value        no value
mysql.max_links Unlimited       Unlimited
mysql.max_persistent    Unlimited       Unlimited
mysql.trace_mode        Off     Off

mysqli
MysqlI Support  enabled
Client API version      5.0.22
MYSQLI_SOCKET   /var/run/mysqld/mysqld.sock

Directive       Local Value     Master Value
mysqli.default_host     no value        no value
mysqli.default_port     3306    3306
mysqli.default_pw       no value        no value
mysqli.default_socket   no value        no value
mysqli.default_user     no value        no value
mysqli.max_links        Unlimited       Unlimited
mysqli.reconnect        Off     Off

PDO
PDO support     enabled
PDO drivers     mysql

pdo_mysql
PDO Driver for MySQL, client library version    4.1.15


- PDO compiled via PECL following this howto (dot for dot)

http://bhiv.com/getting-pdo-to-work-with-ubuntus-606-lts-dapper-drake/

Is there anything that strikes a bell?
Myself I don't see anything wrong there, unfortunately.

--
pgp-key 0x1C655CAB

Other related posts: