• #9966
    Salesforce | Jogender Jogender #202

    Is it possible to query to a MySQL database from apex code?

    Is it possible to query to a MySQL database from apex code?


    Salesforce | Prafull Prafull #205

    This is not possible directly. You will have to create a Webservice to proxy the HTTP(s) traffic to mysql protocol.

    Salesforce | shalini shalini #369

    Not possible directly, salesforce does not allow TCP connections which would be required to directly connect to mysql. It only allows HTTP(S) callouts, so an intermediate webservice of some sort if required to proxy the HTTP(S) traffic to the mysql protocol.

Viewing 3 posts - 1 through 3 (of 3 total)

Please to reply to this topic.


We're not around right now. But you can send us an email and we'll get back to you, asap.


About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2019 Forcetalks. All Right Reserved.

Log in with your credentials


Forgot your details?