MSSQL

QuestionsMSSQL
Dmitri asked 2 years ago

Hello,
I downloaded distr, changed config.php as bellow
define("PHPGRID_DBTYPE","{{mssql}}"); // mysql,oci8(for oracle),mssql,postgres,sybase
define("PHPGRID_DBHOST","{{my_host}}");
define("PHPGRID_DBUSER","{{my_user}}");
define("PHPGRID_DBPASS","{{my_pass}}");
define("PHPGRID_DBNAME","{{my_db}}");

harcoded adodb.inc.php as bellow
$file = ADODB_DIR."\drivers\adodb-mssql.inc.php";
//$file = ADODB_DIR."/drivers/adodb-".$db.".inc.php";

and see the next error in main page:
Syntax error in file: C:wwwphpgridlibincadodbdriversadodb-mssql.inc.php
ADONewConnection: Unable to load database driver ''

can you help me?
thank you,
Dmitri

2 Answers
Dmitri answered 2 years ago

deleted {{ and }}

error dissapeared – and I see nothing

Abu Ghufran answered 2 years ago

Hi Dmitri,

Currently our downloaded package demos work on mysql.
To test-run grid on sql server, you can refer demos > loading > sqlsvr demo code.

You don't need to include any external file there.

Your Answer

20 + 19 =

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!