摘要:
set tabstop=4 set softtabstop=4 set shiftwidth=4 set expandtab set autoindent set cindent set cinoptions={0,1s,t0,n 2,p2s,(03s,=.5s, 1s,=1s,:1s set nu 阅读全文
摘要:
+ typedef basic_stream_socket socket; 流式套接字,提供同/异步发送接收数据,连接,绑定,设置套接字选项等功能 对于socket中的 方法,它只针对某一个 endpoint 的连接 + typedef basic_socket_acceptor acceptor; 阅读全文
摘要:
io_context类为异步I/O对象提供核心功能,对象包括: + boost::asio::ip::tcp::socket + boost::asio::ip::tcp::acceptor + boost::asio::ip::udp::socket + boost::asio::deadline 阅读全文
摘要:
```C++ include include include using std::cout; using std::endl; int main(void) try { mysqlx::Session sess("mysqlx://root:mysql@localhost:33060?ssl mo 阅读全文
摘要:
```C++ include include include using std::cout; using std::endl; int main(void) try { //uri: mysqlx://user:password@host:port/db_name const char from_ 阅读全文
摘要:
```C++ include include include include include define D_USER "root" define D_PWD "mysql" define D_HOST "localhost" define D_PORT 33060 define D_DB "D_ 阅读全文
摘要:
MySql Connector/C++8是一个用于连接MySQL服务器的C++应用程序。Connector/C++8可用于访问实现文档存储的 MySQL服务器,或者使用SQL查询以传统方式访问。它支持使用XDevAPI开发C ++应用程序,或使用XDevAPI for C开发纯C应用程序,同时Con 阅读全文
摘要:
+ OCCI开放包(下载与服务器版本相同的开发包, 这用的是12.1.0.2): instantclient basic linux.x64 12.1.0.2.0.zip instantclient sdk linux.x64 12.1.0.2.0.zip + 解压后设置软连接,方便调用 cd in 阅读全文
摘要:
1. 常用的数据类型(data_type) 字符串类型 CHAR(n) : 固定长度 VARCHAR(n) : 可变长度 NCHAR(n) : 使用utf8存储,固定长度 NVARCHAR(n) : 使用utf8存储,可变长度 BLOB : (2^16 1)字节 LONGBOLB : (2^32 1 阅读全文
摘要:
0. 登入MySql服务器 + 本地登入: + 远程登入: 1. 更改用户密码: + mysqladmin uroot p' old_password ' password' new_password ' + set password=password(' '); 2. 查看所有存在的数据库: SH 阅读全文