Home > Database > Mysql Tutorial > body text

MYSQL操作命令_MySQL

WBOY
Release: 2016-06-01 13:47:44
Original
872 people have browsed it

bitsCN.com

更改当前数据库的编码
ALTER DATABASE `koubei` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci
ALTER TABLE `category` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci

#增加root用户管理权限.
REVOKE ALL PRIVILEGES ON * . * FROM root@%;

GRANT ALL PRIVILEGES ON * . * TO root@% WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;

bitsCN.com
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