close

Slick­Stack

January 2025 promo! Join our Discord free of charge.

Slick­Stack
Lightning-fast WordPress on Nginx

What should the database host be for SlickStack setup wizard

  • This topic is empty.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #3108
    Carolyn
    Guest

    Here is the prompt:

    Choose database host (e.g. IP) without port: 127.0.0.1

    #3109
    Jeremy
    Guest

    it should be 127.0.0.1 which is the localhost (loopback) IP address unless you are using a remote database or something

    #3988
    Janice
    Guest

    Many of managed (remote) database providers these days are using a unique CNAME instead of IP address so you can input that, I tested and it works fine with SlickStack

    example:

    my-unique-string.region.example.com

    #3989
    Bryan
    Guest

    not necessarily CNAME but you understand my meaning I think 😆

    #4023
    David
    Guest

    @Janice is correct

    You can input whatever database server address (URL) that your managed database provider gave to you, it doesn’t necessarily need to be an IP address and probably will not be an IP address at most of the modern cloud database providers these days.

    SlickStack defaults to using TCP connections for the database which means it will connect to remote databases no problem.

    #4075
    Christian
    Guest

    DigitalOcean managed database hostname example:

    your_database_cluster_hostname.b.db.ondigitalocean.com

    https://www.digitalocean.com/community/tutorials/how-to-connect-to-mysql-managed-database-via-phpmyadmin

    #24834
    Vincent
    Guest

    database server can be IP address or hostname it doesn’t matter, as long as the database server accepts connections that way. but the port number must be exactly correct. every database server provider uses a different port number so check it carefully…

    #27208
    Charles
    Guest

    DigitalOcean managed database hostname example:

    what is the port number for DigitalOcean remote databases then

    #27209
    Philip
    Guest
    #27210
    Sean
    Guest
Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: What should the database host be for SlickStack setup wizard

Thanks to our generous sponsors for their support!