
IV:mysql
文章平均质量分 60
持之以恒111
持之以恒
展开
-
mysql支持的数据类型——字符串类型
转载:http://blog.163.com/ji_angwenbo_ok@126/blog/static/486102822010414927574/ 是5.0版本的,MySQL中的字符类型 字符串类型 字节 描述及存储需求 CHAR(M) M转载 2013-09-24 09:14:34 · 694 阅读 · 0 评论 -
Linux系统下C/C++开发mysql数据库应用
一、Linux下挂载光驱: 挂载光驱 mount -t iso9660 /dev/cdrom /mnt/cdrom 卸载光驱 umount /dev/cdrom 弹出光驱 eject 推进光驱 eject –t 二、运行MySQL只需安装: mysql-server-3.23.54a-11.i386.rpm mysql-3.23转载 2013-09-26 13:13:25 · 615 阅读 · 0 评论 -
mysql常用命令行大全
第一招、mysql服务的启动和停止 net stop mysql net start mysql 第二招、登陆mysql 语法如下: mysql -u用户名 -p用户密码 键入命令mysql -uroot -p, 回车后提示你输入密码,输入12345,然后回车即可进入到mysql中了,mysql的提示符是: mysql> 注意,如果是连接到另外的机器上,则转载 2013-09-25 13:50:55 · 522 阅读 · 0 评论 -
Building C API Client Programs
22.8.4.1. Building C API Client Programs This section provides guidelines for compiling C programs that use the MySQL C API. Compiling MySQL Clients on Unix You may need to specify转载 2013-10-12 15:46:45 · 624 阅读 · 0 评论 -
windows下连接mysql
#include #include #include #include #include #include #include void *thread_fun(void *); int main() { pthread_t thread_id[10]; int i; //MYSQL mysql; //if(mysql_init(&mysql)==NULL) // re原创 2013-10-12 12:48:09 · 1262 阅读 · 0 评论 -
mysql连接数操作
命令: show processlist; 如果是root帐号,你能看到所有用户的当前连接。如果是其它普通帐号,只能看到自己占用的连接。 show processlist;只列出前100条,如果想全列出请使用show full processlist; mysql> show processlist; 命令: show status; 命令:show status like '原创 2013-10-11 13:58:13 · 400 阅读 · 0 评论 -
mysql查看用户权限命令
如果可以用navicat工具连过去,查看用户权限,修改用户权限都是很方便的,但很多时候MySQL都是只允许localhost访问,这时就只能用命令了 以前只会用 mysql> select * from mysql.user where user='username'; 今天发现这个更方便: mysql> show grants for username@localhost;转载 2013-09-25 13:39:30 · 1011 阅读 · 0 评论