|
I created a new record in the System DSN of the ODBC data source, connected to a database server, there is a gagdb database on the server, and I created a connection to the gagdb database in ODBC. I first used SQL authention in ODBC, and entered the corresponding user and password. The default database was gagdb, and the connection was tested successfully. Because the boss requested to use windows authentication, I changed ODBC to windows authention. Of course, I don't need to provide user and password this time. The default database is still gagdb, but the test is that the connection is unsuccessful. Later, I changed the Default database to master and connected successfully. Is this what is the reason? How to change the default database or gagdb? |
|