MySQL connection string /.NET

intune

New Member
Messages
1
Reaction score
0
Points
0
I can't seem to find any information about how to connect to the MySQLdatabase. I have succesfullty created the database and a db-user, but I think somthing is wrong with this connectionstring in my ASP.NET-aplication; and I think maybe the problem is the name of the Data Source

connectionString="Database=intune_intune;Data Source=localhost;User Id=intune;Password=****"
 

Gouri

Community Paragon
Community Support
Messages
4,565
Reaction score
245
Points
63
I can't seem to find any information about how to connect to the MySQLdatabase. I have succesfullty created the database and a db-user, but I think somthing is wrong with this connectionstring in my ASP.NET-aplication; and I think maybe the problem is the name of the Data Source

connectionString="Database=intune_intune;Data Source=localhost;User Id=intune;Password=****"

In the datastring the user id should be like intune_intune

Remaining are ok, check it out
 

Anna

I am just me
Staff member
Messages
11,751
Reaction score
581
Points
113
More of a question about programming, moving tp "Programming Help"
 
Top