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

I have database in the mysql . now i want that data to used in the VS2008.
I downloaded Mysql Workbench
Connector/net 6.4.3

I add the localhost
username and password in the workbench its showing error that could not connect to the
database .
For that will i have to download the mysql server ?
and what's the port when we connect the mysql ?

Thankss
Posted
Comments
Parwej Ahamad 19-Jul-11 14:39pm    
Post here error too and your connection string.
vaibhavraidwivedi 19-Jul-11 14:47pm    
<add name="MySqlConnStr" connectionstring="Data Source=localhost;Database=absolute;User Id=webaccess;Password=Softex123;" providername="MySql.Data.MySqlClient=">

If you do not have MySql server installed somewhere on your network, then yes, you will need to install at least one instance. If you already have an instance, then you should be able to connect to any database that instance knows about.
 
Share this answer
 
Comments
vaibhavraidwivedi 19-Jul-11 14:55pm    
when i connect it then what i enter in port number ....
OriginalGriff 19-Jul-11 15:09pm    
Try leaving it alone. If you haven't been given a specific port number, then it should be using the default, and it should just connect ok.
is mysql community server needed
 
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