Pierre-Henry,

could you verify if your file /etc/my.cnf or /etc/sysconfig/mysql.conf
or sth like that contains something like this :

# Don't listen on a TCP/IP port at all. This can be a security enhancement,
# if all processes that need to connect to mysqld run on the same host.
# All interaction with mysqld must be made via Unix sockets or named pipes.
# Note that using this option without enabling named pipes on Windows
# (via the "enable-named-pipe" option) will render mysqld useless!
#
skip-networking

If so, you have to comment the line 'skip-networking'

Marc

2007/5/7, Matt Raible <[EMAIL PROTECTED]>:
If you run "mvn test", do you get the same error message?

On 5/5/07, Pierre-Henry <[EMAIL PROTECTED]> wrote:
>
> Running the integration-test maven command, I get an error:
> -------
> java.net.SocketException: java.net.ConnectException: Connection refused
> -------------
> I have a mysql 5.0.32 running on localhost on a linux box 2.6.18. Pom uses a
> 5.0.3 connector.
> I can connect on local using mysql command.
>
> Have any idea?
> --
> View this message in context: 
http://www.nabble.com/mysql-connection-tf3696304s2369.html#a10336141
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to