Skip to content

Instantly share code, notes, and snippets.

@gridphp
Created June 27, 2022 07:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gridphp/7ecb1fdf0153f7af1bedca8f60683902 to your computer and use it in GitHub Desktop.
Save gridphp/7ecb1fdf0153f7af1bedca8f60683902 to your computer and use it in GitHub Desktop.
Grid4PHP MySQL Configuration.
<?php
// Grid4PHP Database Connection Settings.
// Set of constants defined.
define("PHPGRID_DBTYPE","mysqli"); // Replace mysqli with one of these: mysqli,oci8 (for oracle),mssqlnative,postgres,sybase.
define("PHPGRID_DBHOST","localhost"); // The Database Host
define("PHPGRID_DBUSER","root"); // The Database User
define("PHPGRID_DBPASS","dbpass123"); // The Database Password
define("PHPGRID_DBNAME","griddemo"); // The Database Name
// Database charset
define("PHPGRID_DBCHARSET","utf8");
// Basepath for library
define("PHPGRID_LIBPATH",dirname(__FILE__).DIRECTORY_SEPARATOR."lib".DIRECTORY_SEPARATOR);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment