Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: document config unix_socket #458

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

docs: document config unix_socket #458

wants to merge 1 commit into from

Conversation

SychO9
Copy link
Member

@SychO9 SychO9 commented Apr 30, 2023

No description provided.

@@ -25,6 +25,7 @@ Here's a quick overview of what everything means with an example file:
'prefix' => '', // the prefix for the tables, useful if you are sharing the same database with another service
'port' => '3306', // the port of the connection, defaults to 3306 with MySQL
'strict' => false,
'unix_socket' => '', // the unix socket of the connection, useful if you are using a local database (example: '/run/mysqld/mysqld.sock')
Copy link
Member

@askvortsov1 askvortsov1 Apr 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens if a host / port and unix_socket are both provided? I was thinking that it might be better to add a separate section at the bottom explaining how to use a unix_socket DB. Also, I don't believe the Flarum installer will allow setting up a site without a database, so we should document a workaround for installing a socket DB-based installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants