Plesk MySQL server have no root user. Instead Plesk have user “admin” with root privileges.
You can run the command given below to get MySQL admin user password.
[root@server ~] # cat /etc/psa/.psa.shadow
3G5wVCxDGotP4itJ
Verify the password by login to the admin user.
[root@server ~] # mysql -u admin -p3G5wVCxDGotP4itJ
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1234 to server version: 5.1
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
If you want login to MySQL without entering the password always, go through the following steps.
Create a file, /root/.my.cnf and add the follwong contents in it.
[mysql]
user = admin
password = 3G5wVCxDGotP4itJ
[mysqldump]
user = admin
password = 3G5wVCxDGotP4itJ
This will allow you to use mysql and mysqldump without providing passwords.
About Me
Categories
Archives
Populares
-
Bash script To Change password of all mail accounts The bash script given below will change the password of all the mail accounts in ...
-
Domain already exists error while adding a subdomain or addon domain A very common error when adding an addon or parked domain via cpanel....
-
Situation : I have removed some mails from the MDaemon server from the backend,ie, browsed through the mail box and deleted some mails mauna...
-
In Kloxo ftp is running in xinetd. So first of all check this service is listening in port 21. [root@server ~]# netstat -plant | grep xinetd...
-
Error : When i run the following command in terminal i got an errors as shown below. I got this error in a cpanel 11.32.5 (build 18) server....
-
Download and Extract Memcache package root@server [~]# cd /usr/local/src root@server [/usr/local/src]# wget http://pecl.php.net/get/memcac...
-
Container:- A container (otherwise known as CT, Virtual Environment (VE), Virtual Private Server (VPS) etc.) is one of the main concepts...
-
Bash script to List All Mail Accounts in cPanel Server The bash script given below will list all the mail accounts in a cpanel server and t...
-
Joomla Error: Warning: require_once(Cache/Lite.php) [function.require-once]: failed to open stream: No such file or directory in /home/test/...
-
Bash script To change password of a mail account in cPanel via command line The bash script given below will help you to change the password...