SQL Server - Statement(s) could not be prepared #102
-
Attempting to connect to Microsoft SQL Server. I am using the beneath format for my connection string: (I am connecting to a outside server) I get this error when running the executable:
The above is the 2nd and 3rd line, the 1st line indicates it is attempting to connect to my inputted connection string. Note: I did create a file named sqlpage.json in a folder called sqlpage inside of my websites root folder. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hello and welcome to SQLPage ! The log line |
Beta Was this translation helpful? Give feedback.
Hello and welcome to SQLPage !
The log line
error returned from database: Statement(s) could not be prepared.
seems to indicate that you actually connected successfully to the database.After connecting successfully, SQLPage sent a simple test sql statement comprising of a single comment (
/* SQLx ping */
) to the database, and that failed, because the database returned an error saying that the statement could not be prepared. This is just a warning, though, not an error. Does this prevent you from running any sql file through SQLPage ? What do the database logs say ?