> For the complete documentation index, see [llms.txt](https://hostpanel.gitbook.io/untitled/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hostpanel.gitbook.io/untitled/mysql-fu-wu-guan-li-ming-ling.md).

# MySQL服务管理命令

官网 https\://hostpanel.cc   群组: https\://t.me/hostpanelg

**HostPanel官网** [**https://hostpanel.cc**](https://hostpanel.cc)

**HostPanel站长交流群** [**https://t.me/hostpanelg**](https://t.me/hostpanelg)

**MySQL服务管理**

mysql安装目录

```
/www/server/mysql
```

phpmyadmin安装目录

```
/www/server/phpmyadmin
```

数据存储目录

```
/www/server/data
```

启动

```
/etc/init.d/mysqld start
```

停止

```
/etc/init.d/mysqld stop
```

重启

```
/etc/init.d/mysqld restart
```

启载

```
/etc/init.d/mysqld reload
```

mysql配置文件

```
/etc/my.cnf
```
