Question
How to install Plesk on Linux with specific pre-installed MySQL/MariaDB version?
Answer
If MySQL/MariaDB 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/MariaDB user with administrator rights:
[client]
user = root
password = "root_password" -
Save the changes and close the file.