Compare VPS Hosting and Dedicated Server

ComfortVPS is here to help you find the right hosting, Save Time and Save Money!
Focus on cheap Windows VPS Hosting and Linux VPS Hosting Since 2012, and Dedicated Server NOW
How to find your password of SFTP and MySql root and phpMyAdmin?

How to find your password of SFTP and MySql root and phpMyAdmin if you forgot the passwod ?

We recorded the initial password on file at /www/mysql-and-sftp-password.php , you can use ssh command more /www/mysql-and-sftp-password.php to find it. Root password of phpMyAdmin is the same as MySql root.

[root@testovz ~]# more /www/mysql-and-sftp-password.php 
<?php
/*

phpMyAdmin url: http://your-ip-address/phpMyAdmin4U/

MySql root password is  cft.sWVdxb2V1

SFTP username: myweb  
SFTP password: cft.sWVdxb2V1

NOTE: Please write down the password then delete this file.

*/
?>

For security reason, Please write down the password then delete this file /www/mysql-and-sftp-password.php

How to reset the password if you already deleted this password record file?

  1. You can easily reset the password of SFTP user myweb via SSH root login, use command "passwd myweb" then type your new password twice.
  2. You need google for reset the password of MySql root.

Reviews and Comments