# Wordpress on StackOS

### Super Important!

Change the database image from maridb:10.4 to mariadb:10.8 for a more consistent database booting experience.

We have seen some cases where mariadb:10.4 fails to fully setup/boot and "looks like it is running" but all incoming connections fail

## ✅ Fund your Account

{% content-ref url="../wordpress/account-funding-wordpress" %}
[account-funding-wordpress](https://docs.stackos.io/stackos-docs/wordpress/account-funding-wordpress)
{% endcontent-ref %}

## ✅ Launching on the App Store

**Go to the App Store**

![](https://595251010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ml8spdZ1HNNSGfvTi3F%2Fuploads%2Fwkry8Ag9e7v120IPgO8U%2FStackAppStore.png?alt=media\&token=fe2cfc77-2147-4049-b5cf-b49b6c95c79e)

**Select WordPress**

![](https://595251010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ml8spdZ1HNNSGfvTi3F%2Fuploads%2FOIVrJvVowPZuSOjkO00t%2FStackWP.png?alt=media\&token=1462da73-cd96-4afc-aa5b-4b8b417ec159)

## ✅ Set DB Username and Password

![](https://595251010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ml8spdZ1HNNSGfvTi3F%2Fuploads%2FniPMp1AjSlX4rx8IQ6dZ%2FStackWP1.png?alt=media\&token=ef9d4d1a-6c50-4c28-aa34-6258bf24c834)

## ✅ Alter Wordpress Settings (rare)

Typically no changes, but be aware changes are possible

![](https://595251010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ml8spdZ1HNNSGfvTi3F%2Fuploads%2FvOyKCemvYjceY4V63UZq%2FStackWP2.png?alt=media\&token=2fa33e88-0fbc-4d08-aba5-dc0292e0daaf)

## ✅ Alter Database Settings for Ease of Use

We have seen instances where "mariadb:10.4" fails to fully initialize and will not accept connections.

1\) Change to "mariadb:10.8"

2\) Set the root password to something you know so that you have more options later

3\) Adjust the size of your mysqldb if you know you will upload more than "just a little data" (for example, at least 5GB)

Here is an example environment

```
MYSQL_DATABASE = sqldb
MYSQL_USER = useruser
MYSQL_PASSWORD = passpass
MYSQL_ROOT_PASSWORD = rootroot <- notice this line is different
```

![](https://595251010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ml8spdZ1HNNSGfvTi3F%2Fuploads%2F4VpsL3k231oLrwIRUDYD%2FStackWP3.png?alt=media\&token=2d757d84-9a80-4260-9b7e-a51abb4a69f5)

## ✅ Launch the WordPress app

![](https://595251010-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ml8spdZ1HNNSGfvTi3F%2Fuploads%2FwNANZd0MKh0KzQ2b4z9I%2FStackWP1.png?alt=media\&token=c76a4132-17a2-4f27-a512-016edf6216e9)

## ✅ Additional Items to Consider

**If you need to get data in/out of your database remotely**

{% content-ref url="../useful-apps/phpmyadmin-mysql-web-admin" %}
[phpmyadmin-mysql-web-admin](https://docs.stackos.io/stackos-docs/useful-apps/phpmyadmin-mysql-web-admin)
{% endcontent-ref %}

**There are quite a few items here that are helpful**

{% content-ref url="../wordpress" %}
[wordpress](https://docs.stackos.io/stackos-docs/wordpress)
{% endcontent-ref %}
