Click here to Skip to main content
15,885,875 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all ,

Iam connecting to a database called "a" from a desktop application called "app1" and everything is fine.But when i create another project and try to connect to a database it is not connecting.As if connecting to mysql is only successful from one project only.Knowing that iam writing exactly the same code,so how can i solve this.?

Thanks in advance.!
Posted
Comments
Gerben Jongerius 14-May-11 8:44am    
You will have to elaborate a bit more as to what is actually going wrong. MySQL will not limit access to a database schema, so you should not encounter any issues with connecting from two apps at the same time.

I found the solution.My problem was onlt that in the new project i must add the jar of mysql to my new project.
 
Share this answer
 
It is too difficult to figure out anything without seeing any code.
Check out your connection string - have a look at http://www.connectionstrings.com[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900