Skip to content

Change PostgreSQL to MySQL throughout the project #3

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Copilot
Copy link

@Copilot Copilot AI commented May 22, 2025

This PR changes the database system from PostgreSQL to MySQL throughout the project. The following changes were made:

Docker Configuration

  • Updated docker-compose.yml to use MySQL 8 instead of PostgreSQL 14
  • Changed environment variables from PostgreSQL format to MySQL format
  • Updated volume mount paths to use MySQL standard locations

SQL Script

  • Modified init_db.sql to be compatible with MySQL syntax:
    • Changed SERIAL types to INT AUTO_INCREMENT
    • Updated timestamp handling with ON UPDATE CURRENT_TIMESTAMP
    • Modified foreign key syntax to match MySQL requirements
    • Added backticks for MySQL reserved words (like condition)
    • Adjusted default value syntax for MySQL compatibility

Documentation

  • Updated all PostgreSQL references in README.md to MySQL
  • Changed connection strings from postgresql:// protocol to MySQL format
  • Updated port references from 5432 to 3306
  • Changed MCP server configuration examples to use MySQL

These changes should allow users to run the project with MySQL while maintaining the same functionality.

Fixes #2.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@Copilot Copilot AI changed the title [WIP] Change Postgres to MySQL Change PostgreSQL to MySQL throughout the project May 22, 2025
@Copilot Copilot AI requested a review from jtluoto May 22, 2025 10:40
Copilot finished work on behalf of jtluoto May 22, 2025 10:40
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.

Change Postgres to MySQL
2 participants