Skip to content

Fix mariadb permission and connection errors#1

Draft
yilin-gong wants to merge 4 commits into
masterfrom
cursor/fix-mariadb-permission-and-connection-errors-gemini-3-pro-preview-84e0
Draft

Fix mariadb permission and connection errors#1
yilin-gong wants to merge 4 commits into
masterfrom
cursor/fix-mariadb-permission-and-connection-errors-gemini-3-pro-preview-84e0

Conversation

@yilin-gong
Copy link
Copy Markdown
Owner

Fix MariaDB startup errors and permission issues in Docker by updating commands and adding PUID/PGID support.

The previous setup caused MariaDB to fail on startup due to "Permission denied" errors when writing to its data directory and log files, often manifesting as rtkit ownership on host volumes. This was compounded by the use of deprecated mysqld commands. This PR updates the Docker entrypoints to use the correct mariadbd commands and introduces PUID/PGID environment variables to ensure the mysql user inside the container matches the host user's permissions, resolving the permission denied errors.


Open in Cursor Open in Web

cursoragent and others added 4 commits November 22, 2025 01:01
Co-authored-by: yg24 <yg24@iu.edu>
Co-authored-by: yg24 <yg24@iu.edu>
@cursor
Copy link
Copy Markdown

cursor Bot commented Nov 22, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

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