linux下mysql的一些基本操作
来源:互联网 发布:食品包装设计软件 编辑:程序博客网 时间:2024/04/29 18:30
进入mysql路径
cd /usr/local/mysql开启/关闭mysql服务
sudo ./support-files/mysql.server start/stop
允许root远程登陆:
1)本机登陆mysql:mysql -u root -p (-p一定要有);改变数据库:use mysql;
2)从所有主机:grant all privileges on *.* to root@"%" identified by "passw0rd" with grant option;
3)从指定主机:grant all privileges on *.* to root@"192.168.1.101" identified by "passw0rd" with grant option; flush privileges;
4) 进mysql库查看host为%的数据是否添加:use mysql; select * from user;
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下Mysql的基本操作
- Linux 下MySQL的基本操作
- Linux下Mysql的一些操作
- linux下对mysql的一些操作
- linux 下 mysql的一些操作命令
- [Linux & Mysql] Linux下Mysql的基本操作
- Linux下mysql基本操作
- LVQ神经网络的分类
- IIS8/IIS7/IIS6 出现ADODB.Connection 错误 '800a0e7a'的解决办法
- Core Data入门
- [c]hdoj1023 卡特兰数
- Length of Last Word
- linux下mysql的一些基本操作
- 数据仓库建模与ETL的实践技巧
- mysql中的mysql_pconnect和mysql_connect的区别
- socket中的bind
- Ceph学习之Crush算法—— Bucket
- HDU 1412-{A} + {B}
- 100.Same Tree
- 余弦相似度-java代码实现
- 无向图的欧拉回路和欧拉通路