简体   繁体   English

持续的Xampp phpmyadmin错误

[英]Persistent xampp phpmyadmin error

When I click my phpmyadmin page, it gives me this error: phpMyAdmin was unable to read your configuration file! 当我单击phpmyadmin页面时,它给了我这个错误:phpMyAdmin无法读取您的配置文件! This might happen if PHP finds a parse error in it or PHP cannot find the file. 如果PHP在其中找到解析错误,或者PHP无法找到文件,则可能会发生这种情况。 Please call the configuration file directly using the link below and read the PHP error message(s) that you receive. 请使用下面的链接直接调用配置文件,并阅读您收到的PHP错误消息。 In most cases a quote or a semicolon is missing somewhere. 在大多数情况下,某处缺少引号或分号。 If you receive a blank page, everything is fine. 如果收到空白页,则一切正常。

I downloaded xampp earlier today and uninstalled because it was giving me errors. 我今天早些时候下载了xampp并卸载了,因为它给了我错误。 So I just re-installed it now and I'm getting this error :( 所以我现在才重新安装它,并且出现此错误:(

I appreciate your suggestions, Thanks. 感谢您的建议,谢谢。

<?php
/*
* This is needed for cookie based authentication to encrypt password in
* cookie
*/
$cfg['blowfish_secret'] = 'xampp'; 

/*
* Servers configuration
*/
$i = 0;

/*
* First server
*/
$i++;

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

/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = '';

/* Advanced phpMyAdmin features */
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
$cfg['Servers'][$i]['history'] = 'pma_history';
$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
$cfg['Servers'][$i]['tracking'] = 'pma_tracking';
$cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';

/*
* End of servers configuration
*/

?>

Have you tried going to the link it is asking you to access directly? 您是否尝试过访问它要求您直接访问的链接? What error is it giving you? 这给你什么错误? That would help us determine what is wrong. 那将帮助我们确定出什么问题了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM