# Moodle Integration

**URL:** <https://ask.gibbonedu.org/t/moodle-integration/3468>\
**Category:** Administration\
**Created:** [March 24, 2022, 5:18pm UTC](https://ask.gibbonedu.org/t/moodle-integration/3468 "2022-03-24T17:18:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShaunGov84](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/s/85e7bf/32.png) [@ShaunGov84](https://ask.gibbonedu.org/u/ShaunGov84)\
**Post date:** [March 24, 2022, 5:18pm UTC](https://ask.gibbonedu.org/t/moodle-integration/3468/1 "2022-03-24T17:18:29Z")

</div>

Hi Admin,

Please can you assist, I have followed the moodle integration guide and i am getting the below error. For both enrolment and authentication

![](https://ask.gibbonedu.org/uploads/editor/fv/ol7ujovwbla2.png)

---

<div class="post-metadata">

**Author:** ![ross](https://ask.gibbonedu.org/user_avatar/ask.gibbonedu.org/ross/32/8_2.png) [@ross](https://ask.gibbonedu.org/u/ross)\
**Post date:** [March 25, 2022, 12:43am UTC](https://ask.gibbonedu.org/t/moodle-integration/3468/2 "2022-03-25T00:43:08Z")

</div>

Hi Shaun, this looks like a Moodle issue, and so a bit outside of my area of expertise. However, at a guess it looks like the PHP library mysql is not installed on your server, and so the mysql\_connect() function is not available. My understanding is that this was once the default way to connect PHP to mysql databases, but that it is not disabled by default, as it has been superseded by the mysqli and PDO libraries. So, you may need to check on your server and get the mysql library installed into PHP. Thanks! Ross.
