Connect via localhost. Connecting via server IP when the account is magno...@localhost will result in connection refused.

-- David


On Jun 8, 2010, at 5:55 AM, Will Scheidegger <[email protected]> wrote:


Dear Magnolias

I'm trying (finally) to use MySQL as db for one of our magnolia instances. For this I followed the instructions at http://wiki.magnolia-cms.com/display/WIKI/Changing+Jackrabbit+PersistenceManager ... but I must have missed something.

- I created a user:
   mysql> create user 'magnolia'@'localhost' identified by 'password'
- I created a db and granted the user all rights:
   mysql> grant all on mag_cms.* to 'magnolia'@'localhost';
   mysql> create database mag_cms;
- I tested everything with that user: Logged in, changed to the "mag_cms" database, created a table, inserted data, dropped the table again. All hunky dory. - I even checked the port mysqld is running on: 3306, so nothing fancy here. - Then I configured the repository accordingly. But since this gave me errors, I did a simple Java test:

Connection conn = DriverManager.getConnection("jdbc:mysql:// serverip#:3306/mag_cms", "magnolia", "password");
conn.close();

This too gives me a java.net.ConnectException: Connection refused.

What would be your next steps in debugging this?

Thanks!
-will

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to