b-nagaj 540072fa39 FIX: DB Prep Docs - Step #1 (#173)
## Description

Fix step 1 of the [Database Preparation](https://docs.gitea.com/installation/database-prep) docs.

## Changes

When a user modifies the */etc/mysql/my.cnf* config file as instructed in step 1 of the database preparation guide, they get an error message from MySQL when trying to log in as the root user after saving changes.

```shell
mysql: [ERROR] Found option without preceding group in config file /etc/mysql/my.cnf at line 37.
mysql: [ERROR] Fatal error in defaults handling. Program aborted!
```
The solution is to include precede `bind-address` with a group like this.

```ini
[mysqld]
bind-address = 203.0.113.3
```

Reviewed-on: https://gitea.com/gitea/docs/pulls/173
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: b-nagaj <bryce.nagaj@proton.me>
Co-committed-by: b-nagaj <bryce.nagaj@proton.me>
2025-02-25 19:39:31 +00:00
2025-02-19 15:40:23 -08:00
2025-02-25 19:39:31 +00:00
2025-01-09 05:27:03 +00:00
2025-01-28 16:33:32 +00:00
2025-01-10 19:15:45 +00:00
2025-01-16 07:01:43 +00:00
2024-06-14 08:53:10 +00:00
2023-02-02 23:30:20 -05:00
2023-07-28 05:52:35 +00:00
2025-02-19 11:05:44 -08:00
2024-06-06 21:08:01 +08:00
2023-10-03 17:13:46 +00:00

Gitea Docs badge

How to build

make clean
make prepare-docs
make build

Development

make clean
make prepare-docs
make serve

Test en version

npm run start
Description
No description provided
Readme Apache-2.0 10 MiB
Languages
JavaScript 61.1%
CSS 30.5%
Shell 5.3%
Makefile 2.8%
MDX 0.3%