Update phpMyAdmin access instructions in README.md for clarity and security

This commit is contained in:
2025-04-28 01:38:00 +00:00
parent 6315a002db
commit 60602b6782
+3 -12
View File
@@ -128,24 +128,15 @@ To use phpMyAdmin with your WordPress sites, follow these steps:
1. **Choose to Include phpMyAdmin During Site Creation**: 1. **Choose to Include phpMyAdmin During Site Creation**:
When you are running the installation script to create a new WordPress site, you'll be prompted to include phpMyAdmin. Make sure to opt for PhpMyAdmin during this setup. When you are running the installation script to create a new WordPress site, you'll be prompted to include phpMyAdmin. Make sure to opt for PhpMyAdmin during this setup.
2. **Manually Run phpMyAdmin**: 2. **Access phpMyAdmin**:
After the site is set up, you can manually start PhpMyAdmin using Docker Compose. Navigate to your WordPress project directory and execute the following command: To access phpMyAdmin, navigate to <http://your-domain.com/pma> (replace "your-domain.com" with your actual domain name).
```bash
docker compose up phpmyadmin -d
```
3. **Access phpMyAdmin via IP Address**:
Once phpMyAdmin is running, you can access it by opening a web browser and navigating to `http://<your-server-ip>:8080`. Replace `<your-server-ip>` with your server's actual IP address.
4. **Stop phpMyAdmin**: 3. **Stop phpMyAdmin**:
To prevent unauthorized access to phpMyAdmin after use, make sure to stop the container. Navigate to your WordPress project directory and execute the following command: To prevent unauthorized access to phpMyAdmin after use, make sure to stop the container. Navigate to your WordPress project directory and execute the following command:
```bash ```bash
docker compose stop phpmyadmin docker compose stop phpmyadmin
``` ```
By following these steps, you can manage your site's database conveniently using PhpMyAdmin.
--- ---
## **License** ## **License**