使用自制软件安装时,在哪里可以找到phpmyadmin的界面

时间:2016-06-06 03:59:52

标签: apache phpmyadmin

我使用homebrew

安装了brew install phpmyadmin
Note that this formula will NOT install mysql. It is not
required since you might want to get connected to a remote
database server.

Webserver configuration example (add this at the end of
your /etc/apache2/httpd.conf for instance) :
  Alias /phpmyadmin /usr/local/share/phpmyadmin
  <Directory /usr/local/share/phpmyadmin/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    <IfModule mod_authz_core.c>
      Require all granted
    </IfModule>
    <IfModule !mod_authz_core.c>
      Order allow,deny
      Allow from all
    </IfModule>
  </Directory>
Then, open http://localhost/phpmyadmin

More documentation : file:///usr/local/Cellar/phpmyadmin/4.3.11.1/share/phpmyadmin/doc/

Configuration has been copied to /usr/local/etc/phpmyadmin.config.inc.php
Don't forget to:
  - change your secret blowfish
  - uncomment the configuration lines (pma, pmapass ...)

==> Summary
  /usr/local/Cellar/phpmyadmin/4.3.11.1: 1,898 files, 55.2M, built in 2 seconds

输出结果如下:

httpd.conf

我使用该详细信息块更新了localhost/phpmyadmin。我还更新了我的河豚,并在配置行中取消注释。

当我转到{{1}}时,我收到404错误。

我会找到界面的任何想法,以便我可以更轻松地构建/更新我的数据库。

1 个答案:

答案 0 :(得分:0)

我也遇到过这个问题。

为了在你的apache中使用phpMyAdmin,你必须使用这个命令在/usr/local/var/www/htdocs中创建符号链接。 (如果您没有更改DocumentRoot

cd /usr/local/var/www/htdocs
ln -s /usr/local/Cellar/phpmyadmin/4.3.11.1/share/phpmyadmin ./phpmyadmin