MySQL Forums
Forum List  »  Newbie

Error connectiong database
Posted by: Nikita Obuhov
Date: December 08, 2023 07:30AM

Establishing connection to local database gives error "connection failed".
I am trying to connect from the same PC using my LAN address, but this wont work (peoples from the same LAN cant connect to my database either). I tried to change /etc/mysql/mysql.conf.d/mysqld.cnf bind-ip to 0.0.0.0 and this doesn't work for me.

netstat -an | grep 3306
tcp 0 0 127.0.0.1:33060 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN

System: ubuntu linux 22.04.3 LTS.

Please help solve this plob. If i didn't mentioned smth, please forgive and remind me.

Options: ReplyQuote


Subject
Written By
Posted
Error connectiong database
December 08, 2023 07:30AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.