Activity Forums Salesforce® Discussions Is it possible to query to a MySQL database from apex code?

  • Prafull

    Member
    April 14, 2016 at 8:55 am

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

  • shalini

    Member
    April 26, 2016 at 10:11 am

    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.

  • Maddison jams

    Member
    September 30, 2019 at 5:40 am

    No, it is not possible directly, salesforce does not allow TCP connections which would be required to directly connect to MySQL. if you want to more knowledge then you can attend some events of MySQL.I have good news for you  JanBask Training organized an event with SQL Server. it's free if you want to attend  You must. (

    The database is not only about running queries at the back-end. This involves running the micro-level queries at the level to implement macro-level queries. Know the method of running queries using SQL Server with this. Together, we will walk through the whole process of installation of SQL Server to running the queries on the back-end. Enrolment with this training will surely help to transform the dexterous people into complete industry ready experts in the database domain. The team of like-minded experts in SQL Server will lead the training to initiate, execute, and complete the training from scratch.

    Enroll now in this terrific opportunity for the pronto savings! Only a few seats are left!

    Course Highlights

    Trainers with 10+ years of relevant industry experience
    Interactive session with the trainers
    Both theories and action steps
    24x7 assistance
    Eclectic course curriculum
    A free quiz for self-analysis
    A free demo session
    Personalized user experience
    Learning Management System
    Interesting Learning Resources
    Learn from your comfort
    Career options available after SQL Server Training

    Software Developers
    IT Professionals
    Big Data and Hadoop Professionals
    Business Intelligence Professionals
    Project Managers

    About JanBask Training

    JanBask is where innovation and education come together. The company has a lot of latest technologies which are hard to learn by self. It is offering Six Weeks online training on SQL Server. After every training session, the world’s most innovative minds come to get the hands-on training to inspire, excite, and motivate themselves for the profile of Database Management.

    The mission of this JanBask Training is to empower individuals with knowledge and skills to lead and serve.

    For more information, please visit our website: -

    Website: https://www.janbasktrainig.com/
    Url: https://www.janbasktraining.com/online-sql-server-training
    Attend Free Demo – or for any queries write to us at [email protected] or call us on +91 9999160933

    )

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos