| |

VerySource

 Forgot password?
 Register
Search
View: 1118|Reply: 7

Urgent, master invited: Questions about setting up an ODBC data source to connect to a SQL Server!

[Copy link]

2

Threads

5

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-2-16 15:00:01
| Show all posts |Read mode
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?
Reply

Use magic Report

0

Threads

4

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 Invalid IP Address

Post time: 2020-4-17 22:45:01
| Show all posts
Security mechanism
Reply

Use magic Report

0

Threads

211

Posts

108.00

Credits

Newbie

Rank: 1

Credits
108.00

 China

Post time: 2020-4-18 12:15:01
| Show all posts
Create a new data source to SQL Server
The third step can change the default database
Reply

Use magic Report

0

Threads

48

Posts

30.00

Credits

Newbie

Rank: 1

Credits
30.00

 China

Post time: 2020-4-18 22:45:01
| Show all posts
windows user is not granted access to your database
Reply

Use magic Report

2

Threads

5

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-4-20 13:15:02
| Show all posts
If you change the default database to gagdb, the connection is unsuccessful, which is to solve this problem.
In addition, windows user can access that server, because I changed the authentication mode of the entire sql server to windows authentication
Reply

Use magic Report

2

Threads

5

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-7-29 10:15:01
| Show all posts
How to set up so that windows users can access the gagdb database?
Reply

Use magic Report

0

Threads

48

Posts

30.00

Credits

Newbie

Rank: 1

Credits
30.00

 China

Post time: 2020-7-29 15:00:01
| Show all posts
It's best to set it in Enterprise Manager
Reply

Use magic Report

2

Threads

5

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-7-29 21:45:01
| Show all posts
towaxiaoning: How do I set it up?
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list