Unable to create a WordPress site with a database server that doesn't use the default port 3306 #454

Closed
opened 2026-04-05 20:27:54 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @blankstar85 on 11/24/2022

CloudPanel version(s) affected

2.1.0

Description

When creating a new wordpress site with an external database using a non standard port, the create wp config fails and times out.

How to reproduce

Add a database server with a nonstandard port and create a wordpress site.

Possible Solution

Add the port to the host when creating the wp config create --dbhost='domain:port'

Additional Context

No response

*Originally created by @blankstar85 on 11/24/2022* ### CloudPanel version(s) affected 2.1.0 ### Description When creating a new wordpress site with an external database using a non standard port, the create wp config fails and times out. ### How to reproduce Add a database server with a nonstandard port and create a wordpress site. ### Possible Solution Add the port to the host when creating the wp config create --dbhost='domain:port' ### Additional Context _No response_
Sign in to join this conversation.