Hi everyone,
I've been trying to connect to a mysql database on my local network using the following command:
sudo mysql -u username -p password -h hostIPaddress
I get this return:
sudo: mysql : commande introuvable
which translates into command not found.
My installed version of kali:
Debian 5.10.46-4kali1 (2021-08-09) x86_64 GNU/Linux
Starting the mysql service seems to go fine using:
service mysql start
But when I check using:
service mysql status
This is what I get:
● mysql.service - LSB: Start and stop the mysql database server daemon
Loaded: loaded (/etc/init.d/mysql; generated)
Active: active (exited) since Fri 2021-09-10 19:03:18 CEST; 4s ago
Docs: man:systemd-sysv-generator(8)
Process: 7488 ExecStart=/etc/init.d/mysql start (code=exited, status=0/SUCCESS)
CPU: 6ms
The active (exited) mention doesn't seem right.
Any ideas what is going wrong ?
Thanks in advance.