C.O.D. Webhosting
  • 0 Shopping Cart
  • Home
  • Store
    • Browse All
    • Premium Hosting Packages
    • eCommerce Hosting
    • WordPress Management
    • CrashPlan
    • SSL Certificates
    • Website Builder
    • E-mail Services
    • Website Security
    • Register a New Domain
    • Transfer Domains to Us
  • Announcements
  • Knowledgebase
  • Network Status
  • Affiliates
  • Contact Us
  • More
  • Account
    • Login
    • Register
    • Forgot Password?
  1. Portal Home
  2. Knowledgebase
  3. Dedicated Servers
  4. How to get the cPanel MySQL root password details

  Categories

5
Domain Names and Domain Name Registration:
7
Basic Web Hosting
9
cPanel Hosting Accounts
30
Dedicated Servers
6
Email
16
Pre-Sales Questions
7
Support:

  Categories

  Support

  My Support Tickets   Announcements   Knowledgebase   Downloads   Network Status   Open Ticket

How to get the cPanel MySQL root password details Print

  • 0

The MySQL server saves its root password in a file .my.cnf under the root directory.

log into SSH and SU to root (if necessary) so we may begin!

cat /root/.my.cnf

You will end up with a response similar to, except with your password instead of the sample below


[client]
password="03KL:-59"
user=root


Was this answer helpful?

Related Articles

DNS Zones There are many recommendations for DNS zone settings, Here are mine as follows:   ... Shell Commands The following is a breakdown of the most commonly used commands and the most commonly used... Putting commands together Often you will find you need to use different commands on the same line. Here are some examples.... Where do I find things? If you are trying to find a program, log into the shell. Typing "whereis program", where... How do I find all SETUID root files on my server? This will show all SETUID and SETGID files on the server (assuming a good integrity of the 'find'...
« Back

  Support

  My Support Tickets   Announcements   Knowledgebase   Downloads   Network Status   Open Ticket
  • Contact Us
  • Terms of Service

Copyright © 2023 C.O.D. Webhosting. All Rights Reserved.


Loading...
Loading...
Choose language
العربية
Azerbaijani
Català
中文
Hrvatski
Čeština
Dansk
Nederlands
English
Estonian
Persian
Français
Deutsch
עברית
Magyar
Italiano
Macedonian
Norwegian
Português
Português
Română
Русский
Español
Svenska
Türkçe
Українська

Generate Password

Please enter a number between 8 and 64 for the password length