LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 06-15-2006, 01:29 AM   #1
icedude
Member
 
Registered: Nov 2004
Location: South Africa
Posts: 43
Blog Entries: 1

Rep: Reputation: 15
Unhappy mysql


Hi.

I'm trying to get mythtv to work on my rhel4 machine. I think its sort of working. My problem i have is with mysql. I cant connect to mysql from a client machine to my server. It gives me this error:
#HY000Host 'bite.example.com' is not allowed to connect to this MySQL server. (This is from Windows)

When i connect from a linux machine it ask me for my password and then says the same:
ERROR 1130 (00000): #HY000Host 'bite.example.com' is not allowed to connect to this MySQL server

Is there an security issue, or do i have to add something. I dont have a lot of knoledge about MySQL yet but i'm trying.

Could someone help me please?
 
Old 06-15-2006, 07:58 PM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
It looks like a security issue to me?

connect to mysql locally:
Code:
mysql -u root -p
enter the mysql root password.
If you don't have a password at all omit the -p
then type:
Code:
use mysql
Code:
select user,host from user;
Are there any users allowed to connect from another host?
If not you probably have to create a new user and give correct permissions
 
Old 06-15-2006, 09:44 PM   #3
boredandblogging
Member
 
Registered: Jun 2006
Posts: 62

Rep: Reputation: 15
more than like the host column in the user table says only localhost.
 
  


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
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. NoviceW Linux - Networking 17 09-17-2014 02:13 PM
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock welery Linux - Software 19 03-06-2014 07:19 AM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 01:52 AM
Problems with MySQL on SuSE: Can't Connect (/var/lib/mysql/mysql.sock) neocookie Linux - Software 8 02-07-2008 11:48 PM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 12:48 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