wamp mySQL 错误
我最近安装了 Windows Web Matrix 以便使用 Joomla,但后来我被指示下载 wamp。但是我在安装它时遇到了问题,然后我认为这是因为 Web Matrix 仍然安装了。因此,我卸载了它以及它添加的所有组件。
然后,我尝试重新安装wamp,它成功了。但是,我遇到了问题。
我可以输入 localhost,但无法输入 phpMyAdmin :
http://www.speedyshare.com /files/29980627/Wamp_errors.docx
(单击文件 wamperrors.docx 查看图像)
我有一种感觉当我删除WebMatrix的程序时,删除了与mySQL相关的东西,但我不确定。
有谁知道如何让 phpMyAdmin 为我工作?
谢谢:)
我已经做了这些更改,但仍然遇到相同的错误:/这是我的 config.inc/php 文件:
<?php
/* Servers configuration */
$i = 0;
/* Server: localhost [1] */
$i++;
$cfg['Servers'][$i]['verbose'] = 'localhost';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'root';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
/* End of servers configuration */
$cfg['DefaultLang'] = 'en-utf-8';
$cfg['ServerDefault'] = 1;
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
/* rajk - for blobstreaming */
$cfg['Servers'][$i]['bs_garbage_threshold'] = 50;
$cfg['Servers'][$i]['bs_repository_threshold'] = '32M';
$cfg['Servers'][$i]['bs_temp_blob_timeout'] = 600;
$cfg['Servers'][$i]['bs_temp_log_threshold'] = '32M';
?>
I have recently installed Windows Web Matrix in order to use Joomla but then I was instructed to download wamp instead. However I had problems installing it and then I figured that it was because Web Matrix was still installed. Therefore, I un-installed it and all the components it added.
Then, I tried re-installing wamp and it worked. However, I am having problems.
I can enter localhost but I can't enter phpMyAdmin :
http://www.speedyshare.com/files/29980627/Wamp_errors.docx
(Click on the file wamperrors.docx to see the images)
I have a feeling I might have deleted something related to mySQL when I deleted the programs by WebMatrix but I'm not certain.
Does anyone have any clue as to how I can get phpMyAdmin to work for me?
Thanks :)
I have made these changes but I'm still getting the same error :/ Here is my config.inc/php file:
<?php
/* Servers configuration */
$i = 0;
/* Server: localhost [1] */
$i++;
$cfg['Servers'][$i]['verbose'] = 'localhost';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'root';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
/* End of servers configuration */
$cfg['DefaultLang'] = 'en-utf-8';
$cfg['ServerDefault'] = 1;
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
/* rajk - for blobstreaming */
$cfg['Servers'][$i]['bs_garbage_threshold'] = 50;
$cfg['Servers'][$i]['bs_repository_threshold'] = '32M';
$cfg['Servers'][$i]['bs_temp_blob_timeout'] = 600;
$cfg['Servers'][$i]['bs_temp_log_threshold'] = '32M';
?>
我认为问题在于,当您卸载 WWM 时,您也删除了 MySQL。默认情况下,即使您卸载了 MySQL,它也会保存您的数据库和用户。
要解决此问题,您需要为 phpMyAdmin 设置正确的密码。
停止所有服务(apache、mysql等)
用记事本打开 '\wamp\apps\phpmyadmin\config.inc.php'
查找以下行:
并设置新密码
I think the problem is that, when you uninstalled WWM, you also removed MySQL. Be default MySQL keeps your databases and users saved even if you uninstall it.
To fix this, you need to set the right password for phpMyAdmin.
Stop all services (apache, mysql etc.)
Open '\wamp\apps\phpmyadmin\config.inc.php' with notepad
lookup the lines:
And set your new password