MySQL C API摘要
2016-01-28 13:54
501 查看
https://dev.mysql.com/doc/refman/5.5/en/c-api.html
On Unix (and Unix-like) sytems, the static library is
For distributions that include embedded server libraries, the corresponding library names begin with
On Unix, you may also see libraries that include
are the same and the
安装
apt-get install libmysqlclient-dev
libmysqlclient
libmysqld
On Unix (and Unix-like) sytems, the static library is
libmysqlclient.a. The dynamic library is
libmysqlclient.soon most Unix systems and
libmysqlclient.dylibon OS X.
For distributions that include embedded server libraries, the corresponding library names begin with
libmysqldrather than
libmysqlclient.
On Unix, you may also see libraries that include
_rin the names. Before MySQL 5.5, these were built as thread-safe (re-entrant) libraries separately from the non-
_rlibraries. As of 5.5, both libraries
are the same and the
_rnames are symbolic links to the corresponding non-
_rnames. There is no need to use the
_rlibraries.
:~$ ls -lah /usr/lib/x86_64-linux-gnu/libmysqlclient* -rw-r--r-- 1 root root 4.6M Oct 22 22:24 /usr/lib/x86_64-linux-gnu/libmysqlclient.a lrwxrwxrwx 1 root root 16 Oct 22 22:23 /usr/lib/x86_64-linux-gnu/libmysqlclient_r.a -> libmysqlclient.a lrwxrwxrwx 1 root root 17 Oct 22 22:23 /usr/lib/x86_64-linux-gnu/libmysqlclient_r.so -> libmysqlclient.so lrwxrwxrwx 1 root root 20 Oct 22 22:23 /usr/lib/x86_64-linux-gnu/libmysqlclient_r.so.18 -> libmysqlclient.so.18 lrwxrwxrwx 1 root root 24 Oct 22 22:23 /usr/lib/x86_64-linux-gnu/libmysqlclient_r.so.18.0.0 -> libmysqlclient.so.18.0.0 lrwxrwxrwx 1 root root 20 Oct 22 22:23 /usr/lib/x86_64-linux-gnu/libmysqlclient.so -> libmysqlclient.so.18 lrwxrwxrwx 1 root root 24 Oct 22 22:23 /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18 -> libmysqlclient.so.18.0.0 -rw-r--r-- 1 root root 3.2M Oct 22 22:24 /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0
安装
apt-get install libmysqlclient-dev
相关文章推荐
- MySQL+Hibernate下连接空闲8小时自动断开问题解决方案
- MYSQL 插入数据乱码
- mysql 日期默认系统时间 mysql 默认值不支持函数
- Navicat设定mysql定时任务
- mysql 用source 导入数据库报错
- spark - 将RDD保存到RMDB(MYSQL)数据库中
- 设计模式 - 单例模式mysql数据库操作类
- MySQL中KEY与INDEX的区别
- mysql读写分离(使用Atlas实现)
- MySQL中EXPLAIN详解
- MySql 账户管理
- mysql聚集索引的优缺点
- [转]向facebook学习,通过协程实现mysql查询的异步化
- mysql 命令行执行sql语句
- unix下mysql丢失或者遗忘密码怎么办
- SqlServer实时数据同步到MySql
- MySQL 插入时间
- mysql : Lock wait timeout exceeded; try restarting transaction
- mysql 的 几种 timeout(更新中......)
- SqlServer实时数据同步到mysql