Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter on AWS LightSail
#1

Hi,

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,

Mark.
Reply


Messages In This Thread
CodeIgniter on AWS LightSail - by mheesom_hotmail.com - 09-30-2019, 08:44 AM
RE: CodeIgniter on AWS LightSail - by albertleao - 09-30-2019, 11:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB