i-have-this-error-to-connect-to-mssql

Questionsi-have-this-error-to-connect-to-mssql
abdelilah dourhmani asked 11 months ago

i wanna connect to sql server and i have this error: Please check your database connection configuration. SQLState: 08001 Error Code: 53 Message: [Microsoft][ODBC Driver 18 for SQL Server]Fournisseur de canaux nommés : Impossible d\\\’ouvrir une connexion à SQL Server [53]. SQLState: HYT00 Error Code: 0 Message: [Microsoft][ODBC Driver 18 for SQL Server]Délai d\\\’attente de connexion expiré SQLState: 08001 Error Code: 53 Message: [Microsoft][ODBC Driver 18 for SQL Server]Une erreur liée au réseau ou spécifique à l\\\’instance s\\\’est produite lors de l\\\’établissement d\\\’une connexion à SRV-PROXIMITE. Le serveur est introuvable ou n\\\’est pas accessible. Vérifiez si le nom de l\\\’instance est correct et si SQL Server est configuré pour autoriser les connexions distantes. Pour plus d\\\’informations, consultez la documentation en ligne de SQL Server. SQLState: 08001 Error Code: 53 Message: [Microsoft][ODBC Driver 18 for SQL Server]Fournisseur de canaux nommés : Impossible d\\\’ouvrir une connexion à SQL Server [53]. SQLState: HYT00 Error Code: 0 Message: [Microsoft][ODBC Driver 18 for SQL Server]Délai d\\\’attente de connexion expiré SQLState: 08001 Error Code: 53 Message: [Microsoft][ODBC Driver 18 for SQL Server]Une erreur liée au réseau ou spécifique à l\\\’instance s\\\’est produite lors de l\\\’établissement d\\\’une connexion à SRV-PROXIMITE. Le serveur est introuvable ou n\\\’est pas accessible. Vérifiez si le nom de l\\\’instance est correct et si SQL Server est configuré pour autoriser les connexions distantes. Pour plus d\\\’informations, consultez la documentation en ligne de SQL Server. this is my code : $db_conf = array(); $db_conf[\\\”type\\\”] = \\\”mssqlnative\\\”; // $db_conf[\\\”server\\\”] = \\\”SRV-P\\\”; // $db_conf[\\\”user\\\”] = \\\”sa\\\”; $db_conf[\\\”password\\\”] = \\\”\\\”; $db_conf[\\\”database\\\”] = \\\”DB_TEST\\\”;

5 Answers
Abu answered 11 months ago

Please share the code showing how you connect to sql server using php without using datagrid library.

I’ll then suggest the datagrid config replacement.

Abu answered 11 months ago

If you show a working php code that connects to sql server using php, then we can suggest datagrid db configuration. You can also email at [email protected]

abdelilah answered 11 months ago

 

that code work for me but when i use the grid config is not working

abdelilah answered 11 months ago

Hi dear i still wait for support please

abdelilah answered 9 months ago

Hi dear i still wait for support please

Your Answer

1 + 20 =

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?