If you still don’t have a content database to move site collection, you need to create it. You can do it via SharePoint Central Administration or via PowerShell. Your account must be at least dbcreator role (better db_owner).


For example


To see a list of Web Applications of you SharePoint, use command:


To see a list of Site Collections in your SharePoint Web Applications, use this code: