没有合适的资源?快使用搜索试试~ 我知道了~
phpMyAdmin教程[总结].pdf
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 167 浏览量
2021-10-11
23:34:13
上传
评论
收藏 46KB PDF 举报
温馨提示
试读
11页
phpMyAdmin教程[总结].pdf
资源推荐
资源详情
资源评论
phpMyAdmin 教程
#1 phpMyAdmin 教程
先下载一份最新版的 phpMyAdmin MYSQL 管理器。
解压后得到一个 phpMyAdmin 的目录(你可以改名)
找到目录里的 config.inc.php 文件,打开
找到 $cfg['PmaAbsoluteUri']
修改你将上传到空间的 phpMyAdmin 的网址
如: $cfg['PmaAbsoluteUri'] = 'http://www.XXX.com/phpmyadmin/';
还有下面的
$cfg['Servers'][$i]['host'] = 'localhost'; (通常用默认,也有例外)
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
在自己的机子里调试用 config ,如果在网上用 cookie。
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user (用户名,自己机里用 root,在网上设你的 ftp
用户名)
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
自己机里不用设
$cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only (你只有一个数据就设置一下)
还有设
$cfg['DefaultLang'] = 'zh';
设置完毕可以上传到网上了。
其实在使用的实际过程中, 以上的方法并不是适合在网络上使用的。 其实实际设置下面几项
就可以了:
$cfg['blowfish_secret'] = '1'; (设置为相应数字,好像表示为一个开关。使用某种登陆机制的
问题。好像和 php 系统的设置也有一些关系)
$cfg['Servers'][$i]['host'] = 'mysql.home.shangdu.net'; (设置你的 mysql 数据库主机地址,这
是必须的。)
$cfg['Servers'][$i]['auth_type'] = 'cookie'; (设置用户登录的模式,在网络上的话使用 http 或
者 cache)
$cfg['ServerDefault'] = 1; (如果你要管理登陆多个 mysql 数据库的话, 你需要把它设置为 0。
并且设置不止一个 $cfg['Servers'][$i]['host'] )
修正备忘一下留用
#2
一、概述:
phpMyAdmin 是一套以 php3 写成,针对 MySQL 资料库系统的 Web 管理界面。它可以
很方便地以图形化界面, 来对 MySQL 资料库内之资料做增删的做动, 更可以做资料库本身
的增删管理;另外附带的好处是,您也可以籍著这个界面来学习 SQL 正确的语法。
二、资源:
作业环境:
RedHat 6.0 + CLE 0.8p1
原始出处:
http://www.phpwizard.net/phpMyAdmin/
教程地址:
http://krdo.net/bbs/read.php?tid=9200
版本:
phpMyAdmin 2.0.5 版
档案来源:
ftp://sql.hmes.kh.edu.tw/pub/apache_php3_mysql/ 或
http://linux.mcic.thu.edu.tw/downloa...che+php+mysql/
中文套件来源:
http://php.paes.cy.edu.tw/down_b/hits.php3 或
ftp://sql.hmes.kh.edu.tw/pub/apache_php3_mysql/
档案列表: -rw-r--r-- 1 root ftp 58357 Dec 10 11:24 phpMyAdmin_2.0.5.tar.gz
-rw-r--r-- 1 root ftp 2200 Dec 14 10:14 phpMyAdmin-big5-lang.tar.gz
网路资源:
瑞琦资讯工作室 phpMyAdmin 交流讨论区
三、安装
取得原始档。
将 原 始 档 解 压 缩 到 Web 伺 服 器 的 文 件 根 目 录 tar zvxf phpMyAdmin_2.0.5.tar.gz -C
/home/httpd/html
变换到 phpMyAdmin 的目录底下 cd /home/httpd/html/phpMyAdmin
修改设定档 config.inc.php3 :
将原来的设定 $cfgServers[1]['host'] = ''; // MySQL hostname
$cfgServers[1]['port'] = ''; // MySQL port - leave blank for default port
$cfgServers[1]['adv_auth'] = false; // Use advanced authentication?
$cfgServers[1]['stduser'] = ''; // MySQL standard user (only needed with advanced auth)
$cfgServers[1]['stdpass'] = ''; // MySQL standard password (only needed with advanced auth)
$cfgServers[1]['user'] = ''; // MySQL user (only needed withbasic auth)
$cfgServers[1]['password'] = ''; // MySQL password (only needed with basic auth)
$cfgServers[1]['only_db'] = ''; // If set to a db-name, only this db is accessible
$cfgServers[1]['verbose'] = ''; // Verbose name for this host -leave blank to show the hostname
:
:
require("english.inc.php3");
修改成 $cfgServers[1]['host'] = 'MySQL Server 的 hostname'; // 填入您的 MySQL Server 的主
机名称
$cfgServers[1]['port'] = ''; // 填入连结 MySQL 的 port,不填则以预设的 port 进行连结
$cfgServers[1]['adv_auth'] = true; // 改成 true 则进入 phpMyAdmin 必须先身份认证
$cfgServers[1]['stduser'] = 'root'; // MySQL 使用者的帐号
$cfgServers[1]['stdpass'] = ' 密码 '; // MySQL 使用者的密码
$cfgServers[1]['user'] = 'root'; // MySQL 管理帐号
$cfgServers[1]['password'] = ' 密码 '; // MySQL 管理密码
$cfgServers[1]['only_db'] = ''; // 指定管理的资库名称,不填则可以管理整个 Server
$cfgServers[1]['verbose'] = ''; // 指定 MySQL 的名称,不填则使用系统本身的 hostname
:
:
require("chinese_big5.inc.php3"); //将语言介面改成中文,因中文翻译的不好,在此不建议使
用
说明:
(1) 因本管理介面, 可以以一个介面, 管理多个 MySQL Server ,所以可以在 config.inc.php3
中找到
$cfgServers[1]...
$cfgServers[1]...
$cfgServers[1]...
:
$cfgServers[2]...
$cfgServers[2]...
$cfgServers[2]...
的 述,其中 [1] 代表第一个 MySQL Server ,[2] 代表第二个 MySQL Server ,您要管理的 MySQL
Server 超过三台以上,您可以依照同样的 述,增加 [4]..... 下去!
(2) 若您的 MySQL Server 与 http Server 是同一台,则 $cfgServers[1]['host'] =可直接填入
localhost。
打开流览器,输入 http:// 你的网址 /phpMyAdmin 之后您会看到一个密码验证的小视窗,输
入您的 MySQL 管理帐号及密码,即可成功地看到 phpMyAdmin 的管理画面。
开始享受吧 !!
剩余10页未读,继续阅读
资源评论
czq131452007
- 粉丝: 2
- 资源: 12万+
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功