跳转到主内容
极星编程网:以代码为星,赴技术山海!

phpmyadmin 配置方法与安装教程

今天我们来看看phpmyadmin配置教程吧,也可以叫做phpmyadmin 安装吧,安装我就不说了,你直接到网上下载一个phpmyadmin包解压到你的站点目录,就行了.下面我们来看个简单的例子吧.

安装目录:/admin/好了我们现在打开我们刚才解压的文件夹找到config.sample.inc.php 把它改名为config.inc.php下面我们就打开这个文件.

找到$cfg['PmaAbsoluteUri'] = '';$cfg['EexecTimeLimit'] = ;我们把$cfg['PamAbsolteUri]设置为你的目录我的是/admin/目录,$cfg['EexecTimeLimit'] 我设置为10000立即学习“PHP免费学习笔记(深入)

”;

$cfg['PmaAbsoluteUri'] = '/admin/''';$cfg['EexecTimeLimit'] = 10000;再找到$cfg['blowfish_secret'] = '';$cfg['blowfish_secret'] = 'cookie';找到$cfg['Servers'][$i]['host']          = '' // MySQL hostname or IP address phpMyAdmin 5.2.3 phpMyAdmin 5.2.3 是一款广受欢迎的 MySQL / MariaDB 数据库管理工具,基于 PHP 开发,以 Web 图形化界面方式让用户轻松管理数据库。该版本在稳定性与安全性上进一步优化,支持主流 PHP 版本及多种服务器环境。通过 phpMyAdmin 5.2.3,用户可直接在浏览器中执行 SQL 语句、管理数据表、导入导出结构或数据、创建用户及权限分配等操作,无需掌握复杂命令行。其直观的界面和丰富的功能,大幅降低了数据库管理的门槛,适用于网站维护、本地开发及远程运维等场景,是开发者与运下载这里是设置连接mysql主机的,可以是主机也可以是IP地址.

$cfg['Servers'][$i]['host']          = 'localhost'; // MySQL hostname or IP address下面再找到.

$cfg['Servers'][$i]['auth_type']     = '';    // Authentication method (valid choices: config, http, HTTP, signon or cookie)$cfg['Servers'][$i]['user']          = '';      // MySQL user$cfg['Servers'][$i]['password']      = '';上面三种什么意思我就不多说了各位看看我的配置吧.

$cfg['Servers'][$i]['auth_type']     = 'cookie';    // Authentication method (valid choices: config, http, HTTP, signon or cookie)$cfg['Servers'][$i]['user']          = 'p123456';      // 你的mysql用户$cfg['Servers'][$i]['password']      = '******';  这是你的mysql密码好了现在把cofing.inc.php上传到服务器就OK了.好了写完了1045 Access denied for user 'root'@'localhost' (using password: YES) 1045 Access denied for user 'root'@'localhost' (using password: YES)原因是:你的phpmyadmin设置了密码,但是你的密码与my sql server用户名与密码不致我造成的.

++ plugin_code qcomic begin#1045 - Access denied for user 'root'@'localhost' (using password: NO)++ plugin_code qcomic begin本站原创转载请注明出处吧.  www.111cn.cn

相关文章