![]() | |
#11
| |||
| |||
|
|
On 3/23/2011 7:35 PM, Dr.X wrote: On Wed, 23 Mar 2011 14:26:47 -0400, Jerry Stuckle jstucklex (AT) attglobal (DOT) net> wrote: On 3/23/2011 9:03 AM, PavelVD wrote: we have phpmyadmin for management MySql servers,but I'm talking about the convenience distribution grants to users, review the grants, the simultaneous distribution grants to multiple servers, audit grants, easily add users directly to the few servers and so on. in phpmyadmin no such and unlikely to be because this istrument designed to control at any one time by one server. It's not just PHPMyAdmin - that's the way MySQL works. It isn't set up to do what you want. If you need such things, I suggest you go with a more mature database such as Oracle, SQLServer or DB2. They should meet your needs. Can MySql do replication of databases accross machines? And if so, isn't the users stored in a database? One would think something as simple as user management should be easily done using the servers ability to replicate data accross servers. I could be wrong. Probably am. :-\ I think it really would suck if multiple servers would have to be administered seperately if there were too many of them like his situation (80 servers?) Yikes! Maybe a script that can import users from ldap? -Dr.X Yes, MySQL can do replication, and if you want exactly the same databases and permissions across multiple systems, it can do that. But typically multiple servers have different databases and different permission requirements, so replication will do no good. You're thinking of small companies which might have the same database(s) on multiple systems, all with the same permissions. Such is NOT the case in large enterprise systems. Each system has its own database(s) and it's own access requirement. Replication does not help in such an instance. |
#12
| |||
| |||
|
#13
| |||
| |||
|
|
On 3/23/2011 5:47 PM, Axel Schwenke wrote: Which defeats the purpose of centralized administration, really. Not IMHO |
|
It's very simple, Axel. Storing the information in other areas gives certain people permission to access specific things. For instance - someone who is a member of the "HR" group would have access to specific information in databases such as home address, phone, salary, etc. |
#14
| ||||
| ||||
|
|
Jerry Stuckle<jstucklex (AT) attglobal (DOT) net> wrote: On 3/23/2011 5:47 PM, Axel Schwenke wrote: Which defeats the purpose of centralized administration, really. Not IMHO [full quote snipped] It's very simple, Axel. Storing the information in other areas gives certain people permission to access specific things. For instance - someone who is a member of the "HR" group would have access to specific information in databases such as home address, phone, salary, etc. Bleh. I know all this. Still the question is: if you have a database server that get hundreds of login requests per second - do you really want to transfer GRANT records (that can be from a dozen up to some hundred) from the dictionary to the MySQL server for each single access? In most cases the answer is "No" |
|
But when you accept that, then you can as well have your central repository of GRANTs and roll them out (automated, of course) to the servers as needed. Say if HR moves Mr. Jerry S. from the database group to facility management, they can strip the database permissions from his dictionary entry and hit the magical "Synchronize With World" button. In fact the same would work with passwords. And indeed many companies implement it in a way where the central password dictionary is pushed to edge servers only once a day or so. |
|
I must also say that it is very uncommon to give permissions on the SQL level to physical person accounts. Most database accounts are for whole applications and if persons have different access rights, the application handles those. |
|
I never have seen the need to couple a MySQL database server with the corporate dictionary. Instead we had the GRANT files for our MySQL servers in CVS. And there was a script to automatically push the latest GRANTs to the servers. IIRC we had about 10-20 accounts per server and only one account (on one server) that directly matched a person. XL |
#15
| |||
| |||
|
|
On 3/24/2011 5:13 AM, Axel Schwenke wrote: Still the question is: if you have a database server that get hundreds of login requests per second - do you really want to transfer GRANT records (that can be from a dozen up to some hundred) from the dictionary to the MySQL server for each single access? In most cases the answer is "No" Incorrect. In most large enterprises, the answer is YES. |
|
... indeed many companies implement it in a way where the central password dictionary is pushed to edge servers only once a day or so. That's fine if you have one person or group managing all database servers. That is definitely NOT the case in large companies - It's not at all unusual to have hundreds of servers managed by dozens of groups of people. |
#16
| |||
| |||
|
|
Jerry Stuckle<jstucklex (AT) attglobal (DOT) net> wrote: On 3/24/2011 5:13 AM, Axel Schwenke wrote: Still the question is: if you have a database server that get hundreds of login requests per second - do you really want to transfer GRANT records (that can be from a dozen up to some hundred) from the dictionary to the MySQL server for each single access? In most cases the answer is "No" Incorrect. In most large enterprises, the answer is YES. You talk bullshit. Have you ever seen a productive database? |
|
... indeed many companies implement it in a way where the central password dictionary is pushed to edge servers only once a day or so. That's fine if you have one person or group managing all database servers. That is definitely NOT the case in large companies - It's not at all unusual to have hundreds of servers managed by dozens of groups of people. There is no contradiction here. Having a centralized dictionary for users and permissions that are pushed to edge servers only occasionally (meaning the edge servers have their own local dictionary) limits in no way how many people or groups of people are managing the objects in the dictionary. Again I don't think *you* have ever seen a large company from inside. Sun did it so. Oracle does it so. Change your password today and wait up to 24 hours until it has been pushed to edge systems. XL |
#17
| |||
| |||
|
|
In article<8i0s58-b9n.ln1 (AT) xl (DOT) homelinux.org>, Axel Schwenke<axel.schwenke (AT) gmx (DOT) de> wrote: Jerry Stuckle<jstucklex (AT) attglobal (DOT) net> wrote: On 3/24/2011 5:13 AM, Axel Schwenke wrote: Still the question is: if you have a database server that get hundreds of login requests per second - do you really want to transfer GRANT records (that can be from a dozen up to some hundred) from the dictionary to the MySQL server for each single access? In most cases the answer is "No" Incorrect. In most large enterprises, the answer is YES. You talk bullshit. Have you ever seen a productive database? ... indeed many companies implement it in a way where the central password dictionary is pushed to edge servers only once a day or so. That's fine if you have one person or group managing all database servers. That is definitely NOT the case in large companies - It's not at all unusual to have hundreds of servers managed by dozens of groups of people. There is no contradiction here. Having a centralized dictionary for users and permissions that are pushed to edge servers only occasionally (meaning the edge servers have their own local dictionary) limits in no way how many people or groups of people are managing the objects in the dictionary. Again I don't think *you* have ever seen a large company from inside. Sun did it so. Oracle does it so. Change your password today and wait up to 24 hours until it has been pushed to edge systems. XL I've been 'out of the game' for a while now, but most of the database systems I've seen have been one-offs. They were built for a specific application and ran that application with a set of users and grants for those users. In contrast, the computing environment these systems ran on had LDAP for single sign-on. I'm still trying to think of a production environment that would have multiple database systems (e.g. instances of MySQL) running on multiple machines that all shared the same set of users. I'm having trouble picturing it. Obviously, the OP has a case for this but I think it's far from the norm. For now, the MySQL world doesn't distribute grants and only allows for user/password through LDAP. So the OP is stuck administering multiple machines or writing their own tool. |
#18
| |||
| |||
|
|
I've been 'out of the game' for a while now, but most of the database systems I've seen have been one-offs. They were built for a specific application and ran that application with a set of users and grants for those users. In contrast, the computing environment these systems ran on had LDAP for single sign-on. |
![]() |
| Thread Tools | |
| Display Modes | |
| |