79620
求助一个关于mysql的问题
回帖数 3
阅读数 2378
发表时间 2010-10-20 17:44:16
求助一个关于mysql的问题 。
我用mysql的客户端去连接mysql库,user表中已经将host改为 '%',但是在远程连接时,提示的是无权访问,在本地连接时,提示Either the server service or the configuration file could not be found.Statup variables and service section are therefore disabled。在服务里mysqls1这个服务无法启动,提示是1067错误。
这是为什么呢?
老大帮帮忙哈~
我用mysql的客户端去连接mysql库,user表中已经将host改为 '%',但是在远程连接时,提示的是无权访问,在本地连接时,提示Either the server service or the configuration file could not be found.Statup variables and service section are therefore disabled。在服务里mysqls1这个服务无法启动,提示是1067错误。
这是为什么呢?
老大帮帮忙哈~
3个回复
检查一下你的mysql server的配置吧。从这个错误来看,是配置有问题了。你google一下 1067这个错误。
2010-10-20 17:48:55 王春生 回帖
3个回复
老大,我用的windows的安装包,配置如下:
#######################################################################
# File name: my.ini
# Created By: The Uniform Server Development Team
# Edited Last By: Mike Gleaves (ric)
# V 1.0 5-12-2009
########################################################################
server-id = 1
pid-file=mysql.pid
default-character-set=utf8
default-storage-engine=MYISAM
skip-locking
# Folder paths
basedir = "E:/zentao/usr/local/mysql/"
datadir = "E:/zentao/usr/local/mysql/data/"
tmpdir = "E:/zentao/tmp/"
max_connections=100
query_cache_size=8M
table_cache= 64
table_open_cache = 64
tmp_table_size=5M
thread_cache_size=8
#*** MyISAM Specific options
myisam_max_sort_file_size=256M
myisam_sort_buffer_size=8M
key_buffer_size=8M
net_buffer_length= 8K
read_buffer_size=64K
read_rnd_buffer_size=185K
sort_buffer_size=139K
key_buffer = 16K
max_allowed_packet = 1M
sort_buffer = 64K
net_buffer_length = 2K
thread_stack = 192K
# Note: The innodb block is enabled/disabled using a single line
# Uncomment the next line to disable innodb tables. Comment line to enable innodb tables
skip-innodb
innodb_data_home_dir = "E:/zentao/usr/local/mysql/data/"
innodb_data_file_path = ibdata1:10M:autoextend
innodb_log_group_home_dir = "E:/zentao/usr/local/mysql/data/"
innodb_log_group_home_dir = "E:/zentao/usr/local/mysql/data/"
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
innodb_buffer_pool_size = 16M
innodb_additional_mem_pool_size = 2M
innodb_log_file_size = 5M
innodb_log_buffer_size = 8M
innodb_flush_log_at_trx_commit = 1
innodb_lock_wait_timeout = 50
真是没找到什么问题,古狗了1067,基本上也没找出来问题....
我系统是win server 2008 r2的,和这个会有关系吗?
#######################################################################
# File name: my.ini
# Created By: The Uniform Server Development Team
# Edited Last By: Mike Gleaves (ric)
# V 1.0 5-12-2009
########################################################################
# The following options will be passed to all MySQL clients
[client]
port=3306
[mysql]
default-character-set=utf8
# SERVER SECTION The following options will be read by the MySQL Server.
[mysqld]
server-id = 1
pid-file=mysql.pid
default-character-set=utf8
default-storage-engine=MYISAM
skip-locking
# Folder paths
basedir = "E:/zentao/usr/local/mysql/"
datadir = "E:/zentao/usr/local/mysql/data/"
tmpdir = "E:/zentao/tmp/"
max_connections=100
query_cache_size=8M
table_cache= 64
table_open_cache = 64
tmp_table_size=5M
thread_cache_size=8
#*** MyISAM Specific options
myisam_max_sort_file_size=256M
myisam_sort_buffer_size=8M
key_buffer_size=8M
net_buffer_length= 8K
read_buffer_size=64K
read_rnd_buffer_size=185K
sort_buffer_size=139K
key_buffer = 16K
max_allowed_packet = 1M
sort_buffer = 64K
net_buffer_length = 2K
thread_stack = 192K
# Note: The innodb block is enabled/disabled using a single line
# Uncomment the next line to disable innodb tables. Comment line to enable innodb tables
skip-innodb
innodb_data_home_dir = "E:/zentao/usr/local/mysql/data/"
innodb_data_file_path = ibdata1:10M:autoextend
innodb_log_group_home_dir = "E:/zentao/usr/local/mysql/data/"
innodb_log_group_home_dir = "E:/zentao/usr/local/mysql/data/"
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
innodb_buffer_pool_size = 16M
innodb_additional_mem_pool_size = 2M
innodb_log_file_size = 5M
innodb_log_buffer_size = 8M
innodb_flush_log_at_trx_commit = 1
innodb_lock_wait_timeout = 50
[mysqldump]
quick
max_allowed_packet=16M
[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
[isamchk]
key_buffer=8M
sort_buffer=8M
[myisamchk]
key_buffer=8M
sort_buffer=8M
[mysqlhotcopy]
interactive-timeout
真是没找到什么问题,古狗了1067,基本上也没找出来问题....
我系统是win server 2008 r2的,和这个会有关系吗?
2010-10-20 17:58:43 郑鸥 回帖
联系我们
联系人
丁芝/高级客户经理
电话(微信)
17663906485
QQ号码
1481227768
联系邮箱
dingzhi@chandao.com

相关帖子
yan | 最后回帖 2020-11-02 13:26 禅道-李锡碧
zhengkaisheng
有腹肌的铁板烧 | 最后回帖 2026-05-08 17:44 禅道-王誉霖
zentaonari | 最后回帖 2011-10-14 08:43 王春生
yuan | 最后回帖 2017-04-12 18:06 石洋洋
feng | 最后回帖 2016-03-25 17:28 石洋洋



精品资料包
1V1产品演示
免费试用增强功能
专属顾问答疑支持


