Install Sharepoint 2019 on Single Server
open Sharepoint Management Shell (must be Run As Administrator) and run the following cmdlet
New-SPConfigurationDatabase -DatabaseName SharePoint_ConfigDB -DatabaseServer MySQLServerInstance -AdministrationContentDatabaseName SharePoint_ContentDB -Passphrase (ConvertTo-SecureString MyP@ssword -AsPlaintext -Force) -FarmCredentials (Get-Credential) -localserverrole SingleServerFarm
Then run the Sharepoint Products Configuration Wizard to continue.
sources: