I recently purchased gridphp 2.9.
I first installed gripphp on server linux php 7.01 and mariaDB 10.1.31, and on the first screen of the website
MySQL Native Driver (msqlnd) required
Please check your database connection configuration.
What should I do in this cas
e?
Hi,
It looks like mysql is not configured correctly.
Please test your php-mysql connection in an independent file that does not use datagrid and then send that code here. I’ll then suggest you the datagrid configuration.
Also send your current datagrid config.php
Same issue: config file:
// PHP Grid database connection settings, Only need to update these in new project
// replace {{dbtype}} with one of these: mysqli,oci8 (for oracle),mssqlnative,postgres,sybase
define(“PHPGRID_DBTYPE”,”mysqli”);
define(“PHPGRID_DBHOST”,”localhost”);
define(“PHPGRID_DBUSER”,”username”);
define(“PHPGRID_DBPASS”,”pwd”);
define(“PHPGRID_DBNAME”,”dbname”);
// database charset
define(“PHPGRID_DBCHARSET”,”utf8″);
// Basepath for lib
define(“PHPGRID_LIBPATH”,dirname(__FILE__).DIRECTORY_SEPARATOR.”lib”.DIRECTORY_SEPARATOR);
I’ve tested in an independent file, and It works. Please help