mysql随笔记录
2015-12-01 18:43
453 查看
本地登录:mysql -uroot -pwujingtao
//存储过程
use tlbbdb;
delimiter //
drop procedure if exists test//
create procedure test(out s int)
begin
select count(*) into s from t_ability;
end//
delimiter ;
//新建用户 http://blog.chinaunix.net/uid-14735472-id-3495715.html
mysql int(11)
指定整数长度,11位为百亿
//导入导出 http://www.chinaitlab.com/linux/MYSQL/956215.html //导出
mysqldump -ubpuser -pD95VjVdvsME8SFe6W3lYxwzrG7vRDxuZ -h127.0.0.1 blackstone > c:/blackhole.sql
root密码错误 http://blog.csdn.net/leandzgc/article/details/17048483
//存储过程
use tlbbdb;
delimiter //
drop procedure if exists test//
create procedure test(out s int)
begin
select count(*) into s from t_ability;
end//
delimiter ;
//新建用户 http://blog.chinaunix.net/uid-14735472-id-3495715.html
mysql int(11)
指定整数长度,11位为百亿
//导入导出 http://www.chinaitlab.com/linux/MYSQL/956215.html //导出
mysqldump -ubpuser -pD95VjVdvsME8SFe6W3lYxwzrG7vRDxuZ -h127.0.0.1 blackstone > c:/blackhole.sql
root密码错误 http://blog.csdn.net/leandzgc/article/details/17048483
相关文章推荐
- ubuntu下mysql安装与测试
- MySql之设备管理的数据表设计列表
- mysql游标实例演示
- Python基础教程(十):CGI编程、MySQL数据库
- Mysql数据查询练习题一
- MySQL数据库安装
- mysql分表的3种方法
- 解决Hibernate4连接MySQL5.5数据库无法自动创建表的问题
- 查看MySQL配置文件路径及相关配置
- 查看MySQL配置文件路径及相关配置
- MySQLCluster7.2.15安装部署性能测试
- Mysql命令行添加用户
- Mysql命令行添加用户
- 查看mysql表结构和表创建语句的方法
- MySQL碎碎念
- update inner join 使用
- 采用Atlas+Keepalived实现MySQL读写分离、读负载均衡
- mysql中间件研究(Atlas,cobar,TDDL)
- MySQL中导出用户权限设置的脚本
- MySQL中导出用户权限设置的脚本