0 votes
170 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.

* * * * * * *

If you have a question about Webinoly, please ask in English or Spanish.

To report a bug, please ask a question here with the bug tag.

Donations

Webinoly Support Paypal Donations Webinoly Support Bitcoin Donations

Your regular donations is what keep this project moving forward. If you like Webinoly, buy me a coffee or a beer to show support.

Affiliate Links

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

...