Home > Net >  Mysql port is not 3306, connection string how to write a port number?
Mysql port is not 3306, connection string how to write a port number?

Time:09-26

Mysql port is not 3306, connection string how to write a port number?

CodePudding user response:

 & lt; Add name="MySql" connectionString="Server=IP address; Port=Port number; The DataBase=DataBase name; User=root; Password=Password;" ProviderName="MySql. Data. MySqlClient"/& gt; 
  •  Tags:  
  • C#
  • Related