Skip to content

[skip-ci] Update installation documentation for ProxySQL 3.0.3#5264

Merged
renecannao merged 2 commits intov3.0from
v3.0-304-docInstall
Dec 24, 2025
Merged

[skip-ci] Update installation documentation for ProxySQL 3.0.3#5264
renecannao merged 2 commits intov3.0from
v3.0-304-docInstall

Conversation

@renecannao
Copy link
Contributor

Summary

  • Updated README.md and INSTALL.md to reflect ProxySQL 3.0.3 release
  • Updated version references from 2.4.2 to 3.0.3 throughout documentation
  • Updated repository URLs from proxysql-2.4.x to proxysql-3.0.x
  • Updated supported OS list to current distributions (AlmaLinux 8-10, CentOS Stream 9-10, Debian 12-13, Fedora 40-42, OpenSUSE Leap 15-16, Ubuntu 22.04-24.04)
  • Completely rewrote build dependency sections based on actual Dockerfiles from ProxySQL/docker-images repository
  • Removed outdated "shortcut commands" that were incorrect
  • Added accurate package lists for Debian/Ubuntu, RHEL/CentOS/AlmaLinux, Fedora, OpenSUSE, and macOS

Test Plan

  • Verify all version references are updated to 3.0.3
  • Check repository URLs point to proxysql-3.0.x
  • Validate supported OS list matches current packaging targets
  • Review build dependency lists against Dockerfiles in docker-images repository
  • Ensure documentation formatting is correct (markdown, code blocks)
  • Test example commands for syntax errors
  • Verify links to external resources (repo.proxysql.com, github.com releases) are valid

The documentation now accurately reflects how to install and build ProxySQL 3.0.3 on modern operating systems.

This commit updates the installation documentation to reflect the current
ProxySQL 3.0.3 release and modern build dependencies.

Changes made:

1. README.md:
   - Updated version references from 2.4.2 to 3.0.3
   - Updated package download examples from ubuntu20 to ubuntu24
   - Updated repository URLs from proxysql-2.4.x to proxysql-3.0.x
   - Updated version check examples to show correct version format
   - Fixed upgrade instructions to use current version

2. INSTALL.md (complete rewrite):
   - Updated supported OS list to current distributions:
     - AlmaLinux 8,9,10
     - CentOS Stream 9,10
     - Debian 12,13
     - Fedora 40,41,42
     - OpenSUSE Leap 15,16
     - Ubuntu 22.04,24.04
   - Updated repository configuration instructions for 3.0.x
   - Updated docker build example to use v3.0.3 and ubuntu24 target
   - Completely rewritten build dependency sections based on actual
     Dockerfiles from ProxySQL/docker-images repository:
     - Debian/Ubuntu: Added libmysqlclient-dev, libunwind, libicu-dev,
       libevent-dev, libtirpc-dev
     - RHEL/CentOS/AlmaLinux: Added epel-release, crb repo, libtirpc-devel,
       rpcgen, and all required dev packages
     - Fedora: Updated to current package names
     - OpenSUSE: Added equivalent packages
     - macOS: Updated Homebrew command
   - Removed outdated "shortcut commands" that were incorrect
   - Added direct links to docker-images repository for reference

The documentation now accurately reflects how to install and build
ProxySQL 3.0.3 on modern operating systems.
@gemini-code-assist
Copy link

Summary of Changes

Hello @renecannao, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on a comprehensive update of the ProxySQL installation documentation. The primary goal is to align the documentation with the recently released ProxySQL 3.0.3, ensuring that users have accurate and up-to-date instructions for installing and building the software across a wide range of modern operating systems. This includes updating version numbers, repository paths, supported OS lists, and detailed build prerequisites.

Highlights

  • Documentation Update for ProxySQL 3.0.3: The installation documentation in README.md and INSTALL.md has been thoroughly updated to reflect the latest ProxySQL 3.0.3 release.
  • Version and Repository URL Updates: All references to ProxySQL versions have been updated from 2.4.2 to 3.0.3, and repository URLs now point to the proxysql-3.0.x branch.
  • Expanded Supported OS List: The list of supported operating systems has been updated to include current distributions such as AlmaLinux 8-10, CentOS Stream 9-10, Debian 12-13, Fedora 40-42, OpenSUSE Leap 15-16, and Ubuntu 22.04-24.04 for both AMD64 and ARM64 architectures.
  • Revised Build Dependencies: The build dependency sections have been completely rewritten based on the official Dockerfiles from the ProxySQL/docker-images repository, providing accurate package lists for various Linux distributions and macOS.
  • Removal of Outdated Information: Incorrect 'shortcut commands' and outdated dependency lists have been removed to ensure the documentation is precise and current.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request provides a comprehensive update to the installation documentation for ProxySQL 3.0.3. The changes in README.md and INSTALL.md are very valuable, with updated version numbers, repository URLs, supported OS lists, and much more detailed and accurate instructions for installing dependencies and configuring repositories. The rewrite of the build dependency sections is a significant improvement. I've found a few minor inconsistencies in the documentation that could be improved, and I've detailed them in my comments.

INSTALL.md Outdated
Comment on lines +53 to +62
#### Red Hat / CentOS / AlmaLinux:
```bash
cat > /etc/yum.repos.d/proxysql.repo << EOF
[proxysql]
name=ProxySQL YUM repository
baseurl=https://repo.proxysql.com/ProxySQL/proxysql-3.0.x/centos/\$releasever
gpgcheck=1
gpgkey=https://repo.proxysql.com/ProxySQL/proxysql-3.0.x/repo_pub_key
EOF
```

Choose a reason for hiding this comment

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

high

The repository configuration for "Red Hat / CentOS / AlmaLinux" seems to use a URL specific to CentOS (the /centos/ path). This is likely incorrect for AlmaLinux, which requires /almalinux/ in the path as shown in README.md. This could cause installation failures for users on AlmaLinux. Please consider splitting this into separate sections for Red Hat/CentOS and AlmaLinux for clarity and correctness.

Comment on lines +64 to +73
#### Amazon Linux:
```bash
cat > /etc/yum.repos.d/proxysql.repo << EOF
[proxysql]
name=ProxySQL YUM repository
baseurl=https://repo.proxysql.com/ProxySQL/proxysql-3.0.x/centos/8
gpgcheck=1
gpgkey=https://repo.proxysql.com/ProxySQL/proxysql-3.0.x/repo_pub_key
EOF
```

Choose a reason for hiding this comment

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

medium

This section adds installation instructions for Amazon Linux, but Amazon Linux is not included in the list of supported operating systems at the top of this file (lines 14-29). To avoid confusion, please add Amazon Linux to the supported OS list if it is indeed supported.

INSTALL.md Outdated
Comment on lines +108 to +109
# RHEL/CentOS/AlmaLinux/Fedora/Amazon Linux
yum install proxysql

Choose a reason for hiding this comment

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

medium

The installation command for Fedora is given as yum install proxysql. While yum may work as an alias, dnf has been the default package manager in Fedora for several years. For consistency with modern Fedora and with the dependency installation command on line 165 (which correctly uses dnf), it would be better to use dnf and separate the Fedora instruction.

Suggested change
# RHEL/CentOS/AlmaLinux/Fedora/Amazon Linux
yum install proxysql
# RHEL/CentOS/AlmaLinux/Amazon Linux: yum install proxysql
# Fedora: dnf install proxysql

- Split Red Hat/CentOS and AlmaLinux repository sections
- Add Amazon Linux 2 to supported OS list
- Use dnf for Fedora installation command

These changes address the issues identified in the code review:
1. AlmaLinux now uses correct /almalinux/ repository path
2. Amazon Linux added to supported OS list for consistency
3. Fedora installation uses dnf instead of yum

All repository configurations now match those in README.md.
@sonarqubecloud
Copy link

@renecannao
Copy link
Contributor Author

I've addressed all review comments:

  1. Split Red Hat/CentOS and AlmaLinux into separate sections with correct repository paths
  2. Added Amazon Linux to the supported OS list for consistency
  3. Updated Fedora installation command to use dnf instead of yum

All changes have been pushed to the branch.

@renecannao renecannao changed the title [ci-skip] Update installation documentation for ProxySQL 3.0.3 [skip-ci] Update installation documentation for ProxySQL 3.0.3 Dec 22, 2025
@renecannao renecannao merged commit 96af0fd into v3.0 Dec 24, 2025
1 of 2 checks passed
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.

1 participant