Plesk for Linux
kb: how-to
ABT: Group B
Applicable to:
- Plesk for Linux
Question
How to install Plesk on Linux with specific pre-installed MySQL version?
Answer
If MySQL server is already installed on a server:
-
Connect to the server via SSH.
-
Create the file
/root/.my.cnf
:# touch /root/.my.cnf
-
Open the file in a text editor. In this example, we are using the vi editor:
# vi /root/.my.cnf
-
Specify the username and the password of a MySQL user with administrator rights:
CONFIG_TEXT: [client]
user = root
password = "root_password" -
Save the changes and close the file.
Comments
3 comments
However, I'm getting this issue:
Hello,
Please create support ticket to check the issue.
Hello, after Plesk installation you must specify to remove the .my.cnf.bak file, which contains in plain text the server root password
Please sign in to leave a comment.