• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved How do you restart mysql?

FAB

Basic Pleskian
Hi, I'm new on PLESK.

I saw in Tools & Settings / Services you can restart a couple of things... but not mysql.

How do you guys do to restart mysql? I tried different things in SSH, but nothing work :(

# sudo service mysql restart
Redirecting to /bin/systemctl restart mysql.service
Failed to restart mysql.service: Unit not found.

Weird...
 
# mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

But it's weird, mysql works fine (I mean phpMyadmin does)

:confused:
 
You need to find correct service name, as an example (from my server):
# systemctl list-unit-files | grep enabled | grep -iE '(sql|db)'
mariadb.service enabled


Could you say which OS do you use? or please insert here the output of command plesk version
 
  • Like
Reactions: FAB
plesk version gives:


Product version: Plesk Onyx 17.0.17 Update #26
Update date: 2017/05/18 18:19
Build date: 2017/03/22 17:00
OS version: CentOS 7
Revision: ab6766191d3ba26e7b21255ab007fc7fc56d84c6
Architecture: 64-bit
Wrapper version: 1.2
 
systemctl list-unit-files | grep enabled | grep -iE '(sql|db)'

also gives me:

mariadb.service enabled
 
Hi FAB,

actually, it is not "weird".... :p . You just missed the fact, that CentOS 7 doesn't use a "mysql" - database - server, but a "mariadb" - database - server as standart configuration. :D Feel free to change it to a supported database - server of YOUR choice at any time. ;)

 
God damned! I never heard about mariadb before :|

Is this animal fully compatible with mysql? (I will run a BIG prestashop on this server).... or do you recommand to switch it back to mysql? :D
 
Hi FAB,

Is this animal fully compatible with mysql?
Yes it is.

or do you recommand to switch it back to mysql?
Just like the "tastes" for operating systems ( Ubuntu / Debian / CentOS / ... ) there is for sure a taste for MySQL or MariaDB. There are some differences here and there ( pls. read for example: => MariaDB versus MySQL - Features ), but at the end both are based on MySQL ( see for example: => MariaDB versus MySQL - Compatibility ). ;)

I recommend to use the version, that suits YOU the most. ;):p:D
 
  • Like
Reactions: FAB
Thank you so much for all those information :)
(I will try MariaDB, it look at least as good as the classic version on MySQL).
 
Back
Top