我正在尝试设置 MySql 5.5 服务器以从 Ubuntu 主机 192.168.1.139 进行远程访问,所以我在服务器的配置文件中添加了一行:bind-address=192.168.1.139:/etc/mysql/my.cf 当我尝试重新启动 mysqld ,我有以下错误:
[Note] Server hostname (bind-address): '192.168.1.139'; port: 3306
[Note] - '192.168.1.139' resolves to '192.168.1.139';
[Note] Server socket created on IP: '192.168.1.139'.
[ERROR] Can't start server: Bind on TCP/IP port: Cannot assign requested address
[ERROR] Do you already have another mysqld server running on port: 3306 ?
任何人都可以帮助解决问题原因吗?以及如何打开 MySQL 服务器以从任何主机/用户进行连接,例如 my.cf 中的语法应该是什么?