79620

求助一个关于mysql的问题

回帖
回帖数 3
阅读数 2379
发表时间 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错误。

这是为什么呢?

老大帮帮忙哈~
3个回复
🍟
春哥沙发
检查一下你的mysql server的配置吧。从这个错误来看,是配置有问题了。你google一下 1067这个错误。
2010-10-20 17:48:55 王春生 回帖
👦🏻
郑鸥板凳
老大,我用的windows的安装包,配置如下:
#######################################################################
# 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]

port=3306
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 郑鸥 回帖
👦🏻
郑鸥#3
嘿嘿 搞定了~~犯了个低级错误哈
2010-10-20 18:36:36 郑鸥 回帖
联系我们
联系人
刘斌/高级客户经理
电话(微信)
17685869372
QQ号码
526288068
联系邮箱
liubin@chandao.com
相关帖子
返回顶部
客服头像
刘斌
高级客户经理
客服微信
17685869372
526288068
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。问题反馈反馈点击这里,让我们聆听您的建议与反馈。
gtm跟踪器
gtag
UET