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

How do I load the mysqlnd library?

I am building an application which includes prepared mysqli statements. I use Object oriented PHP. The day before yesterday everything was working great. Yesterday I updated my Ubuntu machine (which I currently use as web server). Today I was…
user3892683
0
votes
1 answer

Call to undefined method mysqli_stmt::get_result() AND mysqlnd is installed

I have a problem with get_result() function. The php script on my localhost working well but on the server have this error Fatal error: Call to undefined method mysqli_stmt::get_result() I searched many times but I didn't find the solution. My…
user2976078
  • 75
  • 1
  • 2
  • 10
0
votes
0 answers

mysqlnd => memory_get_usage() after query() doesn't show memory usage

This is in the documentation: The MySQL Native Driver manages memory different than the MySQL Client Library. The libraries differ in the way memory is allocated and released, how memory is allocated in chunks while reading results from …
Dusan Cani
  • 93
  • 9
0
votes
1 answer

Can't get mysqli_result::$fetch_all working

I'm trying to get the fetch_all function working with mysqli. I know I need PHP > 5.3 and mysqlnd. My server runs Debian Wheezy so I have PHP 5.5. I just removed php5-mysql and installed php5-mysqlnd. phpinfo() shows that mysqlnd is installed, but…
Compizfox
  • 748
  • 2
  • 7
  • 17
0
votes
0 answers

Trying to build PHP with MySQL Native Drivers

I am currently trying to build PHP 5.3.28 with Mysql native Drivers. This is what my configure script looks like: ./configure --prefix=/usr/local/php53 \ --with-config-file-path=/etc/php53 \ --with-config-file-scan-dir=/etc/php53/php.d…
0
votes
1 answer

PHP Script convertsion from Mysqlnd to mysqli

Anyone help me to find the alternative code for my script because it requires Mysqlnd and many online servers don't have this so if I use this code It will give me this error Fatal error: Call to undefined method mysqli_stmt::get_result() So I want…
user3423422
  • 23
  • 2
  • 8
0
votes
1 answer

SSH Install Mysqlnd - Package Not Found

I am trying to install Mysqlnd using ssh and the yum command but I keep getting the error that no such package exists. Can someone help me out? I have also tried yum search php-mysqlnd and there is no such package on the system.
user982853
  • 2,470
  • 14
  • 55
  • 82
0
votes
1 answer

Fatal error: Call to undefined method mysqli_stmt::get_result() with mysqlnd installed

Basically, I have noticed other people have had a similar issue but they haven't had Mysqlnd installed. Yet i still get this error: Fatal error: Call to undefined method mysqli_stmt::get_result() in... Yet I have the necessary drivers installed and…
mdixon18
  • 1,199
  • 4
  • 14
  • 35
0
votes
1 answer

I need to check my db to see if a username or email is already in use

I've started a thread or two so far but nothing has got resolved. I'm not able to use the mysqlnd because i'm using a shared hosting account with godaddy. All i need to do is check if my email address and/or username is in use; if they are in use…
cooking good
  • 1,416
  • 1
  • 14
  • 17
0
votes
1 answer

PHP: mysqlnd_ms don't replicate

I installed mysqlnd_ms extension for PHP. I want to route SELECT requests to the slave and UPDATE/INSERT requests to the master (load balancing). It works well, SELECT are made on the slave and INSERT of the master but nothing is synchronized and I…
0
votes
1 answer

Will removing the mysql driver and replacing it with mysqlnd break plesk?

I have the current set up. php 5.4.22, Plesk 11.0.9, CentOS 6.4 and MySQL 5. something I need to install php-mysqlnd but to do so I have to remove the php-mysql driver. My question is, is it possible to do this without breaking Plesk? Will Plesk…
robbmj
  • 16,085
  • 8
  • 38
  • 63
0
votes
2 answers

WAMPSERVER PHP MYSQL - (mysqlnd 5.0.10 error)

I am running WAMPSERVER (32 BITS & PHP 5.4) 2.4 Apache : 2.4.4 MySQL : 5.6.12 PHP : 5.4.16 PHPMyAdmin : 4.0.4 SqlBuddy : 1.3.3 XDebug : 2.2.3 on a Windows XP box locally and getting the following error: MySQL server 4.1.x, 5.1.x or above: mysqlnd…
John Doe
  • 225
  • 2
  • 5
  • 11
0
votes
2 answers

Properly detecting mysql higher than 5 on PHP 5.5 with mysqlnd

My application is using the following code to detect mysql higher than 5. It works well with PHP 5.2, 5.3 and 5.4. The trouble is with PHP 5.5 which uses mysqlnd by default so the script reports mysqlnd 5.0.11-dev - 20120503 - $Id:…
Spacedust
  • 931
  • 1
  • 11
  • 22
0
votes
1 answer

Change from php-mysqld to php-mysqlnd

I have a VPS with centOS 6.3 installed on it, i want to change from php-mysqld to php-mysqlnd (native driver) for better performance. But the problem is that i have a production website on the server with a huge database and phpmyadmin installed to…
Sibhood
  • 31
  • 1
  • 4
0
votes
0 answers

Connecting to MySQL 4.1 from PHP5.3.13 command line interface

Possible Duplicate: Cannot connect to MySQL 4.1+ using old authentication I am posting this question because I could not find any working solution. So please excuse. I am using mysql 5.5.24 and PHP 5.3.13 (both from WAMP2 installation) While I…
Kaippally
  • 96
  • 10
1 2 3
8
9