[ODBC-385] Wrong documentation for named pipes Created: 2023-02-28 Updated: 2023-03-08 Resolved: 2023-03-08 |
|
| Status: | Closed |
| Project: | MariaDB Connector/ODBC |
| Component/s: | Documentation, General |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.0, 3.1.18 |
| Type: | Bug | Priority: | Major |
| Reporter: | David Gausmann | Assignee: | Lawrin Novitsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
To use the ODBC driver with named pipes on Windows I looked into the documentation and didn't get it to work. There are three sentences about named pipes:
So my connection string should be (ADO):
But this doesn't work. Instead you always get this error:
The working connection string uses SOCKET instead of SERVER on Windows:
This works fine. But the documentation explicitely says that "Server is treated as a named pipe name". Also the documentation for "Socket" says "It has effect on Linux only." It would be nice if you could fix the documentation. |
| Comments |
| Comment by Lawrin Novitsky [ 2023-03-08 ] |
|
You are right - pipe name is taken from SOCKET parameter, and putting it into the SERVER won't work. Thus I think changing documentation is a better way in this case. |
| Comment by Lawrin Novitsky [ 2023-03-08 ] |
|
It took also some fixes in the setup dialog, as it used SERVER for pipe name saving/connection test |