• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CodeIgniter on AWS LightSail


New to CodeIngniter ...

I have an AWS LightSail instance with a MySQL database created.The database is set to be publicly available and I can connect to it from an external client.

I have CodeIgniter framework installed on the instance and a pre existing website copied in that worked OK on a different host. I have database.php configured to connect, however I get :-

A Database Error Occurred
Unable to connect to your database server using the provided settings.
Filename: core/Loader.php
Line Number: 357

If I manually connect at the bottom of database.php using the same CodeIgniter configuration I can connect successfully.

Any pointers?

Many thanks,


We'll need to see some code.
Codeigniter is simply one of the tools you need to learn to be a successful developer. Always add more tools to your coding arsenal!

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.