ChinaUnix.net
相关文章推荐:

mysql_init

[code] mysql myData; mysql_init(&myData); [/code] 函数mysql_init()是什么含义?参数myData前加上地址符号&的作用是什么?

by 光速 - C/C++ - 2008-12-29 10:23:39 阅读(15568) 回复(5)

相关讨论

求教,这一段代码哪里出错了? #include<mysql/mysql.h> #include #include int main(void) { mysql db; mysql_RES *res; mysql_FIELD *fd; mysql_ROW row; mysql_init(&db); } gcc编译,错误信息是 /tmp/ccW96Vnn.o(.text+0x2a): In function `main': first.c: undefined reference to `mysql_init' collect2: ld 返回 1

by nemanman - MySQL - 2006-01-12 15:37:47 阅读(1905) 回复(6)

我的代码如下 int main() { mysql mysql; mysql_init(&mysql); } 编译时出现错误:undefined reference to ‘mysql_init’,是什么意思。?

by alexander-chen - C/C++ - 2007-04-08 11:29:13 阅读(2419) 回复(2)

本帖最后由 cenalulu 于 2012-07-05 15:29 编辑 为什么我安装了libmysqlclient-dev了, 但是使用mysql_init(),mysql_query()等函数时还是出现 undefined reference to "mysql_xxx"等函数。 我已经#include <mysql/mysql.h>了,怎么会这样,谁能帮帮我?

by Zhc1993 - MySQL - 2012-07-07 10:48:32 阅读(1948) 回复(2)

服务器接受多个连接,然后对每一个连接建一个到mysql的连接做查询,但是有时候mysql_init会返回NULL,为什么?

by 我learnc - C/C++ - 2009-02-27 11:00:42 阅读(3331) 回复(6)

checkunsnumber (unsnumber=0xbff8aabf "12341234512345678") at process_logon.c:418 418 r=1; (gdb) 419 mysql_init(&mysql_ninth); (gdb) mysql_init (mysql=0xbff89130) at client.c:1422 1422 client.c: 没有那个文件或目录. in client.c Current language: auto; currently c

by robbielee - MySQL - 2008-12-07 23:11:58 阅读(3079) 回复(1)

RT 文档里只是简单了介绍了这个API 没具体说明这个API的作用到底是干嘛的 所以想请各位了解的分享下 先谢谢了~~~

by tweyseo - MySQL - 2012-03-17 14:19:47 阅读(2131) 回复(1)

今天看到cenalulu的一篇文章: http://www.mysqlsystems.com/2009/11/mysql-audit-access-log.html 为什么我在5.1.23的版本上有这样的错误呢? mysql -uabc -pabc: mysql> show databases; ERROR 2006 (HY000): mysql server has gone away No connection. Trying to reconnect… Connection id: 3 Current database: *** NONE *** ERROR 2013 (HY000): Lost connection to mysql server during query Error log: 100920 14:48...

by cindy9902 - MySQL - 2010-09-20 17:29:44 阅读(2941) 回复(2)

mysql5.1.11win32是我直接从别人机器上copy过来的, 运行mysqld-nt直接启动mysql server, 在这种情况下mysql 用的是什么option file? [quote] Filename Purpose WINDIR\my.ini Global options C:\my.cnf Global options INSTALLDIR\my.ini Global Options defaults-extra-file The file specified with --defaults-extra-file=path, i...

by cooljia - MySQL - 2007-05-15 13:09:05 阅读(2381) 回复(2)

init init [bootflags] [runlevel] System administration command. initialize system. Usually run from the boot loader—e.g., lilo or grub. Boot flags -a,auto Set the AUTOBOOT environment variable to yes. The boot loader will do this automatically when booting with the default command line. -b Boot directly into a single-user shell for emergency recovery. -s,S,single Single-user mode. -b,emergency ...

by anima - Linux文档专区 - 2006-08-13 00:18:01 阅读(648) 回复(0)

我是菜鸟 请问init 的级别到底有什么不同呢

by jason80 - 系统管理 - 2003-12-02 08:03:30 阅读(580) 回复(1)