PHPMyAdmin is a web-based administration tool for MySQL.
Add the pma
service under the services
section in .docksal/docksal.yml
:
# PHPMyAdmin
pma:
hostname: pma
image: phpmyadmin/phpmyadmin
environment:
- PMA_HOST=db
- PMA_USER=root
- PMA_PASSWORD=${MYSQL_ROOT_PASSWORD:-root}
labels:
- io.docksal.virtual-host=pma-${VIRTUAL_HOST}
Apply new configuration with fin project start
(fin p start
).
Use http://pma-<VIRTUAL_HOST>
to access the PHPMyAdmin web UI.
PHPMyAdmin can also be installed as a project addon.
Run the following command within your project folder:
fin addon install pma
Was this page helpful?
Thanks for the feedback. If you have a specific, answerable question about how to use Docksal, ask it in Discussions on GitHub. Open an issue if you want to report a problem or suggest an improvement. You can also contribute changes to this page using the link in the top right corner.