Konstantin Adzer
Konstantin Adzer
Yes [root@russiaws ~]# service mysqld status Redirecting to /bin/systemctl status mysqld.service ● mysqld.service - MySQL 8.0 database server Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled) Active: active (running) since Fri...
``` [root@russiaws ~]# ss -lntp State Recv-Q Send-Q Local Address:Port Peer Address:Port Process LISTEN 0 128 0.0.0.0:53 0.0.0.0:* users:(("pdns_server",pid=8962,fd=6)) LISTEN 0 128 0.0.0.0:22 0.0.0.0:* users:(("sshd",pid=1489,fd=3)) LISTEN 0 20000 0.0.0.0:3000 0.0.0.0:*...
mb I should run any install DB?
> I know about remote, this is for test not work. Same error
I have about 200 DB with users localhost/127.0.0.1 without problems why I ask - sqlite long answer when 50k+ records and i cant do anything sometimes I need to use...
`mysql> SHOW DATABASES crowdsec%; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to...
``` mysql> SHOW DATABASES WHERE `Database` LIKE '%crowdsec%'; +----------+ | Database | +----------+ | crowdsec | +----------+ 1 row in set (0.00 sec) ``` Yes I made them manually
2-nd time run ``` mysql> CREATE USER 'crowdsec'@'%' IDENTIFIED BY 'crowdsec'; ERROR 1396 (HY000): Operation CREATE USER failed for 'crowdsec'@'%' mysql> GRANT ALL PRIVILEGES ON crowdsec.* TO 'crowdsec'@'%'; Query OK,...
I remove all and make from 0 Config ``` db_config: log_level: info type: mysql #db_path: /var/lib/crowdsec/data/crowdsec.db max_open_conns: 100 user: crowdsec password: crowdsec db_name: crowdsec host: 127.0.0.1 port: 3310 flush: max_items:...
``` time="31-07-2022 13:51:15" level=info msg="Crowdsec v1.4.1-el8-rpm-linux-e1954adc325baa9e3420c324caabd50b7074dd77" time="31-07-2022 13:51:15" level=fatal msg="unable to create database client: failed creating schema resources: dial tcp 127.0.0.1:3310: connect: connection refused" ``` As I say, this type...