# CRON mautic:campaign:update error

**URL:** https://forum.mautic.org/t/cron-mauticupdate-error/5047
**Category:** Product Support
**Created:** [August 25, 2016, 1:25am UTC](https://forum.mautic.org/t/cron-mauticupdate-error/5047 "2016-08-25T01:25:02Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Bcreigh](https://avatars.discourse-cdn.com/v4/letter/b/5fc32e/32.png) [@Bcreigh](https://forum.mautic.org/u/Bcreigh)
#### Post date: [August 25, 2016, 1:25am UTC](https://forum.mautic.org/t/cron-mauticupdate-error/5047/1 "2016-08-25T01:25:02Z")

</div>

When my cron job for the mautic:campaign:update script runs, I get the following error.  
  
  
  
[DoctrineDBALExceptionConnectionException]  
  
An exception occured in driver: Can’t connect to local MySQL server through  
  
socket ‘/var/lib/mysql/mysql.sock’ (2)  
  
  
  
I am on shared hosting and Mautic was installed buy Softaculous.  
  
  
  
Any help would be greatly appreciated.  
  
  
  
thanks,  
  
  
  
Bob

---

<div class="post-metadata">

### Author: ![Bcreigh](https://avatars.discourse-cdn.com/v4/letter/b/5fc32e/32.png) [@Bcreigh](https://forum.mautic.org/u/Bcreigh)
#### Post date: [August 25, 2016, 1:25am UTC](https://forum.mautic.org/t/cron-mauticupdate-error/5047/2 "2016-08-25T01:25:02Z")

</div>

When my cron job for the mautic:campaign:update script runs, I get the following error.

[DoctrineDBALExceptionConnectionException]  
An exception occured in driver: Can’t connect to local MySQL server through  
socket ‘/var/lib/mysql/mysql.sock’ (2)

I am on shared hosting and Mautic was installed buy Softaculous.

Any help would be greatly appreciated.

thanks,

Bob
