Hi Ravindi, I also encountered the issue that you are facing when I tried it out in a fresh ESB 490 pack, seems like this is a validation error caused at " Name " field. If you add a name that does not have letter " s " you will succeed with the test connection and will be able to save it too. I suggest you better raise a jira so that ESB team can track it.
Regards, Jason On Wed, Mar 23, 2016 at 12:31 PM, Maneesha Wijesekara <[email protected]> wrote: > Hi Ravindi.. > I think you entered a space after the name of the database "students". It > will work after remove it. > > Regards > > On Wed, Mar 23, 2016 at 12:11 PM, Ravindi De silva <[email protected]> > wrote: > >> Hi all, >> >> I tried adding a data source for ESB. I created a database in mysql. I >> added the mysql connector to the lib in ESB. Then I gave the name as >> students, driver name as com.mysql.jdbc.Driver and url as >> jdbc:mysql://localhost:3306/students. "students" is the name of the >> database I created in mysql. I verified the connection using intellijIDEA >> and it shows successful connection. >> >> But when I test the connection using ESB it gives me the following >> error. " Name cannot contain any special characters other than hyphen (-) >> and underscore (_)". Nothing is shown in the console as well. What is the >> issue ? >> >> I"ve attached the screenshot below. >> -- >> Ravindi de Silva >> *Software Engineer- Intern* >> Mobile : +94 (0) 779689620 >> [email protected] >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Maneesha Wijesekara > Software Engineer - QA Team > WSO2 Inc. > > Email: [email protected] > Linkedin: http://linkedin.com/in/maneeshawijesekara > Mobile: +94712443119 > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Jason De Silva *Software Engineer - QA* Mobile: +94 (0) 772 097 678 Email: [email protected] WSO2 Inc. www.wso2.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
