# Change the config file

Set your own data in **config.php.** Thereby budgy files will be able to connect and operate with your  database. Please focus only on followings.

**Core settings to reach the db:**

```php
// Your MySQL database hostname.
define('db_host','localhost');
// Your MySQL database username.
define('db_user','YOUR_DB_USER');
// Your MySQL database password.
define('db_pass','YOUR_DB_PASS');
// Your MySQL database name.
define('db_name','YOUR_DB_NAME');
// Your MySQL database charset.
define('db_charset','utf8');
// The base URL of the PHP login system (e.g. https://example.com/phplogin/). 
define('base_url','https://YOURDOMAIN.NET/YOUR-BUDGY-FOLDER/');
```

**Mail settings to be able to send out password reset email in case of "Forgot password":**

```php
/* Mail */
// SMTP Hostname
define('smtp_host','smtp.YOURDOMAIN.NET');
// SMTP Port number
define('smtp_port', YOUR_PORT_NUMBER);
// SMTP Username
define('smtp_user','YOUR_SMTP_USER');
// SMTP Password
define('smtp_pass','YOUR_SMTP_PASS');
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ultimatewebsolutions.gitbook.io/budgy-documentation/install/change-the-config-file.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
