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
-
Situation : I have removed some mails from the MDaemon server from the backend,ie, browsed through the mail box and deleted some mails mauna...
-
Domain already exists error while adding a subdomain or addon domain A very common error when adding an addon or parked domain via cpanel....
-
Here in the following telnet sessions i am using the following details to demonstrate the dovecot verification. You have to replace with you...
-
BCC to Boss Function - Postfix Postfix provides three mechanisms: always_bcc = address Deliver a copy of all mail to the specifi...
-
If you, or your clients, are unable to login to your/their email accounts and the system shows this error message: Plaintext authentication ...
-
If you are planning to use mysql for cyrus-sasl authentication, it is better to install PostfixAdmin. It will help us to add new smtp users ...
-
Crontab Failure Emails The emails vary in subject line but include: /bin/sh: 1 : ambiguous redirect - Cron <root@host> /usr/local/cpan...
-
Install YAZ PHP extension You can cry install yaz using the following command. But you may encounter an erro while the installation. # pecl ...
-
cut command examples in Unix/Linux - Bash Cut command in unix (or linux) is used to select sections of text fro...
-
DNS Introduction on BIND BIND or named is the most widely used DNS software on the Internet. Th...