SQLContainer(mysql)

Hi
com.vaadin.addon.sqlcontainer.connection.SimpleJDBCConnectionPool.SimpleJDBCConnectionPool(String driverName, String connectionUri, String userName, String password, int initialConnections, int maxConnections) throws SQLException
Who can tell me ‘String connectionUri’ in detail with mysql database?
Thanks!

I got it , like this “jdbc:mysql://localhost:3306/databasename”

I’m sorry for my poor English.

Hi,

Your connectionUri looks correct to me. For the tests in SQLContainer, we use “jdbc:mysql:///sqlcontainer”, which is shorthand for localhost at the default port.

If you are experiencing problems, they probably relate to something else. Please post error messages and descriptions of what you’re trying to do if you still have problems.

HTH,
/Jonatan