The world’s most popular open-source database
Package | Version | License |
---|---|---|
MySQL server | 8.0.21 | GPL 2 with modifications |
phpMyAdmin | 5.0.3 | GPL 2 |
Apache | 2.4.41 | Apache 2 |
PHP | 7.4 | PHP v3.01 |
Certbot | 0.40.0 | Apache 2 |
Click the Deploy to DigitalOcean button to create a Droplet based on this 1-Click App. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.
In addition to creating a Droplet from the MySQL 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB MySQL Droplet in the SFO2 region, you can use the following curl
command. You need to either save your API access token) to an environment variable or substitute it in the command below.
curl -X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer '$TOKEN'' -d \
'{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image": "mysql-20-04"}' \
"https://api.digitalocean.com/v2/droplets"
In addition to package installation, the One-Click also:
22
, rate limited), HTTP (port 80
), and HTTPS (port 443
), and MySQL (3306
) access.mysql_secure_installation
.debian-sys-maint
user in MySQL so the system’s init scripts for MySQL will work without requiring the MySQL root
user password.After you create a MySQL One-Click Droplet:/phpmyadmin
.root
using either the password emailed to you or with an SSH key if you added one during creation./root/.digitalocean_password
.php -i
.In addition, we recommend taking steps to further secure the phpMyAdmin installation, like enabling SSL for the connection from phpMyAdmin to the database server./var/www/html
./etc/phpmyadmin/
. To secure your connection, you will need a registered domain configured for your Droplet.