Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
346 views
by Rookie
Hello

- Installed webinolly (A) as this tutorial https://webinoly.com/tutorial/ejemplo-completo-tutorial-webinoly/

- Now created external user in database like:

CREATE DATABASE ***;
CREATE USER '***'@'localhost' IDENTIFIED BY '***';
GRANT ALL PRIVILEGES ON ***.* TO '***'@'localhost';
CREATE USER '***'@'10.1.96.4' IDENTIFIED BY '***';
GRANT ALL PRIVILEGES ON ***.* TO '***'@'10.1.96.4';
FLUSH PRIVILEGES;
exit
 

- Now, from another instance (B), im trying to connect to that database with: mysql -u wpuser -h 10.1.96.3 -p

But i get this error: "ERROR 2002 (HY000): Can't connect to MySQL server on '10.1.96.3' (115)"

Do i have to open ports? If so, how to?

Note: IPs are local/private instance ip
by Rookie
I have the same question, I want to access database from other ip address.

Please log in or register to answer this question.

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.

...