Codeigniter not connecting to database |
Hello, Codeigniter not connecting to database. After setting the information in the .env it doesn't throw an error, even if I put in the wrong database details it won't throw an error too. that's making it hard for me to know if the database has connected.
what I did database.default.hostname = localhost database.default.database = ci4 database.default.username = root database.default.password = database.default.DBDriver = MySQLi database.default.DBPrefix =
(05-22-2021, 03:32 AM)devprecious Wrote: Hello, Codeigniter not connecting to database. After setting the information in the .env it doesn't throw an error, even if I put in the wrong database details it won't throw an error too. that's making it hard for me to know if the database has connected. see this tread : https://forum.codeigniter.com/thread-77479.html [b][b]John_Beton [/b][/b]i solved similar problem on server
(05-22-2021, 09:55 AM)pippuccio76 Wrote:He wasnt able to fix it too(05-22-2021, 03:32 AM)devprecious Wrote: Hello, Codeigniter not connecting to database. After setting the information in the .env it doesn't throw an error, even if I put in the wrong database details it won't throw an error too. that's making it hard for me to know if the database has connected. |
Welcome Guest, Not a member yet? Register Sign In |