- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
所以,今天我第一次在 Ubuntu 15.10 上安装了 XAMPP/LAMPP。 Apache 服务器工作正常,但是当我尝试转到“localhost/phpmyadmin”时,出现以下错误:
相信我,我搜索了整个互联网、堆栈溢出、apache friend 等,但没有一个给定的解决方案对我有用......所以这是我的 config.inc.php 文件:
<?php
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
/* Server parameters */
//$cfg['Servers'][$i]['host'] = 'localhost';
//$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = true;
/**
* phpMyAdmin configuration storage settings.
*/
/* User used to manipulate with storage */
// $cfg['Servers'][$i]['controlhost'] = '';
// $cfg['Servers'][$i]['controlport'] = '';
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = '';
/* Storage database and tables */
$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]['table_uiprefs'] = 'pma__table_uiprefs';
$cfg['Servers'][$i]['tracking'] = 'pma__tracking';
$cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';
$cfg['Servers'][$i]['recent'] = 'pma__recent';
// $cfg['Servers'][$i]['favorite'] = 'pma__favorite';
// $cfg['Servers'][$i]['users'] = 'pma__users';
// $cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
// $cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
// $cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
// $cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
// $cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';
// $cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
/* Contrib / Swekey authentication */
// $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
最佳答案
重新安装 phpmyadmin 并尝试
代码:sudo dpkg-reconfigure phpmyadmin
如果这不起作用然后尝试
代码:sudo apt-get --purge remove phpmyadmin
然后重新安装,如果这不起作用,我愿意打赌这无关紧要并且做
代码:sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
并重新启动apache
代码:##sudo /etc/init.d/apache reload
sudo service apache2 reload
关于您的配置中定义的 controluser 的 phpMyAdmin 连接失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33376438/
我已经调查过 this但是由于我在 Ubuntu 10.04 而不是 XAMPP 上运行并且已经创建了 phpmyadmin 数据库,我可以通过终端以 root 和 phpmyadmin 用户登录。
所以,今天我第一次在 Ubuntu 15.10 上安装了 XAMPP/LAMPP。 Apache 服务器工作正常,但是当我尝试转到“localhost/phpmyadmin”时,出现以下错误: 相信我
我使用的是运行 OSX 10.7.5 的 Mac。 我已经使用 PHP 5.5.3 和 MySQL 安装了 MAMP Pro 2.2。我按照 MAMP 给出的所有说明成功将 phpMyAdmin 升级
我已经在iis7.5 server8上安装了phpmyadmin我的 config.inc.php 是` /* vim: set expandtab sw=4 ts=4 sts=4: */ /**
![PhpMyAdmin][1] Xampp 控制面板日志: 9:44:54 PM [mysql] 检测到 MySQL 服务路径错误 9:44:54 PM [mysql] 更改 XAMPP MySQL
我最近安装了 XAMPP,但是当我在 XAMPP 中单击 MySQL 的管理按钮时,它没有在 MySQL 内部重定向,而是要求我输入用户名和密码并给出此错误 Connection for contro
xampp phpmyadmin 今天没有运行并在打开时出现错误: 错误MySQL 说:文档 无法连接:设置无效。 配置中定义的 controluser 连接失败。 phpMyAdmin 尝试连接 M
我看到其他人回答了这个问题,但答案说以 root 身份登录并创建一个新用户和数据库。我什至无法走那么远。我刚刚安装了一个全新的 XAMPP 实例,启动它,当我转到 localhost/phpmyadm
我有一个 Windows,我为它安装了 XAMPP,这是我在类项目中构建的一个 Web 应用程序。我使用推荐的设置安装了它,没有更改任何内容,但是当我尝试访问 localhost/phpmyadmin
我在我的窗口中安装了 xampp。以前,我可以使用我的用户名和密码轻松登录到我的 phpmyadmin。很长一段时间后,我无法使用以下消息登录 phpmyadmin: #1045 Cannot log
我刚刚在我的 Windows XP 机器上安装了 XAMPP,我收到一条错误消息: Connection for controluser as defined in your configuratio
我是一名优秀的程序员,十分优秀!