Hello.


You should grant access for user 'your_user'@'alias'. See:



  http://dev.mysql.com/doc/mysql/en/privilege-system.html







James Black <[EMAIL PROTECTED]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----

> Hash: SHA1

> 

> My mysql server is running on mysql.xxx.edu, for this example.

> 

> There is a cname so that alias.xxx.edu is mapped to mysql.xxx.edu, so

> that we can failover to a different server by changing the cname.

> 

> When I type:

> mysql -h alias.xxx.edu -pPassword -u username mydatabase

> 

> I get:

> ERROR 1130 (00000): #HY00Host 'alias' is not allowed to connect to this

> MySQL server

> 

> But, when I am on my development machine, and I use the exact same

> command, it works.

> 

> Why would it fail when I am on the computer that the server is actually

> running on?

> 

> Thanx for any suggestions.

> 

> We are using Solaris 9, and mysql 4.1.xx

> 

> - --

> "Love is mutual self-giving that ends in self-recovery." Fulton Sheen

> James Black    [EMAIL PROTECTED]

> -----BEGIN PGP SIGNATURE-----

> Version: GnuPG v1.4.1 (MingW32)

> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

> 

> iD8DBQFCY85NikQgpVn8xrARAod6AKCGlDmqIYxHsuyEnwqX50IlW1tIKQCeKkIt

> fuq5O7az9vUS6vh5hqSKX/s=

> =yg44

> -----END PGP SIGNATURE-----

> 



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
       <___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to