Questions tagged [mysqlnd]

The MySQL native driver for PHP (mysqlnd) is a drop-in replacement for the MySQL Client Library (libmysql) for the PHP script language.

Because MySQL Native Driver is written as a PHP extension, it is tightly coupled to the workings of PHP.

This leads to gains in efficiency, especially when it comes to memory usage, as the driver uses the PHP memory management system. It also supports the PHP memory limit. Using MySQL Native Driver leads to comparable or better performance than using MySQL Client Library, it always ensures the most efficient use of memory. One example of the memory efficiency is the fact that when using the MySQL Client Library, each row is stored in memory twice, whereas with the MySQL Native Driver each row is only stored once in memory.

126 questions
0
votes
1 answer

return more than 1 mysql entries with bind_result

I'm creating a page for my shop but I was using get_result, and after I finished everything I realised that HostGator couldn't allow me to have mysqlnd running. So I had to convert everything to bind_result instead but I'm in a dead end here…
Xenos K.
  • 5
  • 3
0
votes
1 answer

Unable to use mysqlnd methods

I am creating a WebService using Slim framework in php. it works well for POST REQUEST but when I use GET REQUEST I come across error stating Call to undefined method mysqli_stmt::get_result() I've created another file for testing purpose. which…
Mehvish Ali
  • 732
  • 2
  • 10
  • 34
0
votes
1 answer

mysqli does not work after installing mysqlnd on ubuntu

After installing php5-mysqlnd, php5-mysql is removed. I install php5-mysql, php5-mysqlnd is removed and I can use mysqli. However, I will received this error mysqli_real_connect(): Headers and client library minor version mismatch. Headers:50541…
0
votes
0 answers

Mysql Server Crash While copying single database using phpmyadmin?

Im starting a project in Cloud Azure. My machine is a 3.5GB RAM , 30Gb size. 4G os Swap just in case. Application we run uses mysqlnd server 5.6.28, and Apache/2.4.7 (Ubuntu) (preFork). My database size is around 1GB. Problem: yesterday i was…
Miguel
  • 3,349
  • 2
  • 32
  • 28
0
votes
1 answer

mysqlnd php_network_getaddresses: getaddrinfo failed: No such host is known

I followed this tutorial http://www.clusterdb.com/mysql-cluster/creating-a-simple-cluster-on-a-single-linux-host using this download from mysql site: mysql-cluster-gpl-7.3.10-linux-glibc2.5-x86_64.tar.gz I have this up and running on a Ubuntu…
Salvatore
  • 1
  • 1
0
votes
1 answer

"sudo yum install php55w-mysqlnd" conflict

I can't install the package php55w-mysqlnd using the command sudo yum install php55w-mysqlnd It always give me the error: Loaded plugins: fastestmirror, refresh-packagekit, replace Setting up Install Process Loading mirror speeds from cached…
Mark
  • 135
  • 1
  • 9
0
votes
1 answer

mysql vs mysqli. Is mysqli slower?

I'm finally switching to mysqli. However I have spotted a significant performance difference. I have a script which makes about 25.000 queries. The Script takes 15 seconds with mysqli and mysqlnd as driver And 10 seconds with MySQL and the old MySQL…
0
votes
1 answer

Fatal error: Call to undefined method mysqli_stmt::get_result() in

I am using prepared statements but I'm experiencing this problem: Fatal error: Call to undefined method mysqli_stmt::get_result() in ... I tried it in xampp and get_result(); works perfectly, however I have a dedicated server with cPanel/WHM…
Lesii
  • 33
  • 7
0
votes
0 answers

MySQLi_stmt::get_result()

I have a php app that is working perfectly offline (Windows). However, when I host it, I get a n error;Call to undefined method mysqli_stmt::get_result(). I know get_result() requires mysqlnd driver to work. I have noted that several web hosts using…
JOHN MAINA
  • 23
  • 10
0
votes
0 answers

PHP - Fatal error: Call to undefined method mysqli_stmt::get_result()

I moved my project to a cloud hosting and now I have some problems with it. As I know, mysqli_stmt::get_result() works only with mysql native driver. Also, according to the documentation, it has to be added when PHP is compiled. This is my…
darxysaq
  • 681
  • 2
  • 9
  • 12
0
votes
1 answer

MAMP 3.1 and MySQL PDO

I just grabbed the latest version of MAMP Pro (3.1) and installed it only to find that it removes MySQL PDO entirely. That's a problem since the framework I'm using requires PDO to connect to the database. I tried grabbing the extensions from the…
agentphoenix
  • 67
  • 2
  • 7
0
votes
1 answer

PHP mysqlnd/MySQL version

I've got an old machine running PHP 5.3.8 & MySQL 5.5.23 (found via mysql's "select version()" command). However, PHP's mysqlnd driver indicates MySQL 5.0.8. What gives? I know PHP on this machine needs to be upgraded, could that be the issue? Does…
hacklan07
  • 308
  • 4
  • 10
0
votes
2 answers

mysqli_real_connect() getting SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

We just upgraded to php 5.6 from php 5.4, and everything was working fine with our MySQL connecting using MySQLi and SSL. Our connection looks like: mysqli_real_connect($db, $host, $username, $password, $database, $port, $socket,…
Justin
  • 42,716
  • 77
  • 201
  • 296
0
votes
1 answer

Mysqlnd native driver not working even though loaded

The output of php -i | grep mysqlnd is: Client API version => mysqlnd 5.0.11-dev - 20120503 - $Id: 40933630edef551dfaca71298a83fad8d03d62d4 Client API library version => mysqlnd 5.0.11-dev - 20120503 - $Id:…
Gary Green
  • 22,045
  • 6
  • 49
  • 75
0
votes
1 answer

Error compiling mysqlnd_qc

I was trying to compile the mysqlnd_qc but failed. I'm running Ubuntu 14.04.1 and have installed PHP 5.6.5 from the launchpad repository https://launchpad.net/~ondrej/+archive/ubuntu/php5-5.6 . I have also installed libmemcached-dev in order to…
Frederick Zhang
  • 3,593
  • 4
  • 32
  • 54
1 2 3
8 9