cPanel相关知识

1.查看cPanel的MySql的root用户密码

To see the mysql password just issue this command as root via ssh.
使用Linux 的root用户通过ssh连接,使用如下命令即可查看MySQL的root密码
cat /root/.my.cnf
例子
root@localhost [~]# cat /root/.my.cnf
[client]
user="root"
pass="XXXXX"
root@2co-zp [~]# mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 763
Server version: 5.0.81-community-log MySQL Community Edition (GPL)

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

你可能感兴趣的:(C++,c,mysql,linux,ssh)