How to change your password of your mysql account in WampServer

#1. use phpmyadmin to login mysql and click the account menu, and then click "Change the password", type your password you want to setup, such as: "123456"

#2.  Enter the wampserver installation directory, such as F:\wamp64\apps\phpmyadmin4.5.2, open config.inc.php file. modify  $cfg[‘Servers‘][$i][‘password‘]=‘your password‘, such as: "123456"

#3. Enter into the directory "F:\wamp64\apps\phpmyadmin4.5.2\libraries", and open "config.default.php" file, and modify  $cfg[‘Servers‘][$i][‘password‘]=‘your password‘, such as: "123456"

#4. logout phpmyadmin, and try to login.

when you re-see this interface. it means you  succeed to finish this thing.

时间: 2024-10-09 08:10:33

How to change your password of your mysql account in WampServer的相关文章

使用SKIP-GRANT-TABLES 解决 MYSQL ROOT密码丢失(转)

B.5.3.2 How to Reset the Root Password If you have never assigned a root password for MySQL, the server does not require a password at all for connecting as root. However, this is insecure. For instructions on assigning passwords, see Section 2.18.4,

MySQL工具1:mysqladmin

每两秒显示一下MySQL的状态,一共显示5次. # mysqladmin -uroot -p -i 2 -c 5 status 查看MySQL的运行状态: #mysqladmin -uroot -p ping mysqladmin Ver 8.42 Distrib 5.1.73, for redhat-linux-gnu on x86_64Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. Or

cas 官方文档

1. 架构 http://jasig.github.io/cas/4.0.0/planning/Architecture.html System Components The CAS server and clients comprise the two physical components of the CAS system architecture that communicate by means of various protocols. CAS Server The CAS serv

mysql主从复制-CHANGE MASTER TO 语法详解

1 简介    配置mysql主从复制时,在从机上需要进行CHANGE MASTER TO操作,以确定需要同步的主机IP,用户名,密码,binlog文件,binlog位置等信息. 2 基本语法与实例    2.1 CHANGE MASTER TO的语法如下: CHANGE MASTER TO option [, option] ...   option:       MASTER_BIND = 'interface_name'      MASTER_HOST = 'host_name'    

mysql: reinit the password

You can reinit the password : 1.stop mysql /etc/init.d/mysql stop 2.start mysql safe : mysqld_safe --skip-grant-tables & 3.connect to mysql mysql -u root 4.change the password mysql> use mysql; mysql> update user set password=PASSWORD("YOUR

MySQL 改动用户password及重置rootpassword

为数据库用户改动password是DBA比較常见的工作之中的一个.对于MySQL用户账户的password改动,有几种不同的方式.推荐的方式使用加密函数来改动password. 本文主要描写叙述了通过几种不同的方式来改动用户password以及mysql root账户password丢失(重置rootpassword)的处理方法. 1.password改动的几种方法 a.能够在创建用户的时候指定password.以及直接使用grant创建用户的时候指定password. 对于已经存在的用户直接使

windows mysql提示:1045 access denied for user 'root'@'localhost' using password yes 解决方案

简单粗暴 工具xwamp 路径:H:\xampp\mysql\bin\my.ini.php 打开my.ini,在[mysqld]下面添加 skip-external-lockingskip-name-resolveskip-grant-tables 停止mysql ->打开xwamp的shell可以输入命令,如下 Setting environment for using XAMPP for Windows. [email protected]-CGL9PRT h:\xampp # mysql

PASSWORD MySQL 5.6.21-1ubuntu14.04_amd64

/***************************************************************************** The main idea is that no password are sent between client & server on connection and that no password are saved in mysql in a decodable form. On connection a random string

mysql的password()函数和md5函数

password用于修改mysql的用户密码,如果是应用与web程序建议使用md5()函数, password函数旧版16位,新版41位,可用select length(password('123456'))察看. password函数加密不可逆,如果和数据库里加密后内容比较时可以采用password(pwd)==字段内容的方式: md5函数加密后32位,此加密算法不可逆,其实md5算法是信息摘要算法,如果拿来做压缩也是有损压缩,理论上即使有反向算法也无法恢复信息原样.他常被用来检验下载数据的完