Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
2.4k views
by Rookie
I am getting a message "Error establishing a database connection" when I open my website. Restarting webinoly server may help, right?

What is the command to restart webinoly server?

1 Answer

+1 vote
by Rookie
edited by
Webinoly only installs the components for you and when you get an database error you could just restart mysql (sudo service mysql restart), or make an alias to restart all webrelated services:
 

alias webserver-restart="service nginx restart && service mysql restart && service php7.*-fpm restart"
Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.

...