如何通过GUI在glassfish 4中为MySQL连接池设置空密码? [英] How to setup an empty password for a MySQL connection pool in glassfish 4 from the GUI?

查看:79
本文介绍了如何通过GUI在glassfish 4中为MySQL连接池设置空密码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在glassfish 4中从GUI设置MySQL连接池的空密码.在先前版本的glassfish中,它只能通过在不带引号的情况下添加()"来工作.在玻璃鱼4中,它对我不再起作用.

Im being unable to set an empty password for a MySQL connection pool from the GUI in glassfish 4. In previous versions of glassfish it used to work by simply putting "()" without the quotes. It doesnt work anymore for me in glassfish 4.

顺便说一句,我一直在碰碰运气.

By the way, I've been googling my issue with any luck.

有人知道在glassfish 4中做这件事的正确方法是什么吗?

Does anyone know what is the proper way to do it in glassfish 4?

预先感谢您的支持

致谢

推荐答案

我要解决的问题是在/glassfish/domains/(yourDomainName)/domain.xml中手动将以下属性添加到连接池:

What I did to fix this was to manually in /glassfish/domains/(yourDomainName)/domain.xml add the following property to the connection pool:

 <property name="password" value=""></property>

在进行更改后,请记住重新启动Glassfish.

Remember to restart Glassfish after the change has been made.

这篇关于如何通过GUI在glassfish 4中为MySQL连接池设置空密码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆