Mysql connection issues

ex0n

New Member
Joined
Feb 15, 2024
Messages
4
Reaction score
0
Credits
28
Hello, I am a novice linux user and using Parrot OS. I wanted to run a nodejs project with mysql connections but I got an error like below, how can I solve it?

1708017134426.png
 


It can't connect to the mysql port, check if mysql is running.
 
It can't connect to the mysql port, check if mysql is running.


I ran the following command:

sudo systemctl status mysql


The result I got:

Loaded: loaded (/lib/systemd/system/mariadb.service; disabled; preset: disabled)
Active: active (running) since Thu 2024-02-15 13:49:53 +03; 6h ago

it looks ok?
 
Share the mysql configuration for your application, what do you have defined to connect to mysql?
 
And what does your mysql config look like?
 
Share the output of the following?
Code:
cat /etc/my.cnf
 

Members online

No members online now.

Latest posts

Top