
数据库
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 · 399 阅读 · 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 · 238 阅读 · 0 评论