# Can I use C++ to access a MySQL server?

**URL:** <https://forums.unrealengine.com/t/can-i-use-c-to-access-a-mysql-server/285276>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [June 7, 2014, 12:10pm UTC](https://forums.unrealengine.com/t/can-i-use-c-to-access-a-mysql-server/285276 "2014-06-07T12:10:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [June 7, 2014, 1:49pm UTC](https://forums.unrealengine.com/t/can-i-use-c-to-access-a-mysql-server/285276/2 "2014-06-07T13:49:57Z")

</div>

Standard UE4 APIs does not support any SQL protocols direclly, only some online subsystems which is Amazon, Facebook, SteamWorks etc. (to access this github link you need to be active subscriber and have github account tied with Unreal profile)

[https://github.com/EpicGames/UnrealEngine/tree/6147965f2f00f9241542c3db41c57f9f74f76b08/Engine/Source/Runtime/Online](https://github.com/EpicGames/UnrealEngine/tree/6147965f2f00f9241542c3db41c57f9f74f76b08/Engine/Source/Runtime/Online)

Other then hat you could use external liberies, problem is with UBT it little more complicated to include those to project

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

But considering it’s Microsoft you might try to include sql header file and try to use sql libs, maybe they will work ou of the box

---

_[View the full topic](https://forums.unrealengine.com/t/can-i-use-c-to-access-a-mysql-server/285276)._
