mariovaldez.net

MV.net forums
It is currently 14 Jul 2016, 00:52

All times are UTC - 7 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: But problems....
PostPosted: 07 Jan 2005, 08:42 
On the face of it, this looks like a fantastic product. Its just a pity that I cant test it!

I know that my host does not allow remote connections to my database, so following your documentation, I decided to try the SSH tunneling approach. I confirm that I am able to connect via SSH with no problems.

However, when trying to connect to the database, I get the following error message:

SQL error : Localhost.localdomain is not allowed to connect to this mysql server

Thanks for any help that you can provide


Report this post
Top
  
Reply with quote  
 Post subject: localhost.localdomain...
PostPosted: 09 Jan 2005, 03:17 
User avatar

Joined: 06 Mar 2003, 03:21
Posts: 447
Location: Monterrey, NL, Mexico
Great:

> ...I decided to try the SSH tunneling approach.
> I confirm that I am able to connect via SSH with
> no problems. However, when trying to connect
> to the database, I get the following error message:
> SQL error : Localhost.localdomain is not allowed
> to connect to this mysql server

Hi. It seems MySQL thinks your connection is being made from localhost.localdomain and not from localhost. This usually means that in /etc/hosts there is an entry from 127.0.0.1 to localhost.localdomain. (I've heard RedHat has something like that in some version, but I don't know for sure).

If this is your server (or a colocated server under your control), just add an entry for your MySQL user allowing to connect from localhost.localdomain. If this is not your server (or it is not under your control), ask the administrator.



Regards,

Mario A. Valdez-Ramirez.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group