wo site create meusite.com.br --wp --le
Start : wo-kernel [OK]
Adding repository for MySQL, please wait…
Adding repository for NGINX, please wait…
Adding repository for PHP, please wait…
Updating apt-cache [OK]
Installing APT packages [OK]
Applying Nginx configuration templates
Testing Nginx configuration [OK]
Restarting Nginx [OK]
Testing Nginx configuration [OK]
Restarting Nginx [OK]
Configuring php7.3-fpm
Restarting php7.3-fpm [OK]
Tuning MariaDB configuration
Stop : mysql [OK]
Start : mysql [OK]
Running pre-update checks [OK]
Setting up NGINX configuration [Done]
Setting up webroot [Done]
Downloading WordPress [Done]
Setting up database Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/pymysql/connections.py”, line 571, in connect
**kwargs)
File “/usr/lib/python3.5/socket.py”, line 712, in create_connection
raise err
File “/usr/lib/python3.5/socket.py”, line 703, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/bin/wo”, line 8, in
sys.exit(main())
File “/usr/local/lib/python3.5/dist-packages/wo/cli/main.py”, line 102, in main
app.run()
File “/usr/local/lib/python3.5/dist-packages/cement/core/foundation.py”, line 882, in run
return_val = self.controller._dispatch()
File “/usr/local/lib/python3.5/dist-packages/cement/core/controller.py”, line 471, in _dispatch
return func()
File “/usr/local/lib/python3.5/dist-packages/cement/core/controller.py”, line 471, in _dispatch
return func()
File “/usr/local/lib/python3.5/dist-packages/cement/core/controller.py”, line 477, in _dispatch
return func()
File “/usr/local/lib/python3.5/dist-packages/wo/cli/plugins/site_create.py”, line 375, in default
wo_wp_creds = setupwordpress(self, data, vhostonly)
File “/usr/local/lib/python3.5/dist-packages/wo/cli/plugins/site_functions.py”, line 284, in setupwordpress
data = setupdatabase(self, data)
File “/usr/local/lib/python3.5/dist-packages/wo/cli/plugins/site_functions.py”, line 201, in setupdatabase
.format(wo_db_name))
File “/usr/local/lib/python3.5/dist-packages/wo/core/mysql.py”, line 71, in execute
connection = WOMysql.connect(self)
File “/usr/local/lib/python3.5/dist-packages/wo/core/mysql.py”, line 35, in connect
read_default_file=’/etc/mysql/conf.d/my.cnf’)
File “/usr/local/lib/python3.5/dist-packages/pymysql/init.py”, line 94, in Connect
return Connection(*args, **kwargs)
File “/usr/local/lib/python3.5/dist-packages/pymysql/connections.py”, line 327, in init
self.connect()
File “/usr/local/lib/python3.5/dist-packages/pymysql/connections.py”, line 619, in connect
raise exc
pymysql.err.OperationalError: (2003, “Can’t connect to MySQL server on ‘localhost’ ([Errno 111] Connection refused)”)
root@compreerecebaemcasa:~#
DEPOIS deste erro vou no navegador e digito o endereço do site mostra assim:
Welcome to nginx!
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.
For online documentation and support please refer to nginx.org
Please use the reportbug tool to report bugs in the nginx package with Debian. However, check existing bug reports before reporting a new bug.
Thank you for using nginx.
Não entendi pois deveria ser informado o admin e senha do wordpress certo?
não entendi isto aguardo ajuda pra seguir…
grato