Avatar of Anthony Matovu
Anthony Matovu
Flag for Uganda asked on

.net application to onnect to mysql database on linux

I would like my vb.net application to connect to a mysql database which is on a linux server, what can i do

  mysqldb = New MySqlConnection("Server=dat-ran.com;Database=datranco_datrndbx;Uid=datranco_datranux;Pwd=Ly_57-;")

above is the example of my connection string
LinuxVisual Basic.NETDatabasesMySQL Server

Avatar of undefined
Last Comment
Anthony Matovu

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Ryan Chong

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Anthony Matovu

ASKER
I have tried and still get the same error, i have the MySql.Data  library too
Ryan Chong

what's the error message?
SOLUTION
Kimputer

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Anthony Matovu

ASKER
Through a chat with a provider, I have been informed that because the servers are running on Linux and my system is .NET (windows) then I cannot connect.

Is this true?
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Ryan Chong

I have been informed that because the servers are running on Linux and my system is .NET (windows) then I cannot connect.

Is this true?

that's unlikely to be the show stopper.

you could provide them the error stack trace and inner exception (if there's any) to your provider to identify the issues
Chinmay Patel

Your provider is taking you for a ride. Beware.
Anthony Matovu

ASKER
Hahaha, thanks let me contact them
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.