win2000下装mysql4.0.12为什么mysql server服务无法启动

xyf 2003-03-25 08:28:12
rt~~

请教高手,小弟是菜鸟一只~~
...全文
76 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
fsht 2003-03-25
  • 打赏
  • 举报
回复
sc
shuixin13 2003-03-25
  • 打赏
  • 举报
回复
[mysqld]

# Uncomment the following rows if you move the MySQL distribution to another location
basedir =D:/mysql
datadir =D:/mysql/data
#tmpdir#=
# 临时文件存放目录
#bind-address=192.168.0.2
# 本机的IP地址
port=3306
# 所占用的IP端口
language =chinese
# 服务器返回信息语言
default-character-set =gb2312
# 服务器默认的字符集,加上后就支持中文字段,中文索引等
#timezone =GMT+ 8
# 时区北京

# Uncomment the following if you want to log updates
#log-bin = d:/mysql/log/123.log
# 二进制Log文件,用于镜像服务器
log =d:/mysql/log/sql.log
# Log记录
local-infile =1
# 允许使用 LOAD DATA LOCAL
#socket =MySQL
skip-locking

set-variable = key_buffer=16K
set-variable = max_allowed_packet=1M
set-variable = thread_concurrency=4
# CPU数目*2
set-variable = thread_stack=64K
set-variable = table_cache=4
set-variable = sort_buffer=64K
set-variable = net_buffer_length=2K
server-id = 1

# Un comment the following if you are NOT using BDB tables
skip-bdb

# Uncomment the following if you are using Innobase tables
skip-innodb
innodb_data_home_dir = e:\mysql\ibdata
innodb_data_file_path = ibdata1:1000M
# 数据文件必须能容下数据和索引
set-variable = innodb_buffer_pool_size=50M
# 设置缓冲池大小为内存的 50 - 80 %
set-variable = innodb_additional_mem_pool_size=5M
innodb_log_group_home_dir = e:\mysql\ibdata\iblogs
innodb_log_arch_dir = e:\mysql\ibdata\iblogs
# log_arch_dir 必须和 log_group_home_dir 一样
innodb_log_archive=0
set-variable = innodb_log_files_in_group=3
set-variable = innodb_log_file_size=10M
# 设置日志文件大小为缓冲池的 15%。
set-variable = innodb_log_buffer_size=8M
innodb_flush_log_at_trx_commit=1
# 如果丢失最近的几个事务影响不大的话,设置 flush_log_at_trx_commit 为 0。
set-variable = innodb_file_io_threads=4
set-variable = innodb_lock_wait_timeout=50


[WinMySQLadmin]
Server=D:/mysql/bin/mysqld-max-nt.exe
user=root
password=

xyf 2003-03-25
  • 打赏
  • 举报
回复
我运行winmysqladmin.exe显示红灯
这是my.ini的内容

[WinMySQLAdmin]
Server=D:/mysql/bin/mysqld-nt.exe
shuixin13 2003-03-25
  • 打赏
  • 举报
回复
运行 mysql\bin\winmysqladmin.exe
如果它的图标变成 绿色
则说明 MySQL 服务程序已启动了

如果是红色的,
请将你计算机中的系统目录下的 my.ini 文件内容帖出来瞧瞧!
菜牛 2003-03-25
  • 打赏
  • 举报
回复
我不知道怎么会有那么多的人运行不起来MySQL服务器,我装了很多次都没有问题,要有问题就是MySQL.ini没有设置,这个看一下手册很容易解决,照手册做,没问题。
xyf 2003-03-25
  • 打赏
  • 举报
回复
我运行mysqld时也没有出错信息提示,但是我运行mysql时却提示那个错误!!
langjianjun 2003-03-25
  • 打赏
  • 举报
回复
net start mysql

就可以了
bbh 2003-03-25
  • 打赏
  • 举报
回复
安装后的mysql服务没有启动
xyf 2003-03-25
  • 打赏
  • 举报
回复
提示这样出错信息,

ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)
shuixin13 2003-03-25
  • 打赏
  • 举报
回复
主要是你的 my.ini 文件配置问题,
按上面我给的例子自己改一下吧
xyf 2003-03-25
  • 打赏
  • 举报
回复
这是什么意思啊??1067是什么错误??是不是和我的系统有冲突?我的系统中还装有oracle8i

D:\mysql\bin>net start mysql
MySql 服务正在启动 .
MySql 服务无法启动。

系统出错。

系统发生 1067 错误。

进程意外终止。

56,677

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧