Linux Mysql基本命令
来源:互联网 发布:淘宝倒卖别人家东西 编辑:程序博客网 时间:2024/05/19 22:57
1 登录mysql
mysql -uroot -hlocalhost -psys123 -P3306介绍:mysql -u[用户名] -h[数据库地址] -p[密码] -P[端口]mysql -uroot -hlocalhost -psys123 -P3306 --default-character-set=utf8介绍:mysql -u[用户名] -h[数据库地址] -p[密码] -P[端口] --default-character-set=utf8 (设置连接的编码)
2 查看数据库
show databases
3 选择数据库
use [databaseName]use wx;
4 导出数据库数据
mysqldump -uroot -hlocalhost -psys123 -P3306 --default-character-set=utf8 wx > aaa.sql(导出数据库数据和表结构)mysqldump -uroot -hlocalhost -psys123 -P3306 --default-character-set=utf8 wx > aaa.sql(导出数据库表结构)
0 0
- Linux Mysql基本命令
- Linux Mysql基本命令
- linux基本命令-mysql命令
- linux mysql 基本操作命令
- linux下mysql基本命令
- Linux mysql数据库基本命令
- Linux 下MySQL的基本命令
- Linux 下MySQL的基本命令
- linux下mysql基本管理命令
- linux系统mysql数据库基本命令
- Linux中操作mysql的基本命令
- 【Linux】Linux基本命令
- linux下mysql命令(授权用户 基本操作)
- linux下mysql命令(授权用户 基本操作)
- linux-mysql基本命令大全-增删查改
- Linux的一些基本命令与MySQL索引
- linux-mysql基本命令大全-增删查改
- MySQL基本命令
- [交易策略]创90日新高买破20日新低卖
- codeforces689c
- 既然有了@interface,@class是干嘛的
- Python中的re(正则表达式)
- POJ - 3280 Cheapest Palindrome(DP)
- Linux Mysql基本命令
- Python for Data Analysis (7)
- 二分模板
- 文本特征提取
- python面向对象编程
- 两个栈实现一个队列
- payoff table求nadir的缺点
- 学习Hadoop第十课(MapReduce)
- Java中HashMap和HashTable的区别