function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Patrick Mayer 4Patrick Mayer 4 

Importing MySQL data into Salesforce

I've been researching this for awhile and having trouble figuring out where to start. I think I want to use a REST API and understand that I will need to expose my data, but I'm not sure how to make SaleForce automatically check this. Any pointers welcome.
Vinit_KumarVinit_Kumar
You need to make Apex Callouts using HTTP request class and then parse the response which you will receive in salesforce.

Go through the below links to learn more :-

https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_restful_http.htm

https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_restful_http_httprequest.htm#apex_classes_restful_http_httprequest

https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_restful_http_httpresponse.htm#apex_classes_restful_http_httpresponse

If this helps,please mark it as best answer to help other :)
Jamie MartinJamie Martin
For exposing your data to MySQL (https://skyvia.com/data-integration/integrate-salesforce-mysql), you can use our service, such as Skyvia. It`s a completely no-coding solution, here you can set the time for making daily-based updates and this will keep your data always up-to-date.

Free plan available