When running sudo ./IDSTower --init-database
I get an error with the following message:
2022-11-13 21:08:40.937 [Error] An error occurred using the connection to database '""' on server '"localhost"'. [IDSTower] Can't connect to database, please make sure that your database service is running properly and database settings in appsettings.json are correct. Access denied for user 'root'@'localhost'
mysql service is running. I followed the instruction found here: https://idstower.com/docs/installation/install_ubuntu20.html
Here is part of my appsettings.json file:
"Database": {
//MySQL Database host FQDN/IP Address
"Host": "localhost",
//MySQL Database port
"Port": 3306,
//Database Name
"Name": "IDSTower",
//Database User
"Username": "root",
//Database Password
"Password": "****************"
}
`
Trying to install IDSTower with Suricata on the same machine. Expecting it to not fail.