如图,这两个服务已经启动了,但是在使用3307端口的数据库时,却进入不了,只能进入到3306端口的数据库如图,明明是3307端口的目录下的BIN目录下的MYSQL客户端,但进入的却是3306端口...
如图,这两个服务已经启动了,但是在使用3307端口的数据库时,却进入不了,只能进入到3306端口的数据库
如图,明明是3307端口的目录下的BIN目录下的MYSQL客户端,但进入的却是3306端口的数据库
连目录都变成了3306数据库的目录,3307数据库的目录是/data3/mysqlhost,现在贴出3306的MY.CNF:
# The following options will be passed to all MySQL clients[client]#password = your_passwordport = 3306socket = /tmp/mysql.sock
# Here follows entries for some specific programs
# The MySQL server[mysqld]port = 3306socket = /tmp/mysql.sockskip-external-locking
3307端口数据库的CNF配置:# The following options will be passed to all MySQL clients[client]#password = your_passwordport = 3307socket = /tmp/mysqlhost.sock
# Here follows entries for some specific programs
# The MySQL server[mysqld]port = 3307socket = /tmp/mysqlhost.sock
展开