This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here

Skip to main content

Just Host Web Hosting Help

Setting a Password for the Main MySQL User

The main MySQL username is primarily used to login to phpMyAdmin however it can also be used in database connection scripts. If you are using the main MySQL username to connect to a database, you will need to change the MySQL user password and update the password in your script.

Note: MySQL users you create will not be affected. This password change is only for the main username as shown on the password change screen.

Setting the main MySQL Password

  1. Login to your Just Host Control Panel
  2. Click the Reset MySQL Password icon, found under the Databases section of the cPanel.
  3. Notice the username shown. This is the main username for your account.
  4. Enter in a new password in the "New Password" text box. As you type you will see the password requirements which have not yet been met. You can also see your password's strength.
    Note: This will only change the password for the main MySQL user.
  5. Enter in the same password again in the second "New Password" text box.
  6. Click the Set MySQL Password button. You should then see a message "Your password has successfully been updated, Click here to continue".
Knowledgebase Article 250,234 views bookmark tags: connect database mysql password phpmyadmin username


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

I cannot connect to my database locally or remotely, do I have the correct server, username and password?
Knowledgebase Article 335,575 views tags: connect disconnected hostname mysql user

This article will explain how to change or reset the password for a MySQL user.
Knowledgebase Article 155,785 views tags: change mysql password reset user

This article will explain how to change the password for a database in the event that the original password is lost.
Knowledgebase Article 264,642 views tags: database mysql password

Related Help Content

How do I import a backup of my database (.sql file) using phpMyAdmin?
Knowledgebase Article 782,661 views tags: database mysql phpmyadmin

A repository of information on how you can manage your database by using the phpMyAdmin interface.
Knowledgebase Article 376,345 views tags: commands database mysql phpmyadmin

This article will explain MySQL database and user creation and deletion, and explain how to assign a user to a database.
Knowledgebase Article 874,748 views tags: creation database mysql

A guide to duplicating a MySQL database using phpMyAdmin
Knowledgebase Article 243,726 views tags: databases mysql phpmyadmin

How can I connect to our MySQL database from Dreamweaver?
Knowledgebase Article 272,026 views tags: connecting database dream mysql weaver

How to Restore your MySQL Database?
Knowledgebase Article 384,654 views tags: admin database mysql php phpmyadmin restore

A tutorial on how to perminately delete columns from your mySQL database using phpMyAdmin
Knowledgebase Article 189,233 views tags: Plesk cpanel databases mysql phpmyadmin

This article explains how to reset a lost WordPress password using phpMyAdmin.
Knowledgebase Article 204,481 views tags: password phpmyadmin wordpress

** Google ad credits are only available to customers in the United States, Canada, and the United Kingdom at this time.

¹ VAT (Value Added Tax) is not included in our advertised price and will be charged separately and itemized on invoices and billing information. Standard VAT rates based on EU Member State regulations may apply. Learn more.