﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
32763	"Path is wrong: OperationalError ""Plugin pvio_npipe could not be loaded"""	b9chris	nobody	"If you attempt to connect to a MySql instance using Named Pipes on Windows, Django is going to look for the 32-bit version of MariaDb Connector/C. It looks for it here:

C:/Program Files (x86)/mariadb-connector-c/lib/mariadb/plugin/pvio_npipe.dll

As seen in this error message:

django.db.utils.OperationalError: (2059, ""Plugin pvio_npipe could not be loaded: The specified module could not be found. Library path is 'C:/Program Files (x86)/mariadb-connector-c/lib/mariadb/plugin/pvio_npipe.dll'"")

This path is incorrect, with folders shuffled. The correct, default path that Connector/C installs into is:

C:\Program Files (x86)\MariaDB\MariaDB Connector C\lib\plugin\pvio_npipe.dll

Notice that ""MariaDb"" appears earlier in the correct path, than it does in the incorrect one. The real path also uses spaces while the one Python is looking for uses dashes.
"	Bug	closed	Database layer (models, ORM)	3.2	Normal	invalid			Unreviewed	0	0	0	0	0	0
