有可能是编码集问题,设置IDEA编码集都为UTF-8\
连接密码如果是数字,会自动转换为Integer类型,所以连接不上,需要加上双引号 如:username: root password: 000000