LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-14-2008, 05:53 PM   #1
tnrooster
Member
 
Registered: Apr 2007
Location: bell buckle tn
Distribution: F13-F14
Posts: 88

Rep: Reputation: 15
mySQL administrator not connecting


Trying to run mySQL Adminstrator on my machine.

I keep getting a connect error

Quote:
Could not connect to host '192.168.0.40'.
MySQL Error Nr. 1045
Access denied for user 'root'@'192.168.0.162' (using password: YES)

Click the 'Ping' button to see if there is a networking problem.



It pings fine.

Not a connection problem. I'm using the same computer to admin the server where the database is installed. Just cant remote admin the mysql, have to vnc into server and run admin services from there.


I have the IP of the connecting computer listed in "root" in the user setup.
 
Old 07-14-2008, 09:03 PM   #2
williebens
Member
 
Registered: Jan 2008
Posts: 88

Rep: Reputation: 16
Hello tnrooster:

You need to create a mysql account on the box running the msyql server. Log into the mysql server, and do it:

mysql>grant all on name_of_db.* to root@'192.168.0.162' identified by 'password';

Then try connecting.
This should work.

Thanks.
--Willie
 
Old 07-15-2008, 07:52 AM   #3
tnrooster
Member
 
Registered: Apr 2007
Location: bell buckle tn
Distribution: F13-F14
Posts: 88

Original Poster
Rep: Reputation: 15
I did that with mysqladmin on the installed machine under root, I assigned another host-192.168.0.162-.

For what ever reason it connects remotely with no password. With password it fails.

On the installed machine it requires the root password to connect as root.
 
Old 07-15-2008, 10:24 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by tnrooster View Post
I did that with mysqladmin on the installed machine under root, I assigned another host-192.168.0.162-.

For what ever reason it connects remotely with no password. With password it fails.

On the installed machine it requires the root password to connect as root.
Did you set it up with a password like described? Look in the users table and do you see an encrypted password for the root user at the specified host?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql-administrator grabro Linux - Desktop 1 08-25-2006 05:30 AM
mysql-administrator outshined Linux - Software 0 06-14-2006 02:17 PM
mysql administrator Joe_Zhu Linux - Software 5 06-22-2005 04:55 AM
Restoring MySQL backups with mysql-administrator pnellesen Programming 0 04-25-2005 09:53 AM
How access MySQL by MySQL Administrator? treotan Linux - Newbie 5 12-04-2004 10:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration