annumsin
annumsin
> Is this related > > [typeorm/typeorm#8264](https://github.com/typeorm/typeorm/issues/8264) not helpful solution mentioned
> Is this another query from you > > https://stackoverflow.com/questions/73518917/how-to-connect-typeorm-with-msnodesqlv8-using-nestjs-window-authentication I posted this query
> typeorm/typeorm#8063 They have not provided a working solution so not helpful basically what code should reside inside @module({ imports: [ ConfigModule.forRoot(), TypeOrmModule.forRoot({ ........???? }) because this is where the...
> this seems to work > > ```ts > import { Module } from '@nestjs/common'; > import { AppController } from './app.controller'; > import { AppService } from './app.service'; >...
> https://github.com/TimelordUK/nest-torm-msnodesqlv8 Thank you for creating this repo but just let you know on this line https://github.com/TimelordUK/nest-torm-msnodesqlv8/blob/master/src/app.module.ts#L16 where you are passing UID and PWD, in window authentication no username/password needs...
> this is wrong > > connectionString: 'Driver={SQL Server Native Client 11.0};Server=W70100\SQLEXPRESS01;Database=Test;TrustServerCertificate=yes;', > > not TrustServerCertificate=yes > > you need Trusted_Connection=yes > > 'Driver={SQL Server Native Client 11.0}; Server=W70100\SQLEXPRESS01;Database=Test;Trusted_Connection=yes;' >...
> to clarify using trusted connection this woks for me using test project > > ``` > connectionString: 'Driver={ODBC Driver 18 for SQL Server}; Server=DESKTOP-VIUCH90;Trusted_Connection=yes; Database=node;TrustServerCertificate=yes;', > ``` > >...