Codeigniter / Grocery Mysqli queries painfully slow

codeigniter
php
mysql

#1

The title says it all really. I’ve been running this and its fine on my local build but on C9 it takes 45-120 seconds for the results page to show on a table with 0 records.I’m guessing there is something with the C9 setup that makes it so slow. Any ideas on setup? It appears to try running a proxy connection to the server and i’m not sure if that’s normal?


#2

Looks like I forgot to add the URL to the config file. Once done it was fixed :slight_smile:

application/config/config.php

$config['base_url'] = 'xxx-xxxxx.c9users.io';