Another NextCloud One Click Error

My newest issue.

Error while trying to create admin user: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known.

Not sure where this came from but it would seem i screwed this up aswell.

Thank you to anyone who helps.

1 Reply

@mrocheleau --

Something about the database parameters is wrong in your NextCloud configuration. Perhaps you don't have the following entries in /etc/services:

mysql           3306/udp    # MySQL
mysql           3306/tcp    # MySQL

Perhaps you used an IP address when localhost was the required answer. Perhaps you left an IP address blank that you were supposed to fill in.

-- sw

P.S. No need to open a new thread for each error you find. Just keep using one of the two you've already created. When you add a new post, the thread filters to the top of the list. That's how we all know there's something new added.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct