You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
propel init create a wrong DSN when pdo_sqlsrv driver is selected.
I observed line 389 in the InitCommand.php literally inserts user and password into the DSN as shown in the code snippet below. This in turn results to SQLSTATE[IMSSP] error being thrown later when the DSN is used in the PdoConnection.php to establish a connection to MSSQL server.
Changing the line to the snippet below fixes the problem but I suppose this might in turn result to an error for the other drivers that requires/supports user and password in the DSN string.
$fullDsn = $options['dsn'];
The text was updated successfully, but these errors were encountered:
GeorgeOnyango
changed the title
SQLSTATE[IMSSP]: An invalid keyword 'user' was specified in the DSN string
SQLSTATE[IMSSP]: An invalid keyword 'user' was specified in the DSN string Propel2-Beta4
Jul 27, 2024
propel init
create a wrong DSN whenpdo_sqlsrv
driver is selected.I observed line 389 in the
InitCommand.php
literally insertsuser
andpassword
into the DSN as shown in the code snippet below. This in turn results toSQLSTATE[IMSSP]
error being thrown later when the DSN is used in thePdoConnection.php
to establish a connection to MSSQL server.Changing the line to the snippet below fixes the problem but I suppose this might in turn result to an error for the other drivers that requires/supports
user
andpassword
in the DSN string.The text was updated successfully, but these errors were encountered: