My codeigniter project on version 2 working well in Linux hosting but when i upload this project on google cloud i got error. When i load the database in autoload.php

   $autoload['libraries'] = array('database');

another project on core php working very well

   $this->con=mysqli_connect("localhost","root","","alex_quiz");

1 Answers

2
G.D Udara Lahiru Sampath On

I think you need to change your databse.php file according to your db host. If not can you post error it will help to identify the error.

databse.php