Answer the question
In order to leave comments, you need to log in
How to open port 3306, debian 10?
1. Installed MySQL server
2. Added
[mysqld]
bind-address = 0.0.0.0
3. Added a rule to iptables
iptables -A INPUT -p tcp --dport 3306 -j ACCEPT
4. Created a user:
CREATE USER 'user0'@'%' IDENTIFIED BY '0000';
GRANT ALL PRIVILEGES ON * . * TO 'user0'@'%' ;
FLUSH PRIVILEGES;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question