![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
PerkinsLi
人丑就要多学习
展开
-
MySql Linux 常用命令
MySQL 命令行操作,版本:5.6。系统环境:Linux 连接本机MySQL:mysql -u root -p 查看所有数据库:show databases; 切换到指定数据库: use 数据库; 查询MySQL用户权限: select user,host,password from user; 删除Mysql用户权限 delete from user where user=‘root’ and...原创 2019-01-29 16:04:20 · 326 阅读 · 0 评论 -
mongodb 常用命令
使用配置文件启动: ./mongod -f /software/mongodb/mongodb-linux-x86_64-4.0.5/mongodb.conf 配置文件: dbpath=/software/mongodb/mongodb-linux-x86_64-4.0.5/data/ logpath=/software/mongodb/mongodb-linux-x86_64-4.0.5...原创 2019-01-30 16:30:32 · 189 阅读 · 0 评论