Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am trying to connect and administrate a mysql database through various programs (mySQL administrator, emma, mySQL navigator) but i keep having this message "Could not connect to host "host name".
MySQL Error Nr. 1045
Access denied for user 'username@'vfppp079167045089.dsl.hol.gr' (using password: YES)
Click the 'Ping' button to see if there is a networking problem.
Now if I ping, the server is responding. By the way the port is 3306 but I' ve tried some other ports without any luck.
Could anybody help in any way. Thanks
Ok. I get it. BUT my stupid router hasn't got a port forwarding function. It only has a "FIREWALL RULES" with some predefined values (nothing about port 3306). The closest is the SQL-NET(TCP:1521) and another witch says ANY/ALL(TCP/UDP:1-65535). I checked the "allow" button next to them but still no luck!!!
It has only some predefined values (nothing about port 3306). the closest that i can find is: ANY/ALL(TCP/UDP:1-65535).this is already turned on but still no luck
Is that a rule for port blocking/allowing or port forwarding? i.e. does it ask you for a local address? Have you tried plugging your MYSQL server straight into the Internet rather than going through your router? (this way you could eliminate other possibilities).
You might want to look for another router if you cannot find these settings. Or check into if a third party firmware like OpenWRT or DD-WRT support your router.
1. can you telnet to your box on 3306, firstly on localhost?
you should see something like this:
[09:59][root@server]/home # telnet localhost 3306
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
4
5.0.37@/kP0:tYB,}o5X;]CwPg8
2. what kind of a router/router version have you got? Normally if you've got those default values, there's an option to setup custom firewall/port rules where you select the port number, you name it whatever you like etc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.