ActiveRecord\DatabaseException Object
(
    [message:protected] => PDOException: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/colegiosolido/public_html/system/Modules/ActiveRecord/lib/Connection.php:249
Stack trace:
#0 /home/colegiosolido/public_html/system/Modules/ActiveRecord/lib/Connection.php(249): PDO->__construct('mysql:host=loca...', 'colegios_db', 'JYg8v68dZ2Nx', Array)
#1 /home/colegiosolido/public_html/system/Modules/ActiveRecord/lib/Connection.php(111): ActiveRecord\Connection->__construct(Object(stdClass))
#2 /home/colegiosolido/public_html/system/Modules/ActiveRecord/lib/ConnectionManager.php(33): ActiveRecord\Connection::instance('mysql://colegio...')
#3 /home/colegiosolido/public_html/system/Modules/ActiveRecord/lib/Table.php(103): ActiveRecord\ConnectionManager::get_connection('development')
#4 /home/colegiosolido/public_html/system/Modules/ActiveRecord/lib/Table.php(80): ActiveRecord\Table->reestablish_connection(false)
#5 /home/colegiosolido/public_html/system/Modules/ActiveRecord/lib/Table.php(61): ActiveRecord\Table->__construct('Gallery')
#6 /home/colegiosolido/public_html/system/Modules/ActiveRecord/lib/Model.php(744): ActiveRecord\Table::load('Gallery')
#7 /home/colegiosolido/public_html/system/Modules/ActiveRecord/lib/Model.php(1568): ActiveRecord\Model::table()
#8 /home/colegiosolido/public_html/app/models/Gallery.php(12): ActiveRecord\Model::find('all', Array)
#9 /home/colegiosolido/public_html/app/controllers/EventosController.php(102): Gallery::getDataPaginated(Array)
#10 /home/colegiosolido/public_html/app/controllers/EventosController.php(71): EventosController->listAction(15, 1, '100')
#11 /home/colegiosolido/public_html/system/App.php(54): EventosController->paginaAction('eventos', '100', 'eventos', '135', 'eventos', '135', 'festa-dos-100-d...')
#12 /home/colegiosolido/public_html/index.php(29): App->run()
#13 {main}
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /home/colegiosolido/public_html/system/Modules/ActiveRecord/lib/Connection.php
    [line:protected] => 251
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/colegiosolido/public_html/system/Modules/ActiveRecord/lib/Connection.php
                    [line] => 111
                    [function] => __construct
                    [class] => ActiveRecord\Connection
                    [type] => ->
                    [args] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [protocol] => mysql
                                    [host] => localhost
                                    [db] => colegios_db
                                    [user] => colegios_db
                                    [pass] => JYg8v68dZ2Nx
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /home/colegiosolido/public_html/system/Modules/ActiveRecord/lib/ConnectionManager.php
                    [line] => 33
                    [function] => instance
                    [class] => ActiveRecord\Connection
                    [type] => ::
                    [args] => Array
                        (
                            [0] => mysql://colegios_db:JYg8v68dZ2Nx@localhost/colegios_db
                        )

                )

            [2] => Array
                (
                    [file] => /home/colegiosolido/public_html/system/Modules/ActiveRecord/lib/Table.php
                    [line] => 103
                    [function] => get_connection
                    [class] => ActiveRecord\ConnectionManager
                    [type] => ::
                    [args] => Array
                        (
                            [0] => development
                        )

                )

            [3] => Array
                (
                    [file] => /home/colegiosolido/public_html/system/Modules/ActiveRecord/lib/Table.php
                    [line] => 80
                    [function] => reestablish_connection
                    [class] => ActiveRecord\Table
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
                        )

                )

            [4] => Array
                (
                    [file] => /home/colegiosolido/public_html/system/Modules/ActiveRecord/lib/Table.php
                    [line] => 61
                    [function] => __construct
                    [class] => ActiveRecord\Table
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Gallery
                        )

                )

            [5] => Array
                (
                    [file] => /home/colegiosolido/public_html/system/Modules/ActiveRecord/lib/Model.php
                    [line] => 744
                    [function] => load
                    [class] => ActiveRecord\Table
                    [type] => ::
                    [args] => Array
                        (
                            [0] => Gallery
                        )

                )

            [6] => Array
                (
                    [file] => /home/colegiosolido/public_html/system/Modules/ActiveRecord/lib/Model.php
                    [line] => 1568
                    [function] => table
                    [class] => ActiveRecord\Model
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [7] => Array
                (
                    [file] => /home/colegiosolido/public_html/app/models/Gallery.php
                    [line] => 12
                    [function] => find
                    [class] => ActiveRecord\Model
                    [type] => ::
                    [args] => Array
                        (
                            [0] => all
                            [1] => Array
                                (
                                    [conditions] => Array
                                        (
                                            [0] =>  id > ?  AND (title LIKE ? OR description LIKE ?) 
                                            [1] => 0
                                            [2] => %100%
                                            [3] => %100%
                                        )

                                    [offset] => 0
                                    [limit] => 15
                                    [order] => date DESC, id DESC
                                )

                        )

                )

            [8] => Array
                (
                    [file] => /home/colegiosolido/public_html/app/controllers/EventosController.php
                    [line] => 102
                    [function] => getDataPaginated
                    [class] => Gallery
                    [type] => ::
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [page] => 1
                                    [conditions] => Array
                                        (
                                            [0] =>  id > ?  AND (title LIKE ? OR description LIKE ?) 
                                            [1] => 0
                                            [2] => %100%
                                            [3] => %100%
                                        )

                                    [limit] => 15
                                    [order] => date
                                    [orderMix] => DESC
                                )

                        )

                )

            [9] => Array
                (
                    [file] => /home/colegiosolido/public_html/app/controllers/EventosController.php
                    [line] => 71
                    [function] => listAction
                    [class] => EventosController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 15
                            [1] => 1
                            [2] => 100
                        )

                )

            [10] => Array
                (
                    [file] => /home/colegiosolido/public_html/system/App.php
                    [line] => 54
                    [function] => paginaAction
                    [class] => EventosController
                    [type] => ->
                    [args] => Array
                        (
                            [0] => eventos
                            [1] => 100
                            [2] => eventos
                            [3] => 135
                            [4] => eventos
                            [5] => 135
                            [6] => festa-dos-100-dias-formandos-9o-ano-fundamental-2017
                        )

                )

            [11] => Array
                (
                    [file] => /home/colegiosolido/public_html/index.php
                    [line] => 29
                    [function] => run
                    [class] => App
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

        )

    [previous:Exception:private] => 
)