I'm a newbie in mysql and I've a question about user definition in
Mysql.
According to informations collected from manuals I believed that a
user definition specifying host="%" on mysql server 'A' granted me
connection from whatever client (with command "mysql -hA -uuser -p");
but executing that command from server, to say, 'B', mysql denies
access to user@B. The matter can be solved defining a new user with
host B (it's to say user@B), but, in that case what's the meaning of a
generic user@%?
Thanks
Andrea Paventi 6 4992
Lord Asriel wrote: I'm a newbie in mysql and I've a question about user definition in Mysql. According to informations collected from manuals I believed that a user definition specifying host="%" on mysql server 'A' granted me connection from whatever client (with command "mysql -hA -uuser -p"); but executing that command from server, to say, 'B', mysql denies access to user@B. The matter can be solved defining a new user with host B (it's to say user@B), but, in that case what's the meaning of a generic user@%?
I've been bothered by the same behavior even though http://www.mysql.com/doc/en/GRANT.html seems to imply that it is doable:
In order to accommodate granting rights to users from arbitrary
hosts, MySQL supports specifying the |user_name| value in the form
|user@host|. If you want to specify a |user| string containing
special characters (such as `-'), or a |host| string containing
special characters or wildcard characters (such as `%'), you can
quote the user or host name (for example,
|'test-user'@'test-hostname'|).
You can specify wildcards in the hostname. For example,
|user@'%.loc.go v'| applies to |user| for any host in the |loc.gov|
domain, and |user@'144.155. 166.%'| applies to |user| for any host in
the |144.155.166| class C subnet.
The simple form |user| is a synonym for |user@"%"|.
Don't know why it doesn't work for you and me.
--
I have seen the truth and it makes no sense.
Lord Asriel wrote: I'm a newbie in mysql and I've a question about user definition in Mysql. According to informations collected from manuals I believed that a user definition specifying host="%" on mysql server 'A' granted me connection from whatever client (with command "mysql -hA -uuser -p"); but executing that command from server, to say, 'B', mysql denies access to user@B. The matter can be solved defining a new user with host B (it's to say user@B), but, in that case what's the meaning of a generic user@%?
I've been bothered by the same behavior even though http://www.mysql.com/doc/en/GRANT.html seems to imply that it is doable:
In order to accommodate granting rights to users from arbitrary
hosts, MySQL supports specifying the |user_name| value in the form
|user@host|. If you want to specify a |user| string containing
special characters (such as `-'), or a |host| string containing
special characters or wildcard characters (such as `%'), you can
quote the user or host name (for example,
|'test-user'@'test-hostname'|).
You can specify wildcards in the hostname. For example,
|user@'%.loc.go v'| applies to |user| for any host in the |loc.gov|
domain, and |user@'144.155. 166.%'| applies to |user| for any host in
the |144.155.166| class C subnet.
The simple form |user| is a synonym for |user@"%"|.
Don't know why it doesn't work for you and me.
--
I have seen the truth and it makes no sense.
Lord Asriel wrote: I'm a newbie in mysql and I've a question about user definition in Mysql. According to informations collected from manuals I believed that a user definition specifying host="%" on mysql server 'A' granted me connection from whatever client (with command "mysql -hA -uuser -p"); but executing that command from server, to say, 'B', mysql denies access to user@B. The matter can be solved defining a new user with host B (it's to say user@B), but, in that case what's the meaning of a generic user@%?
I've been bothered by the same behavior even though http://www.mysql.com/doc/en/GRANT.html seems to imply that it is doable:
In order to accommodate granting rights to users from arbitrary
hosts, MySQL supports specifying the |user_name| value in the form
|user@host|. If you want to specify a |user| string containing
special characters (such as `-'), or a |host| string containing
special characters or wildcard characters (such as `%'), you can
quote the user or host name (for example,
|'test-user'@'test-hostname'|).
You can specify wildcards in the hostname. For example,
|user@'%.loc.go v'| applies to |user| for any host in the |loc.gov|
domain, and |user@'144.155. 166.%'| applies to |user| for any host in
the |144.155.166| class C subnet.
The simple form |user| is a synonym for |user@"%"|.
Don't know why it doesn't work for you and me.
--
I have seen the truth and it makes no sense.
> I've been bothered by the same behavior even though http://www.mysql.com/doc/en/GRANT.html seems to imply that it is doable:
In order to accommodate granting rights to users from arbitrary hosts, MySQL supports specifying the |user_name| value in the form |user@host|. If you want to specify a |user| string containing special characters (such as `-'), or a |host| string containing special characters or wildcard characters (such as `%'), you can quote the user or host name (for example, |'test-user'@'test-hostname'|).
You can specify wildcards in the hostname. For example, |user@'%.loc.go v'| applies to |user| for any host in the |loc.gov| domain, and |user@'144.155. 166.%'| applies to |user| for any host in the |144.155.166| class C subnet.
The simple form |user| is a synonym for |user@"%"|.
Don't know why it doesn't work for you and me.
Thanks for your answer even though it doesn't solve the problem it
gives me a hint: I'm going to try defining a "user@%.mydomai n.it";
let's see if it works
Andrea Paventi
> I've been bothered by the same behavior even though http://www.mysql.com/doc/en/GRANT.html seems to imply that it is doable:
In order to accommodate granting rights to users from arbitrary hosts, MySQL supports specifying the |user_name| value in the form |user@host|. If you want to specify a |user| string containing special characters (such as `-'), or a |host| string containing special characters or wildcard characters (such as `%'), you can quote the user or host name (for example, |'test-user'@'test-hostname'|).
You can specify wildcards in the hostname. For example, |user@'%.loc.go v'| applies to |user| for any host in the |loc.gov| domain, and |user@'144.155. 166.%'| applies to |user| for any host in the |144.155.166| class C subnet.
The simple form |user| is a synonym for |user@"%"|.
Don't know why it doesn't work for you and me.
Thanks for your answer even though it doesn't solve the problem it
gives me a hint: I'm going to try defining a "user@%.mydomai n.it";
let's see if it works
Andrea Paventi
> I've been bothered by the same behavior even though http://www.mysql.com/doc/en/GRANT.html seems to imply that it is doable:
In order to accommodate granting rights to users from arbitrary hosts, MySQL supports specifying the |user_name| value in the form |user@host|. If you want to specify a |user| string containing special characters (such as `-'), or a |host| string containing special characters or wildcard characters (such as `%'), you can quote the user or host name (for example, |'test-user'@'test-hostname'|).
You can specify wildcards in the hostname. For example, |user@'%.loc.go v'| applies to |user| for any host in the |loc.gov| domain, and |user@'144.155. 166.%'| applies to |user| for any host in the |144.155.166| class C subnet.
The simple form |user| is a synonym for |user@"%"|.
Don't know why it doesn't work for you and me.
Thanks for your answer even though it doesn't solve the problem it
gives me a hint: I'm going to try defining a "user@%.mydomai n.it";
let's see if it works
Andrea Paventi This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: John R |
last post by:
I found this old thread while looking for some type of compression
solution myself. Long story short, I contacted Lester and ended up
writing an LZO solution just as Mark had mentioned below. Thought this
could also benifit someone out there so I'm reposting. Here's a link
to the source code:
http://www.servangle.net/udf_lzo/
BTW, Lester got his zlib implementation working as well. Hopefully
these will both be posted on MySQL website...
|
by: David |
last post by:
Hi,
I have a quick question.
I have a .asp application in which certain parts, clients can now
edit/update/add information to their records in our DB.
I basically use an include statement at the top of each page. The
include .asp page has my connection data within .asp tags. The general
'user' to which the connection belongs only has 'select' facilities
within the db.
|
by: Sai Hertz And Control Systems |
last post by:
Dear all,
Their was a huge rore about MySQL recently for something in java functions
now theirs one more
http://www.mysql.com/doc/en/News-5.0.x.html
Does this concern anyone.
What I think is PostgreSQL would have less USP's (Uniqe Selling Points
|
by: AnhTai |
last post by:
Hi all,
I've just installed MySQL 5.0 on my sun box (runing Solaris 10, install
from blastwave). This is my first time with MySQL so I don't have any
exp with it.
I have some troubles as:
- I set password for root account via this command:
# mysql -h atlantis -u root mysql
|
by: Atli |
last post by:
This is an easy to digest 12 step guide on basics of using MySQL. It's a great refresher for those who need it and it work's great for first time MySQL users.
Anyone should be able to get through this without much trouble. Programming knowledge is not required.
Index
What is SQL?
Why MySQL?
Installing MySQL.
Using the MySQL command line interface
| |
by: JamieHowarth0 |
last post by:
I have been trying to find a solution to this on the Internet for months. Literally, ages and ages and ages, praying that someone in the open-source community has enough knowledge to put together an LDAP connector for MySQL Community to connect to Active Directory. Alas, nothing. So I figured I'd try doing something similar.
My business problem is/was as follows:
I use Active Directory on Windows Server 2003 to manage my small corporate...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
| |
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |