Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
12
返回列表 发新帖

DZ在2000SP4下装到这步不装了!!!

[复制链接]
天啊 发表于 2006-6-11 23:08:59 | 显示全部楼层
我也遇到过,但问题解决了!应该是MYSQL没有加载,编辑PHP.INI如果再有问题,联系QQ;308747393
回复

使用道具 举报

777547 发表于 2006-6-12 00:12:03 | 显示全部楼层
不要修改数据库前缀
回复

使用道具 举报

liu_alex 发表于 2006-6-12 09:53:15 | 显示全部楼层

我也遇到同样的问题

我的环境是windows XP+apache2+mysql5+php5。昨天世界杯都没看了,搞了一个通宵还是不行。

原帖由 mfking 于 2006-6-11 20:24 发表
我的环境是 linux+apache2+mysql4+php4.2,奇怪啊
回复

使用道具 举报

liu_alex 发表于 2006-6-12 09:56:42 | 显示全部楼层
也仔细看了php.ini,不知道怎样改,好像缺省的配置没有问题的。下面是php.ini里头关于mysql的设置:

[MySQL]
; Allow or prevent persistent links.
mysql.allow_persistent = On

; Maximum number of persistent links.  -1 means no limit.
mysql.max_persistent = -1

; Maximum number of links (persistent + non-persistent).  -1 means no limit.
mysql.max_links = -1

; Default port number for mysql_connect().  If unset, mysql_connect() will use
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
; at MYSQL_PORT.
mysql.default_port =

; Default socket name for local MySQL connects.  If empty, uses the built-in
; MySQL defaults.
mysql.default_socket =

; Default host for mysql_connect() (doesn't apply in safe mode).
mysql.default_host =

; Default user for mysql_connect() (doesn't apply in safe mode).
mysql.default_user =

; Default password for mysql_connect() (doesn't apply in safe mode).
; Note that this is generally a *bad* idea to store passwords in this file.
; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
; and reveal this password!  And of course, any users with read access to this
; file will be able to reveal the password as well.
mysql.default_password =

; Maximum time (in secondes) for connect timeout. -1 means no limit
mysql.connect_timeout = 60

; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
; SQL-Errors will be displayed.
mysql.trace_mode = Off

[MySQLi]

; Maximum number of links.  -1 means no limit.
mysqli.max_links = -1

; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
; at MYSQL_PORT.
mysqli.default_port = 3306

; Default socket name for local MySQL connects.  If empty, uses the built-in
; MySQL defaults.
mysqli.default_socket =

; Default host for mysql_connect() (doesn't apply in safe mode).
mysqli.default_host =

; Default user for mysql_connect() (doesn't apply in safe mode).
mysqli.default_user =

; Default password for mysqli_connect() (doesn't apply in safe mode).
; Note that this is generally a *bad* idea to store passwords in this file.
; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
; and reveal this password!  And of course, any users with read access to this
; file will be able to reveal the password as well.
mysqli.default_pw =

; Allow or prevent reconnect
mysqli.reconnect = Off


原帖由 天啊 于 2006-6-11 23:08 发表
我也遇到过,但问题解决了!应该是MYSQL没有加载,编辑PHP.INI如果再有问题,联系QQ;308747393
回复

使用道具 举报

16gt 发表于 2006-6-12 12:20:01 | 显示全部楼层
试试用户名为ROOT,密码为空
回复

使用道具 举报

mfking 发表于 2006-6-12 15:14:43 | 显示全部楼层
原帖由 liu_alex 于 2006-6-12 09:56 发表
也仔细看了php.ini,不知道怎样改,好像缺省的配置没有问题的。下面是php.ini里头关于mysql的设置:


; Allow or prevent persistent links.
mysql.allow_persistent = On

; Maximum number of persisten ...

是MYSQL问题,原因在于系统安装模块列表没有添加MYSQL,安装DZ4时读取列表失败,数据无法写入.重装MYSQL后成功.本人是菜鸟,不懂然后修改安装模块列表.不知道有高手知道吗?
回复

使用道具 举报

天啊 发表于 2006-6-13 00:02:43 | 显示全部楼层
不是PHP.INI关于MYSQL设置里面,是在上面加载MYSQL模组那没设置好,无法加载MYSQL模组
回复

使用道具 举报

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

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-1-17 15:15 , Processed in 0.028040 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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