Database connection failed
Itv Play | Gavin Inskip An error occurred whilst accessing the database: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
An error occurred accessing the database:

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

...in the following sql statement:

SELECT `id`, `body` FROM `work` WHERE `seo_title` = '' LIMIT 1
An error occurred whilst accessing the database: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
An error occurred accessing the database:

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

...in the following sql statement:

SELECT `work_category` FROM `work` WHERE `seo_title` = '' LIMIT 1
An error occurred whilst accessing the database: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
An error occurred accessing the database:

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

...in the following sql statement:

SELECT `work_category` FROM `work` WHERE `seo_title` = '' LIMIT 1
An error occurred whilst accessing the database: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
An error occurred accessing the database:

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

...in the following sql statement:

SELECT `title` FROM `work_categories` WHERE `id` = '' LIMIT 1

    An error occurred whilst accessing the database: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
    An error occurred accessing the database:

    Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

    ...in the following sql statement:

    SELECT `id`, `seo_title`, `title` FROM `work_categories` ORDER BY `orderindex`
An error occurred whilst accessing the database: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
An error occurred accessing the database:

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

...in the following sql statement:

SELECT `id`, `work_category`, `title`, `seo_title`, `body`, `date`, `youtube`, `worked_with`, `soundcloud`, `sub_title` FROM `work` WHERE `seo_title` = '' LIMIT 1
An error occurred whilst accessing the database: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
An error occurred accessing the database:

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

...in the following sql statement:

SELECT `id`, `short_description` FROM `work_images` WHERE `workid` = '' ORDER BY `orderindex`

An error occurred whilst accessing the database: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
An error occurred accessing the database:

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

...in the following sql statement:

SELECT * FROM `work_audio` WHERE `workid` = ''
An error occurred whilst accessing the database: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
An error occurred accessing the database:

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

...in the following sql statement:

SELECT * FROM `work_video` WHERE `workid` = ''
WORK TIMELINE
An error occurred whilst accessing the database: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
An error occurred accessing the database:

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

...in the following sql statement:

SELECT `id`, `date`, `seo_title`, `title`, `sub_title`, `body`, `current_project` FROM `work` WHERE `work_category` = '' AND `date` != '' ORDER BY `date` DESC