由 aahsi » 週五 5月 27, 2005 11:41 am
mysql預設是不能從遠端連線得喔
若是要開啟需有以下的步驟:
1.進入mysql建立一個可以遠端連線的帳號
2.edit /etc/mysql/my.cnf
找到這段文字
#
# The skip-networkin option will no longer be set via debconf menu.
# You have to manually change it if you want networking i.e. the server
# listening on port 3306. The default is "disable" - for security reasons.
skip-networking
set-variable = key_buffer=16M
set-variable = max_allowed_packet=1M
set-variable = thread_stack=128K
然後把skip-networking,註解掉,再重開就可以了喔
祝福您 感謝