Connection

Database

Database operations are not yet available with e-mvc. But we have prepared the first connection process for you by creating a class for database operations.

Connection

You can configure the database connection information from the config.php file on the main directory. In this file, the necessary definitions are provided in the Database Config section. It will be sufficient for you to enter information such as server name, database name, user and password.

Connection Control

After entering the necessary information for the database connection via config.php, if there is an error in your connection, you will see this error if you call the crud class. If you want to verify that the connection is provided in a healthy way, it will be sufficient to remove the comment line in the __construct field in the app / library / crup.php file from the comment line.