Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-26-2008, 06:44 PM
|
#1
|
|
LQ Newbie
Registered: Feb 2008
Posts: 8
Rep:
|
MySQL connection problem
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
|
|
|
|
09-26-2008, 07:04 PM
|
#2
|
|
Member
Registered: Feb 2005
Distribution: Gentoo 2008
Posts: 138
Rep:
|
Have you set up port forwarding?
|
|
|
|
09-26-2008, 07:09 PM
|
#3
|
|
LQ Newbie
Registered: Feb 2008
Posts: 8
Original Poster
Rep:
|
Port forwarding in the wireless router you mean?
|
|
|
|
09-27-2008, 03:55 AM
|
#4
|
|
Member
Registered: Feb 2005
Distribution: Gentoo 2008
Posts: 138
Rep:
|
Yeah, if you're trying to access outside the router then you have to forward port 3306.
|
|
|
|
09-27-2008, 05:44 AM
|
#5
|
|
LQ Newbie
Registered: Feb 2008
Posts: 8
Original Poster
Rep:
|
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!!!
|
|
|
|
09-27-2008, 06:30 AM
|
#6
|
|
Member
Registered: Feb 2005
Distribution: Gentoo 2008
Posts: 138
Rep:
|
Which router do you have?
|
|
|
|
09-27-2008, 10:45 AM
|
#7
|
|
LQ Newbie
Registered: Feb 2008
Posts: 8
Original Poster
Rep:
|
Level1 Wbr-3460a
|
|
|
|
09-27-2008, 11:48 AM
|
#8
|
|
Member
Registered: Feb 2005
Distribution: Gentoo 2008
Posts: 138
Rep:
|
Is there no way of setting custom rules or do you have to choose from the list?
|
|
|
|
09-28-2008, 10:55 AM
|
#9
|
|
LQ Newbie
Registered: Feb 2008
Posts: 8
Original Poster
Rep:
|
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
|
|
|
|
09-28-2008, 11:08 AM
|
#10
|
|
Member
Registered: Feb 2005
Distribution: Gentoo 2008
Posts: 138
Rep:
|
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).
|
|
|
|
09-28-2008, 08:45 PM
|
#11
|
|
Member
Registered: Sep 2008
Posts: 39
Rep:
|
Look for a setting called NAT maybe.
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.
Last edited by Tinkster; 10-30-2010 at 03:53 PM.
|
|
|
|
09-30-2008, 02:36 AM
|
#12
|
|
LQ Newbie
Registered: Sep 2007
Location: Stellenbosch, South Africa
Distribution: Ubuntu 12.10 at home, Mac OS X on laptop
Posts: 20
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:41 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|