it does connect to mysql but class is not serializable ...