1、打开WinSQL
2、点击【file】,选择【new connection】
3、此时弹出对话框
4、点击【data source name】列表,选择要连接的数据库
5、输入用户和密码,然后点击【OK】
6、此时数据库连接就打开了