Skip to content
Learn Linux in 7 structured days, the free course inside Pro TecMint Sudo tier    Enroll Free
Tecmint: Linux Howtos, Tutorials & Guides
  • Latest Tutorials
  • Commands
    • A – Z Linux Commands
    • 100+ Linux Commands
  • Tools
  • Distros
    • Linux Distros for Beginners
    • Linux Distros for Experts
    • New Linux Distros
    • Linux Server Distros
    • Secure Linux Distros
    • CentOS Alternatives
    • RedHat Distributions
    • Debian Distributions
    • Ubuntu Distributions
    • Arch Linux Distros
    • Rolling Linux Distros
    • KDE Linux Distros
    • Linux Distros for Old PC
    • Linux Distros for Kids
    • Linux Distributions for Students
    • Linux Distros for Windows
  • Courses
    • Bash Scripting
    • Learn Linux
    • AI for Linux
    • RHCSA Certification
    • RHCE Certification
    • LFCS Certification
  • eBooks
    • RHCSA Exam
    • RHCE Exam
    • LFCS Exam
    • LFCE Exam
    • LFCA Exam
    • Ansible Exam
  • About
  • Advertise
Tecmint: Linux Howtos, Tutorials & Guides
  • Latest Tutorials
  • Commands
    • A – Z Linux Commands
    • 100+ Linux Commands
  • Tools
  • Distros
    • Linux Distros for Beginners
    • Linux Distros for Experts
    • New Linux Distros
    • Linux Server Distros
    • Secure Linux Distros
    • CentOS Alternatives
    • RedHat Distributions
    • Debian Distributions
    • Ubuntu Distributions
    • Arch Linux Distros
    • Rolling Linux Distros
    • KDE Linux Distros
    • Linux Distros for Old PC
    • Linux Distros for Kids
    • Linux Distributions for Students
    • Linux Distros for Windows
  • Courses
    • Bash Scripting
    • Learn Linux
    • AI for Linux
    • RHCSA Certification
    • RHCE Certification
    • LFCS Certification
  • eBooks
    • RHCSA Exam
    • RHCE Exam
    • LFCS Exam
    • LFCE Exam
    • LFCA Exam
    • Ansible Exam
  • About
  • Advertise

Change MySQL Password

Change MySQL Root Password

How to Change Root Password of MySQL or MariaDB in Linux

If you’re installing MySQL or MariaDB in Linux for the first time, chances are you will be executing mysql_secure_installation script

TecMint Weekly
Get the Learn Linux 7 Days Crash Course free when you join 34,000+ Linux professionals reading every Thursday.
Check your email for a magic link to get started.
Something went wrong. Please try again.
Free forever. Unsubscribe anytime.
Learn Linux Right Way
15 structured courses, ad-free articles, and the weekly newsletter in one place.
  • ✓SSH, Bash, Ubuntu, Golang, RHCSA, RHCE, LFCS, LFCA and more
  • ✓Ad-free access to all premium articles
  • ✓Priority help and Telegram community
  • ✓Weekly newsletter every Thursday
Join Root from $8/mo
$8/mo or $59/yr. Cancel anytime.

Linux Server Monitoring Tools

5 Tools to Scan a Linux Server for Malware and Rootkits

Understand Linux Load Averages and Monitor Performance of Linux

6 Useful Tools to Monitor MongoDB Performance

GoAccess (A Real-Time Apache and Nginx) Web Server Log Analyzer

How to Setup Central Logging Server with Rsyslog in Linux

Guider – A System Wide Linux Performance Analyzer

Learn Linux Tricks & Tips

10 SCP Commands to Transfer Files/Folders in Linux

How to Use GNU bc (Basic Calculator) in Linux

10 Must-Know Linux Commands You Probably Missed – Part 4

22 Linux Networking Commands for Sysadmin

How to Save Top Command Output to a File

How to Create and Use Linux sudo Command

Best Linux Tools

8 Useful GUI Email Clients for Linux Desktop

Top 5 Open-Source OCR Tools for Linux in 2025

11 Best IP Address Management Tools for Linux Network

17 Best KDE Multimedia Applications for Linux

Top 5 Diagram Tools for Linux Users in 2025 (Free & Open-Source)

3 Best Document Collaboration Platforms for Linux in 2024

Tecmint: Linux Howtos, Tutorials & Guides © 2026. All Rights Reserved.

The material in this site cannot be republished either online or offline, without our permission.

Hosting Sponsored by : Linode Cloud Hosting