Welcome Guest, Not a member yet? Register   Sign In
SQL server connection not working
#5

(This post was last modified: 04-25-2024, 12:49 AM by falagar2k.)

(04-24-2024, 05:44 PM)kenjis Wrote: Try to set an empty string '' to port in the DB Config.

Thank you for your reply.

However, the suggestion does not seem to work.

I added the following line in my .env file:

PHP Code:
database.default.port '' 

and now get this error message:

Code:
Unable to connect to the database.
Main connection [sqlsrv]: [Microsoft][ODBC Driver 17 for SQL Server]SQL Server Network Interfaces: Connection string is not valid [87]. SQLSTATE: 08001, code: 87
Reply


Messages In This Thread
SQL server connection not working - by falagar2k - 04-24-2024, 02:31 AM
RE: SQL server connection not working - by kenjis - 04-24-2024, 05:44 PM
RE: SQL server connection not working - by falagar2k - 04-25-2024, 12:48 AM
RE: SQL server connection not working - by kenjis - 04-25-2024, 12:54 AM
RE: SQL server connection not working - by kenjis - 04-25-2024, 04:31 AM
RE: SQL server connection not working - by kenjis - 04-25-2024, 03:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB