Home > Database > Mysql Tutorial > MYSQL常用命令列表._MySQL

MYSQL常用命令列表._MySQL

WBOY
Release: 2016-06-01 13:50:44
Original
942 people have browsed it

bitsCN.com

    MYSQL常用命令列表

1、系统管理

mysql -h主机地址 -u用户名 -p
连接MYSQL(在mysql/bin)

exit
退出MYSQL命令

mysqladmin -u用户名 -p旧密码 password新密码
修改密码(在mysql/bin)

grantselect[insert][,update][,delete]on数据库.*to用户名@localhost("%", 表示任何主机)identifiedby "密码"
增加用户

mysqldump

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template