Welcome Guest, Not a member yet? Register   Sign In
Unable to connect to the database.
#2

there are a few questions that come to mind. I used to use MySQl but quite honestly find sqlite3 easier and since CI4 has a public dir, then my database is outside whats accessible from the web. Sqlite3 is server-less which means you can play with Ci4 and sqlite3on the desktop.

Now a few things come to mind; where on your PC are you running CI4 apache, xampp or other. You don't say you set up a user and password on the database with appropriate grant permissions so i can't guess that you have done that. Obviously if you didn't do that then you won't get a connection to the database.


I mostly don't bother with the env and just edit /Config/Database.php
Reply


Messages In This Thread
RE: Unable to connect to the database. - by captain-sensible - 08-09-2020, 09:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB