• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

MySql Remote Access - How To

G

glennj

Guest
OK, this has been covered before, but I searched the forum and could only ever find part of the solution.

This is how to do it!

Firstly check your /etc/my.conf file to make sure "skip-networking" is not enabled. If it is, comment it out.

# skip-networking

and save the file.

Now restart the MySql service

service mysqld restart

If you are using the Firewall component of Plesk make sure the MySql Server allows incoming requests (I limit this by my workstation's Internet IP address... don't like the idea of having it open to whole world).

Now in an SSH shell you need to add a MySql user (or you could update an existing user).

mysql -uadmin -pyourpasswd mysql

the password will be the same as your Plesk Admin password.

then use the following command to add your user

GRANT ALL PRIVILEGES ON *.* TO 'your_username'@'%'
IDENTIFIED BY 'some_pass' WITH GRANT OPTION;

Obviously using your preferred username and password.

To allow connection from only a specific IP/Host change the % to that IP/Host.

You should now be able to connect with something like SQLYog.

:D
 
Back
Top