--TEST-- odbc_connect(): Basic test for odbc_connect(). (When not using a DSN alias) --EXTENSIONS-- odbc --SKIPIF-- --XLEAK-- A bug in msodbcsql causes a memory leak when reconnecting after closing. See GH-12306 --FILE-- --EXPECT-- dsn without credentials / correct user / correct password Connected. dsn with correct user / incorrect user / correct password Connected. dsn with correct password / correct user / incorrect password Connected. dsn with correct credentials / incorrect user / incorrect password Connected. dsn with correct credentials / null user / null password Connected. dsn with correct credentials / not set user / not set password Connected.