当前位置:网站首页>VS connects to MYSQL through ODBC (1)
VS connects to MYSQL through ODBC (1)
2022-07-31 06:00:00 【Lobster is peeling my shell】
We connect VS to MYSQL through ODBC, which is divided into two steps: the first step, ODBC connects to MYSQL; the second step, VS connects to ODBC.In the next blog, I will show the data of VS querying the database through ODBC through code
1. ODBC connection to MYSQL
1 Go to Control Panel—>System and Security—>Administrative Tools—>ODBC Data Sources (64-bit)
2 Select personal DSN or system DSN, click to add ODBC driver
The driver needs to be downloaded in advance, if not, the official website:
Choose whether the version is 64-bit or32-bit, download and install it 

3Data Source Name—database name
Descrtption----(Description can be written or not)
User—root
Password—Your password is generally 123456 or root
Database----mysql
Click test
If the test is successful, the ODBC has been connected to mysql
Second, VS connects to ODBC
1 Open VS2017—>Tools—>Connect to Database—>Change—>Microsoft ODBC Data Source—>OK

2 Use user name or system data source name (D) -> (drop-down arrow, find the user data source name you configured in personal DSN or system DSN)—>fill in username and password=—>test connection

If the test is successful, it means VS has connected to mysql through ODBC
Three. Extension
After the connection is successful, there is a server resource manager window at the top left of VS, where you can modify and close the connection.
In the next blog, I will show VS querying database data through ODBC through code
VS connects to MYSQL through ODBC (2)
Welcome to exchange and discuss~
边栏推荐
- flutter arr dependencies
- quick-3.5 ActionTimeline的setLastFrameCallFunc调用会崩溃问题
- The server time zone value ‘й‘ is unrecognized or represents more than one time zone
- Notes on creating a new virtual machine in Hyper-V
- cocos2d-x-3.2图片灰化效果
- configure:error no SDL library found
- SSH自动重连脚本
- 腾讯云GPU桌面服务器驱动安装
- Filter out egrep itself when using ps | egrep
- function in js
猜你喜欢

For penetration testing methods where the output point is a timestamp (take Oracle database as an example)

feign调用不通问题,JSON parse error Illegal character ((CTRL-CHAR, code 31)) only regular white space (r

What is GameFi?

MySQL高级学习笔记

Hyper-V新建虚拟机注意事项

【uiautomation】微信好友列表获取(存储到txt中)

Principle analysis of famous website msdn.itellyou.cn

Why is the redis single-threaded also so fast?

对js的数组的理解

qt:cannot open C:\Users\某某某\AppData\Local\Temp\main.obj.15576.16.jom for write
随机推荐
著名网站msdn.itellyou.cn原理分析
"limit" query in Oracle database
[swagger close] The production environment closes the swagger method
5 methods of MySQL paging query
[Cloud Native] What should I do if SQL (and stored procedures) run too slowly?
带你搞懂MySQL隔离级别,两个事务同时操作同一行数据会怎样?
MySQL-如何分库分表?一看就懂
qt:cannot open C:\Users\某某某\AppData\Local\Temp\main.obj.15576.16.jom for write
VS通过ODBC连接MYSQL(二)
cocos2d-x-3.2 Physics
为什么bash中的read要配合while才能读取/dev/stdin的内容
sqlmap injection tutorial common commands
The MySQL database in Alibaba Cloud was attacked, and the data was finally recovered
【ubuntu20.04安装MySQL以及MySQL-workbench可视化工具】
腾讯云GPU桌面服务器驱动安装
安装Multisim出现 No software will be installed or removed解决方法
[JVM Loading]---Class Loading Mechanism
Flow control statement in js
The server time zone value ‘й‘ is unrecognized or represents more than one time zone
浅谈对分布式模式下CAP的理解