我在游戏服务器和网络服务器之间的连接有一些麻烦。游戏服务器运行FreeBSD 9.3,Mysql5.5和Webserver使用的是Centos 6.5。MySQL连接服务器客户端
有时连接它的全成,但意想不到的几个刷新后,我收到此错误:
access denied for user 'root'@'XXX.XXX.XXX.XXX' (using password yes)
我已经没有这个文件,但它或不相同的结果尝试:my.cnf中
[mysqld]
local-infile=0
query_cache_limit=5M
query_cache_size=0
query_cache_type=1
max_connections=1500
interactive_timeout=100
wait_timeout=50
connect_timeout=10
thread_cache_size=128
key_buffer=200M
join_buffer=1M
max_allowed_packet=16M
table_cache=1536
sort_buffer_size=18M
read_buffer_size=18M
max_connect_errors=10
thread_concurrency=2
myisam_sort_buffer_size=64M
server-id=1
tmp_table_size=32M
max_heap_table_size=32M
[mysqldump]
quick
max_allowed_packet=16M
[mysql]
no-auto-rehash
[isamchk]
key_buffer=128M
sort_buffer=128M
read_buffer=10M
write_buffer=10M
[myisamchk]
key_buffer=128M
sort_buffer=128M
read_buffer=10M
write_buffer=10M
[mysqlhotcopy]
interactive-timeout
什么可以帮助,是连接到另一个用户,而不是“根”。某些服务器可能会默认阻止“root”连接。 –
谢谢你的回复。我第一次尝试用户'Administrator',但结果是一样的。为了服务器的安全,我想使用'user'@'特定IP'。 –