impossible to establish a connection
I installed percona server in my ubuntu 18.04
The status is active:
root @ ubuntu1804lts: ~ # sudo service mysql status
● mysql.service - Percona Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2019-05-27 05:13:08 UTC; 12min needle
Process: 936 ExecStartPre = / usr / share / mysql / mysql-systemd-start pre (code = exited, status = 0 / SUCCESS)
Main PID: 1071 (mysqld)
Status: “SERVER_OPERATING”
Tasks: 39 (limit: 1004)
CGroup: /system.slice/mysql.service
└─1071 / usr / sbin / mysqld
May 27 05:13:01 ubuntu1804lts systemd [1]: Starting Percona Server …
May 27 05:13:08 ubuntu1804lts systemd [1]: Started Percona Server.
Unfortunately, installing wordpress, I can’t connect to the database
root@ubuntu1804lts:~# ps aux | grep mysql
mysql 1071 0.7 19.4 1374336 394372 ? Ssl 05:13 0:06 /usr/sbin/mysqld
root 1724 0.0 0.0 13136 996 pts/0 S+ 05:26 0:00 grep --color=auto mysql
root@ubuntu1804lts:~# netstat -lntu
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN
tcp6 0 0 :::33060 :::* LISTEN
tcp6 0 0 :::3306 :::* LISTEN
tcp6 0 0 :::80 :::* LISTEN
tcp6 0 0 :::22966 :::* LISTEN
udp 0 0 127.0.0.53:53 0.0.0.0:*
Thank you