catherinedevlin / ipython-sql

%%sql magic for IPython, hopefully evolving into full SQL client
MIT License
1.77k stars 366 forks source link

Connection lines for named pipes #102

Open MincingWords opened 6 years ago

MincingWords commented 6 years ago

Hi -

I'm unclear on (and am not seeing examples of) how the connection line should look for connecting to a MySQL instance via named pipe. I guess it would look something like

%sql np://root@MYSQL/thisdb or %sql pipe://root@MYSQL/thisdb

where "thisdb" is the database name. Can someone tell me definitively what the connect line is supposed to be in such an instance?

ZelphirKaltstahl commented 6 years ago

@MincingWords Can you point to a part of the documentation, which mentions support of the np or pipe protocol? It might not be supported, if it is not mentioned anywhere.

MincingWords commented 6 years ago

No, I really can't point to any such in the docs. I found some references elsewhere to the use of named pipe URLs for DB connections but if iPython-sql doesn't even support such then finding the exact incantation is rather moot.

On Aug 29, 2017, at 1:58 PM, Zelphir Kaltstahl notifications@github.com wrote:

@MincingWords Can you point to a part of the documentation, which mentions support of the np or pipe protocol? It might not be supported, if it is not mentioned anywhere.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.