MSSQL

QuestionsMSSQL
Dmitri asked 8 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 8 years ago

deleted {{ and }}

error dissapeared – and I see nothing

Abu Ghufran answered 8 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

19 + 11 =

Login with your Social Id:

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 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

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

Let us improve this post!

Tell us how we can improve this post?