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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-03-2004, 06:39 AM
|
#1
|
Member
Registered: Jun 2004
Posts: 126
Rep:
|
How access MySQL by MySQL Administrator?
I installed MySQL-server 4.1.7(.rpm) to my Fedoral machine; and installed MySQL Administrator to my windows 2000, then I connect the MySQL by MySQL Administrator; But it failed to login.
Username: root
Password: mypw
Hostname: 192.168.1.4
Port: 3306
Why it was failed?
|
|
|
12-03-2004, 06:52 AM
|
#2
|
LQ Newbie
Registered: Oct 2004
Location: Odessa, TX
Distribution: Slackware 10.0, Debian 3.0, FC2, and various Live CD's
Posts: 20
Rep:
|
tretan,
Are you sure that 192.168.4.1 is the actual host? Sounds like a gateway address to me... But then, I could be wrong...
Double check the hosts IP address, or even try a hostname, if you've a DNS setup...
-Wiski
|
|
|
12-03-2004, 10:05 AM
|
#3
|
Member
Registered: Jun 2004
Posts: 126
Original Poster
Rep:
|
Yes I sure that the hostname is correct; I tried access by IP / domain name, it still failed! Anything I need config the mysql server first?
|
|
|
12-03-2004, 10:10 AM
|
#4
|
Member
Registered: Jan 2003
Location: Grand Rapids, Michigan, USA
Distribution: Kubuntu
Posts: 71
Rep:
|
Check in the my.cnf and see if skip-networking is not commented out. MySQL by default in the 4.x.x series, if I recall corectly does not allow network access by default. Change the my.cnf and then restart your mysql server.
Let me know if this works
|
|
|
12-03-2004, 10:52 AM
|
#5
|
Member
Registered: Jun 2004
Posts: 126
Original Poster
Rep:
|
I tried to active(skin-networking) and de-active (#skin-networking) the skip-networking as my.cnf; It still cannot be login sucessful. Anything I can try?
Thks
|
|
|
12-04-2004, 11:17 PM
|
#6
|
LQ Newbie
Registered: Nov 2003
Location: Valencia, Spain
Distribution: RedHat 9
Posts: 2
Rep:
|
MySQL doesn't use UNIX users/groups for it's privileges. By default (IIRC), only root can access from the localhost (no password needed). After that you can set up finely grained access rights: (user name, host) -> (global, db, and table rights). Check the MySQL manual for more details.
|
|
|
All times are GMT -5. The time now is 04:45 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
|
|