首页 > 编程知识 正文

phpmyadmin配置,Phpmyadmin配置不生效

时间:2023-12-27 22:27:44 阅读:326643 作者:ZRTN

本文目录一览:

phpmyadmin的安装与使用图文教程第1/2页

PhpMyAdmin简介

PhpMyAdmin是一个用PHP编写的,可以通过互联网控制和操作MySQL。通过phpMyAdmin可以完全对数据库进行操作,例如建立、复制/删除数据等等。

安装篇

第一步:下载phpmyadmin

到天空软件站下载phpmyadmin,地址:,搜索phpmyadmin即可出现最新更新的phpmyadmin版本,建议使用多国语言版,这样才出现简体中文字符。

第二步:本地配置phpmyadmin

把下载回来的phpmyadmin解压出来,并将解压出来的此文件夹改名为phpmyadmin,然后定位到此文件夹的/phpmyadmin/libraries下的config.default.php,把它复制到/phpmyadmin并重命名为config.inc.php

用记事本打开config.inc.php,编辑--查找...

查找$cfg['PmaAbsoluteUri'] = '';

将其改成

$cfg['PmaAbsoluteUri'] = '';

[也就是您的网站服务的IP或域名加上你的phpmyadmin的文件夹名]

查找$cfg['Servers'][$i]['auth_type'] = 'config';

把config改成 http,即

$cfg['Servers'][$i]['auth_type'] = 'http';

[改成http后,就可以像登录路由器那样,出现一个登录对话框]

保存退出。

第三步:上传phpmyadmin

本地配置完毕后,就二进制上传到你的服务器或虚拟服务器上的web文件夹httproot,有些服务器的根文件夹叫htdocs。

用浏览器输入地址,例如:,就会跳出一个输入用户名和密码的对话框,如下图所示:

然后我们就把服务器提供商提供给我们具有读写权限的帐号和密码填入进去,即可进入你的phpmyadmin页面了。如果出现的界面不是中文,安装了多国语言版的版本,可以在右边如图的这个位置选择简体中文

到此为止,整个phpmyadmin的安装结束。

小技巧

聪明的你是否发觉上面有什麽不对了呢?如果每个人都照我这样做那麽..是不是每个人的phpMyAdmin的位置都在http://网址/phpMyAdmin这里?这种情况是可以改变的..只要将phpMyAmin资料夹更名即可。若我想要更名为pma(各取一个字,方便记忆),路径:/usr/local/apache/htdocs/pma,如此别人就无法去解的phpMyAdmin的位置...只剩下你自己知道了...

当前1/2页 12下一页

如何在Windows下安装和配置PHPmyadmin

如何在Windows下安装和配置PHPmyadmin?

1.安装phpMyAdmin图形化管理工具

将下载的"phpMyAdmin-2.11.5-all-languages.rar"文件解压缩到Apache主目录下,解压后的名称是"phpMyAdmin-2.11.5-all-languages",其中2.11.5是phpMyAdmin的版本号,为了便于使用可以将解压缩后的文件夹重新命名为phpMyAdmin。

2.配置phpMyAdmin图形化管理工具

将phpMyAdmin安装目录下的libraries目录下的config.default.php复制到phpmyAdmin根目录下,并改名为config.inc.php。然后用Dreamweaver开发工具打开config.inc.php文件,将光标定位到指定的标识行位置。

phpmyadmin4.6怎么安装配置

hpMyAdmin功能:

phpMyAdmin可以管理整个MySQL服务器(需要超级用户),也可以管理单个数据库。为了实现后一种,你将需要合理设置MySQL用户,他只能对允许的数据库进行读/写。那要等到你看过MySQL手册中相关的部分。

phpMyAdmin安装教程

1.下载多国语言包

解压好后更名为 phpmyadmin 注意全是小写的,把它放在 文件夹htdocs下

2.将config.sample.inc.php 更名为 config.inc.php

3,配制 config.inc.php

修改 $cfg['Servers'][$i]['controluser'] 把前面的 //去掉,在后面写上数据库名字 如 'root'

$cfg['Servers'][$i]['controlpass'] 把前面的// 去掉,在后面写上数据库密码,如'123'

修改$cfg['blowfish_secret'] = '' 在后面'' 里面随便填上几个数字 '456'

4. 配制服务器的php.ini

将php下的 libmcrypt.dll 复制到 C:WINDOWSsystem32

修改php.ini

将 ;extension=php_mcrypt.dll前的;去掉

5,重启apache即可

安装过程

PhpMyAdmin安装包下载安装

解压

将下载文件解压缩到 WEB 访问路径下。文件目录如phpmyadmin。

配置文件

然后配置目录下libraries文件下的 config.default.php 文件。

$cfg['PmaAbsoluteUri'] = ‘’;

$cfg['blowfish_secret'] = ’123456′;

$cfg['DefaultLang'] = ‘zh-gb2312′;

$cfg['DefaultCharset'] = ‘gb2312′;

$cfg['Servers'][$i]['auth_type'] = ‘cookie’;

保存之后,在浏览器里输入:

更新日志

phpMyAdmin V4.5.1

- issue Invalid argument supplied for foreach()

- issue array_key_exists() expects parameter 2 to be array

- issue #11480 Notice Undefined index: drop_database

- issue #11486 Server variable edition in ANSI_QUOTES sql_mode: losing current value

- issue #11491 Propose table structure broken

- issue #11464 phpMyAdmin suggests upgrading to newer version not usable on that system

- issue #11495 'PMA_Microhistory' is undefined

- issue #11496 Incorrect definition for getTablesWhenOpen()

- issue #11500 Error when creating new user on MariaDB 10.0.21

- issue #11505 Notice on htmlspecialchars()

- issue Notice in Structure page of views

- issue #11510 AUTO_INCREMENT always exported when IF NOT EXISTS is on

- issue #11516 Some partitions are missing in copied table

- issue #11521 Notice of undefined variable when performing SHOW CREATE

- issue #11509 Error exporting sql query results with table alias

- issue #11512 SQL editing window does not recognise 'OUTER' keyword in 'LEFT OUTER JOIN'

- issue #11518 "NOT IN" clause not recognized (MySQL 5.6 and 5.7)

- issue #11524 Yellow star does not change in database Structure after add/remove from favorites

- issue #11531 Invalid SQL in table definition when exporting table

- issue #11526 Foreign key to other database's tables fails

- issue #11519 Bug while exporting results when a joined table field name is in SELECT query

- issue #11522 Strange behavior on table rename

- issue #11539 Rename table does not result in refresh in left panel

- issue #11541 Missing arguments for PMA_Table::generateAlter()

- issue #11544 Notices about undefined indexes on structure pages of information_schema tables

- issue Change minimum PHP version for Composer

- issue #11542 Import parser and backslash

- issue #11546 "Visualize GIS data" seems to be broken

- issue #11548 Confirm box on "Reset slave" option

- issue Fix cookies clearing on version change

- issue #11558 Cannot execute SQL with subquery

- issue #11520 Incorrect syntax creating a user using mysql_native_password with MariaDB

- issue #11561 Cannot use third party auth plugins

phpMyAdmin 4.3.11 更新日志

# SQL链接错误4774是完全错误的

错误4768:# MariaDB版本不匹配

错误4777缺少#一些图像设计师原创主题

错误4767:在细雨# mysql_charsets.inc.php未定义的索引

错误4753正常场#和多线领域有不同的利润率

错误4760不能重新导入设置#从本地存储

错误4778 SQL数据库列表时出错#通过附加的列进行排序

错误4780注意#时间戳列没有默认值

phpMyAdmin V4.4.6.1 Final

[安全] CSRF漏洞安装

[安全]漏洞允许中间人攻击

phpMyAdmin V4.5.5 更新内容:

Fixes include improvements to changing passwords on newer MariaDB servers and several fixes to the SQL parser which will resolve some errors users encountered entering commands in the SQL tab.

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。