Home  >  Article  >  Database  >  My-sql #1045

My-sql #1045

WBOY
WBOYOriginal
2016-06-07 15:44:251175browse

当你重装数据库后出现这个问题的时候,不要着急,首先你要去你的确定你的数据库已经成功的把服务开启了, 然后确定你的密码和账户,IP都确认的情况下, 去寻找config.inc.php 这个文件,根据配置的不同,地方可能出现在不同的地方,如果你配置的是XAMPP的时

当你重装数据库后出现这个问题的时候,不要着急,首先你要去你的确定你的数据库已经成功的把服务开启了,

然后确定你的密码和账户,IP都确认的情况下,

去寻找config.inc.php 这个文件,根据配置的不同,地方可能出现在不同的地方,如果你配置的是XAMPP的时候,

可能是这个:

D:\xampp\phpMyAdmin\config.inc.php

 

其他路径就没有进行测试了,大不了全盘检索就新行了,然后看里面的

/* Authentication type and info */
$cfg['Servers'][$i]['auth_type']            = 'config';
$cfg['Servers'][$i]['user']                 = 'root';
$cfg['Servers'][$i]['password']             = '';
$cfg['Servers'][$i]['AllowNoPassword']      = true;

 一般,密码那里会是空的,你要么修改密码后重启服务了进行,要么,你直接用空密码进行都是可行的

Statement:
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