RICHARDH
asked on
Connecting to Port 3306
I have MySQL setup on a FreeBSD system but cannot connect remotely to the MySQL server. It was suggested that I try to Telnet to port 3306 to see if there was any response, but doing this does not give a connection.
Any ideas where I can look to solve this problem.
Thanks in advance for any help
Richard.H
Any ideas where I can look to solve this problem.
Thanks in advance for any help
Richard.H
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This is unsafe, so read TFM to find out all insecurity you want to open...
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
After all, you missed the MySQL security.
On the mysql server type the following :-
mysql -u root
use mysql;
insert into user (host, user, passwd, Select_priv , Insert_priv, Update_priv, Delete_priv, Create_priv, Drop_priv) values ('ip', 'user', password('passwd'), 'Y', 'Y', 'Y', 'Y', 'Y', 'Y');
quit
Replace the 'user' with the user name 'passwd' with the password of the user, 'ip', with the ip address of the client pc which need to connect to mysql and 'Y' to 'N' when appropriate for each of the rights that you allow the client to do.
On the mysql server type the following :-
mysql -u root
use mysql;
insert into user (host, user, passwd, Select_priv , Insert_priv, Update_priv, Delete_priv, Create_priv, Drop_priv) values ('ip', 'user', password('passwd'), 'Y', 'Y', 'Y', 'Y', 'Y', 'Y');
quit
Replace the 'user' with the user name 'passwd' with the password of the user, 'ip', with the ip address of the client pc which need to connect to mysql and 'Y' to 'N' when appropriate for each of the rights that you allow the client to do.
ASKER
How can I test if I have opened mysqld in Secure Mode. And if I have how can I make the change.
Thanks