mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-17 19:55:34 +00:00
540072fa39433a7352789fa5bee27aa6f44c75d7
## 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 <[email protected]> Co-authored-by: b-nagaj <[email protected]> Co-committed-by: b-nagaj <[email protected]>
Languages
TypeScript
42.4%
MDX
30.9%
Astro
8.1%
JavaScript
6.4%
Shell
6%
Other
6.2%