users@glassfish.java.net

Re: Database Error: Unable to connect to the database:The MySQL adapter "mysql" is not available.

From: Néstor <rotsen_at_gmail.com>
Date: Wed, 17 Dec 2008 19:44:41 -0800

I did the ping and I get an error:An error has occurred
Access denied for user ''@'localhost' (using password: NO)

That means that somehow glassfish is using a user that has no access
permission.
Or a user has not been configure, where do I caonfigure the user in
glassfisg?

I know that the user that joomla is using is correct because I can access
mysql using joomla.

Rotsen :-)

On Tue, Dec 16, 2008 at 11:25 PM, Jagadish Prasath Ramu <
Jagadish.Ramu_at_sun.com> wrote:

> Following URLs may be helpful :
> http://forums.mysql.com/read.php?10,155771,155771
> http://forum.joomla.org/viewtopic.php?f=429&t=206631
>
>
> This exception does not seem to come from MySQL or GlassFish.
> Do you see any exception in GlassFish's server.log ?
> [GF_INSTALL_DIR/domains/<domain1>/logs]
>
> You can do "ping" on the connection pool created on GlassFish to see
> whether your database related settings are correct.
> Access admin GUI, select the jdbc-connection-pool and do ping.
>
> http://blogs.sun.com/JagadishPrasath/entry/creating_jdbc_connection_pool_resource
>
> http://blogs.sun.com/JagadishPrasath/entry/jdbc_connection_pool_templates_glassfish
>
> Thanks,
> -Jagadish
>
> On Tue, 2008-12-16 at 22:59 -0800, Néstor wrote:
> > I was sucessful at getting glassfish and JavaBridge running but now I
> > am trying to run Joomla
> > with glassfish using the example
> > in
> http://www2.sebastiendionne.ca:8282/glassfish/joomla-on-glassfish.html
> >
> >
> > When I try to access http://127.0.0.1:8080/JavaBridge2/joomla/ I get
> > the error:
> > Database Error: Unable to connect to the database:The MySQL adapter
> > "mysql" is not available.
> >
> >
> >
> > I even create a JDBC COnnection and a JDBC resource as describe in
> > this page:
> >
> http://blog.linkedin.com/2008/08/19/jdbc-connection-pooling-for-rails-on-glassfish/
> >
> >
> > After searching the net, most people with this problem is because they
> > are not able to access
> > mysql with php and ISS but my joomla/php/apache has not problem
> > accessing mysql.
> >
> >
> > ANt ideas on how do I make glassfish talk to mysql.?
> >
> >
> > Thanks,
> >
> >
> > Nestor :-)
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>