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
-1
votes
1 answer

Mysqli: skip rows after use_result

I pass arbitrary multi-statement SQL to Mysqli (using mysqlnd) and retrieve the result set. SELECT statements can contain LIMIT clause (or not). What i need is to limit fetched rows to 1000 (hardcoded limit). That's what i have: define('SAFE_ROWS',…
Bars
  • 194
  • 1
  • 7
-1
votes
1 answer

Should I use mysqlnd over libmysql?

I bought VPS from Hostgator to download mysqlnd (because I used a lot get_result method) but they said that they will delete libmysql and will install mysqlnd and also it will be my responsibility to maintain mysqlnd (I have no experience to…
Alex
  • 1
  • 4
-1
votes
1 answer

Convert Mysqli query without using MYSQLND?

I don't have the mysqlnd driver on my shared server. How do I write this: $stmt = $conn->prepare($query); $stmt->execute(); $result = $stmt->get_result(); $servers = mysqli_fetch_all($result,MYSQLI_NUM); Without having the mysqlnd driver?
odannyc
  • 717
  • 9
  • 25
-1
votes
1 answer

How to install or enable mysqlnd in CentOS 6.6 [DirectAdmin]

How to install or enable mysqlnd in CentOS 6.6 and php 5.5 ? directadmin installed in server and yum commands not working. i use directAdmin CustomBuild like this. --with-mysqli=mysqlnd \ --with-pdo-mysql=mysqlnd \ --with-mysql=mysqlnd…
MasterKOD
  • 1
  • 1
  • 2
-1
votes
1 answer

Where command for MYSQLnd install must be used?

I must use this command to install MySQLnd on OS X. But I can't understand where exactly must I use it? ./configure --with-mysql=mysqlnd \ --with-mysqli=mysqlnd \ --with-pdo-mysql=mysqlnd \ [other options]
user3475724
-2
votes
1 answer

Wordpress blog with technical difficulties after migrating to a PHP 7.3 server and even disabling all plugins

I'm trying to complete a migration to a new server that has PHP 7.3. I come from a server that had PHP 5.6 and I've successfully migrated other WP blogs from the old server to the new one without any problems. The error I'm seeing is a grey page…
xarlymg89
  • 2,552
  • 2
  • 27
  • 41
1 2 3
8
9