Plesk 控制面板阅读约 4 分钟
Managing databases in Plesk
Create MySQL databases, add database users, and use phpMyAdmin to manage data.
本文暂无您所用语言的版本,因此以英文显示。
本页内容
Database management in Plesk
Plesk makes it easy to create and manage MySQL/MariaDB databases for your web applications.
Creating a database
- In Plesk, go to Databases
- Click Add Database
- Enter a database name
- Create a new database user: enter username and a strong password
- Click OK
Connecting your app to the database
Use the database name, username, password, and host (localhost) in your application's configuration file (e.g. wp-config.php for WordPress).
Accessing phpMyAdmin
- Go to Databases
- Click Webadmin next to your database
- phpMyAdmin opens — you can import/export, run SQL queries, and browse tables
Importing a database backup
- Open phpMyAdmin
- Select your database from the left sidebar
- Click Import
- Choose your
.sqlfile and click Go
这篇文章有帮助吗?