📄 conntest2.c
字号:
// Make sure the server is not running#include<CSql.h>int main(){ Connection conn; DbRetVal rv = conn.open("root", "manager"); if (rv == OK) { printf("The server must be running. Stop the server and rerun the test\n"); printf("Test failed\n"); return 1; } if (rv != OK) { printf("The test passed, return value %d\n", rv); return 0; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -