[PrestaShopException]

Link to database cannot be established: SQLSTATE[HY000] [1130] Host '127.0.0.1' is not allowed to connect to this MariaDB server
at line 119 in file classes/db/DbPDO.php

114.     public function connect()
115.     {
116.         try {
117.             $this->link = $this->getPDO($this->server, $this->user, $this->password, $this->database, 5);
118.         } catch (PDOException $e) {
119.             throw new PrestaShopException('Link to database cannot be established: ' . $e->getMessage());
120.         }
121. 
122.         $this->link->exec('SET SESSION sql_mode = \'\'');
123. 
124.         return $this->link;