﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
35634	Add Detailed Steps for Setting Up MySQL in Django Tutorials	Jerome Cagado		"The current tutorial in ""Writing your first Django app, part 2"" lacks detailed, step-by-step instructions for setting up Django with a MySQL database. Specifically, there are missing steps for installing MySQL dependencies and configuring the `DATABASES` setting in `settings.py`.

**Steps to Reproduce:**
1. Follow the tutorial in ""Writing your first Django app, part 2"".
2. Notice that detailed instructions for setting up MySQL, such as installing dependencies and configuring the `DATABASES` setting in `settings.py`, are not provided.

**Expected Behavior:**
The tutorial should include:
- Detailed steps for installing MySQL dependencies.
- Clear instructions for configuring the `DATABASES` setting in `settings.py` for MySQL.

**Actual Behavior:**
The tutorial currently lacks these steps, making it challenging for users who want to set up Django with MySQL.

**Proposed Solution:**
Update the tutorial to include the following steps:
1. Install MySQL and `mysqlclient`:
    ```bash
    pip install mysqlclient
    ```
2. Configure the `DATABASES` setting in `settings.py`:
    ```python
    DATABASES = {
        'default': {
            'ENGINE': 'django.db.backends.mysql',
            'NAME': 'mydatabase',
            'USER': 'mydatabaseuser',
            'PASSWORD': 'mypassword',
            'HOST': 'localhost',
            'PORT': '3306',
        }
    }
    ```

**Additional Information:**
I followed the contributing guidelines as outlined in the [CONTRIBUTING.rst file](https://github.com/django/django/blob/main/CONTRIBUTING.rst)."	New feature	closed	Documentation	5.0	Normal	wontfix			Unreviewed	0	0	0	0	0	0
