Home > Database > Mysql Tutorial > body text

mysql 编码设置命令

WBOY
Release: 2016-06-07 18:01:35
Original
939 people have browsed it

mysql 编码设置命令,需要的朋友可以参考下。

查看编码:
SHOW VARIABLES LIKE 'character%';或status:
修改:set 变量=置
SET character_set_client = utf8 ;


mysql修改root密码
方法一:

(适用于管理员或者有全局权限的用户重设其它用户的密码)
进入命令行模式
mysql -u root mysql
mysql> UPDATE user SET password=PASSWORD("new password") WHERE user='name';
mysql> FLUSH PRIVILEGES;
mysql> QUIT
最简单的方法。
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