A straightforward guide and script collection for installing and configuring MySQL Server on Ubuntu. This repository provides step-by-step instructions to set up MySQL using the official MySQL APT repository.
Features
- Stepwise instructions to add MySQL APT repository on Ubuntu
- Commands to install MySQL Server via apt package manager
- Guidance on verifying MySQL service status post-install
Tech Stack
- Bash scripting (assumed, based on usage of shell commands)
- Ubuntu Linux environment
- MySQL Server
Getting Started
Prerequisites
- Ubuntu operating system
- sudo privileges
Installation Steps
-
Download the MySQL APT repository config package from MySQL APT repo downloads.
-
Install the downloaded package (replace
w.x.y-zwith the actual version):
sudo dpkg -i mysql-apt-config_w.x.y-z_all.deb
Example:
sudo dpkg -i mysql-apt-config_0.8.30-1_all.deb
- Update apt package index and install MySQL Server:
sudo apt-get update && sudo apt-get install mysql-server
- Verify MySQL service status:
systemctl status mysql
Project Structure
index.md— Contains detailed installation instructions and references for MySQL setup on Ubuntu.
Future Work / Roadmap
- Automate the installation process with a bash script.
- Add configuration scripts for post-install MySQL setup.
- Expand support for different Ubuntu versions.
- Include troubleshooting tips and common issues.
This repository serves as a practical reference for setting up MySQL Server on Ubuntu systems, particularly useful for projects requiring a local or server-side MySQL instance for data storage and management.