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

Using : Sharepoint visual web part, c#

Requirement : need to save data into MySQL using Sharepoint 2019 (CRUD operations)

i have 1 vm for Sharepoint 2019 where everything is installed like Sharepoint 2019 ,sql server 2016, window server 2019 & visual studio 2019.

I have successfully inserted data into MySQL using ado.net ( add DLL of MySQL.client.data )

Problem : I have farm ( 3 vim , 1 wife, 1 app & 1 sql server db ) , as I take .wsp from my dev to app server to install wsp ( add solution ) , MySQL does not work like mysqlcommand, MySQL connection,MySQL parameter nothing work.

Solution looking for :

as same code is working fine on single machine but not on 3 machines ( farm ,wife,app and db )

what to do to get it done..

note : I am using store procedure , and calling these procedures function using Ajax call.,

sql connection and command are working fine but not MySQL only on farm

thanks

What I have tried:

Install visual studio on app & WFE server
Install Mysql Client
Posted
Updated 9-Jul-24 22:05pm
v2
Comments
CHill60 10-Jul-24 4:06am    
It might be your connection string - hard to say for sure with so little actual information

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