![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Mysql
yjcljx
这个作者很懒,什么都没留下…
展开
-
Mysql命令导入导出/功能
导入 命令 mysqldump -u 账号 -h 数据库地址 -p'密码' -P端口号 --set-gtid-purged=off 数据库名 要导出的表名 > 文件名.sql 导出 命令 mysql -u 账号 -p -h数据库地址 数据库名 < 要导入的文件名 例:mysql -uroot -proot jxjy < C:\Users\94675\Desktop\jxjy20201223.sq --default-character-set=utf8 CURRENT_T原创 2021-03-24 21:13:12 · 96 阅读 · 1 评论 -
删除mysql服务进程
win+R services.msc remove mysqld --remove MYSQL mysqld --install原创 2021-03-24 21:03:54 · 328 阅读 · 0 评论 -
Mysql语句运用基本函数
SELECT VERSION(); SELECT `department_id` FROM employees; #concat 拼接 SELECT CONCAT(last_name,first_name) FROM employees; #distint 去重 SELECT DISTINCT job_id FROM employees; #列出字段类型 DESC employees; #ifnull 为空时候则为0 SELECT IFNULL(commission_pct,0) AS ss,..原创 2021-03-24 20:57:51 · 103 阅读 · 1 评论