MySQL Container online

Hi:

I’m trying to adapt this code from my localhost:

 try
{
JDBCConnectionPool connectionPool = new SimpleJDBCConnectionPool(
"com.mysql.jdbc.Driver","jdbc:mysql://localhost:3306/App", "root", "test", 2, 5);
TableQuery query = new TableQuery("nombres", connectionPool);
query.setVersionColumn("VERSION");
SQLContainer container = new SQLContainer(query);
Table tabla = new Table();
tabla.setContainerDataSource(container);
tabla.setSelectable(true);
v.addComponent(tabla);

v.addComponent(button);
}
catch (SQLException e)
{
e.printStackTrace();
}

…which works perfect in my local environment, and use it now in my web page…Everything is installed, from vaadin to phpmyadmin…and the app works perfect if I remove the database connection

I tryed to replace the localhost with th IP number but didn’t work…

Any Ideas?

Thanks!!!