How to setup an empty password for a MySQL connection pool in glassfish 4 from the GUI?

巧了我就是萌 提交于 2019-12-06 03:17:34

问题


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.

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

Thanks in advance for you support

Regards


回答1:


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>

Remember to restart Glassfish after the change has been made.



来源:https://stackoverflow.com/questions/18837069/how-to-setup-an-empty-password-for-a-mysql-connection-pool-in-glassfish-4-from-t

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!