佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 1661|回复: 30

phpmyadmin的设定问题

[复制链接]
发表于 18-5-2006 03:37 PM | 显示全部楼层 |阅读模式
小弟刚install 了mysql 4.11, 但记得以前install后,taskbar会出现一个类似红绿灯的tray icon,但这次我看不见

然后我就type http://localhost/phpmyadmin/index.php
它竟然出现file download的dialog box.. why?

那里出错了呢?

[ 本帖最后由 counterking 于 19-5-2006 04:56 PM 编辑 ]
回复

使用道具 举报


ADVERTISEMENT

发表于 18-5-2006 04:37 PM | 显示全部楼层
你没安装 php, 所以会出现 file download.
另外, 你的 MySQL 应该已经转换成 windows service.
去 Start -> Control Panel -> Administrative Tools -> Services -> MySQL 就可以看到.
回复

使用道具 举报

 楼主| 发表于 18-5-2006 04:49 PM | 显示全部楼层
何谓已经转换成 windows service呢?应该转换成什么呢?有什么分别?
以及如何转换回去?

回复

使用道具 举报

 楼主| 发表于 18-5-2006 04:55 PM | 显示全部楼层
同时我想问。。当我enter http://localhost/phpmyadmin/index.php 时,出现下列的文字

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in config.inc.php and make sure that they correspond to the information given by the administrator of the MySQL server.

wat caused tis happened? and how to solve it?
回复

使用道具 举报

发表于 18-5-2006 05:46 PM | 显示全部楼层
没有分别. 要用的时候只要在 service 那里按 start, 否则, 就让它自动随着 windows 来 start.

当初你安装 Mysql 的时候, 还记得你的 password 吗? 你需要去修改 phpmyadmin 的其中之一的文件, config.inc.php, 尝试把 user 和 password 改成 "root" 和 "password".
回复

使用道具 举报

发表于 18-5-2006 06:40 PM | 显示全部楼层
不好意思...想借楼主的帖问一下...mysql可以连接跟visual studio.net2003吗? 我每次都是使用ms sql2000的, 现在要换成mysql...我不懂mysql咧..想请教大家..谢谢..
回复

使用道具 举报

Follow Us
 楼主| 发表于 18-5-2006 10:12 PM | 显示全部楼层
当初你安装 Mysql 的时候, 还记得你的 password 吗? 你需要去修改 php
myadmin 的其中之一的文件, config.inc.php, ...


我以mysql administrator 来login.. 发觉我的password = 123456 , username = root, 并成功login进去

但当我更改了config.inc.php,还是不能进去phpmyadmin.. 为何呢?

回复

使用道具 举报

发表于 19-5-2006 03:56 PM | 显示全部楼层
原帖由 红卜卜 于 18-5-2006 06:40 PM 发表
不好意思...想借楼主的帖问一下...mysql可以连接跟visual studio.net2003吗? 我每次都是使用ms sql2000的, 现在要换成mysql...我不懂mysql咧..想请教大家..谢谢..


当然可以, 你可以用 ODBC, 首先你要先安装 MySQL ODBC, 你可以在 MySQL 的网站下载.
回复

使用道具 举报


ADVERTISEMENT

发表于 19-5-2006 03:57 PM | 显示全部楼层
原帖由 counterking 于 18-5-2006 10:12 PM 发表


我以mysql administrator 来login.. 发觉我的password = 123456 , username = root, 并成功login进去

但当我更改了config.inc.php,还是不能进去phpmyadmin.. 为何呢?




错误讯息是什么呢? 你改了那里呢?
回复

使用道具 举报

 楼主| 发表于 19-5-2006 04:56 PM | 显示全部楼层
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in config.inc.php and make sure that they correspond to the information given by the administrator of the MySQL server.

error msg as above... i already enter "username" , "password", "host" , "port" to every field i found in config.inc.php

username = "root"
password = "123456"
host = "ATHLON"
port = "3306"
回复

使用道具 举报

确认密码 该用户已被删除
发表于 19-5-2006 06:32 PM | 显示全部楼层
为甚么我的phpmyadmin里,没有config.ini.php?
请问在那里找?
回复

使用道具 举报

发表于 19-5-2006 09:25 PM | 显示全部楼层
原帖由 counterking 于 19-5-2006 04:56 PM 发表
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in config.inc.php and make sure that they correspond to the ...


看这里过来人的经验: http://www.chinaunix.net/jh/17/498041.html
回复

使用道具 举报

发表于 19-5-2006 09:26 PM | 显示全部楼层
原帖由 确认密码 于 19-5-2006 06:32 PM 发表
为甚么我的phpmyadmin里,没有config.ini.php?
请问在那里找?


仔细看看, 如果真的没有就要重新 download.
回复

使用道具 举报

发表于 20-5-2006 10:04 AM | 显示全部楼层
php.ini 可以從 php.ini-dist, 或者 php.ini-recommended
copy 然後修改
回复

使用道具 举报

确认密码 该用户已被删除
发表于 20-5-2006 05:01 PM | 显示全部楼层
原帖由 goatstudio 于 19-5-2006 09:26 PM 发表


仔细看看, 如果真的没有就要重新 download.


http://www.phpmyadmin.net/home_page/downloads.php
我才刚刚download的。是这个link吗?phpMyAdmin 2.8.0.4
回复

使用道具 举报

发表于 20-5-2006 11:45 PM | 显示全部楼层


不好意思...想借楼主的帖问一下
我安装了PHP 5,MySQL Server 5,PhpMyAdmin-2.8.0.4。
我的IIS时Abyss Web Server X1。

PHP一开始就设置好了。
MySQL就connect不到,可是上个星期我解决了。
之后就安装phpmyadmin。

问题就一大堆。。。
之前使connect不到phpmyadmin,什么extention的问题。
现在都弄好了。

当我enter http://localhost/phpmyadmin/index.php
银幕上只出现一行字,"No input file specified."

另一个问题是我发现到我的phpmyadmin里没有config.inc.php。
我刚刚重新下载,结果还是没有。
汗~

phpMyAdmin-2.8.0.4.zip
phpMyAdmin-2.8.0.4.tar.bz2
phpMyAdmin-2.8.0.4.tar.gz
这三个我都下载了,里面全都没有config.inc.php。

我应该怎么办?

谢谢各位了。

回复

使用道具 举报


ADVERTISEMENT

发表于 21-5-2006 12:49 AM | 显示全部楼层
原帖由 确认密码 于 20-5-2006 05:01 PM 发表


http://www.phpmyadmin.net/home_page/downloads.php
我才刚刚download的。是这个link吗?phpMyAdmin 2.8.0.4


对... 一定会有在里面的.
回复

使用道具 举报

发表于 21-5-2006 12:52 AM | 显示全部楼层
原帖由 杨大侠 于 20-5-2006 11:45 PM 发表


不好意思...想借楼主的帖问一下
我安装了PHP 5,MySQL Server 5,PhpMyAdmin-2.8.0.4。
我的IIS时Abyss Web Server X1。

PHP一开始就设置好了。
MySQL就connect不到,可是上个星期我解决了。
之后就安 ...


我的建议是, 也许你的 Windows Explorer 的 file extendsion 被隐藏了.
当你打开 Windows Explorer 时, 去 Tools -> Folder Option -> Hide Extendsion -> uncheck 它.
这样的话, 你应该看的到, 再不然... 就 search 那 phpmyadmin 的 folder 咯.
回复

使用道具 举报

发表于 21-5-2006 02:15 AM | 显示全部楼层
原帖由 goatstudio 于 21-5-2006 12:52 AM 发表
我的建议是, 也许你的 Windows Explorer 的 file extendsion 被隐藏了.
当你打开 Windows Explorer 时, 去 Tools -> Folder Option -> Hide Extendsion -> uncheck 它.
这样的话, 你应该看的到, 再 ...



我没有hide extensions的。

那三个我下载的phpmyadmin的folder我应经search了,就是没有。
所以我觉得很奇怪。
我下载很多version了。
汗~


回复

使用道具 举报

发表于 21-5-2006 02:17 AM | 显示全部楼层


其实myphpadmin有什么功用?
它的功能和Php Administrator有何不同?

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 22-9-2024 07:24 PM , Processed in 0.130479 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表