RE: [SPAM] - discuss: user management - Bayesian Filter detected spam

2005-06-14 Thread Kevin Struckhoff
Danny,
 
Although my experience with MySQL user management is limited to just
maintaining a handful of users, I find it rather overly-complex because
of the need to maintain a table of users and 'from where' they can have
access, and to what databases they can have access to. For example, I
just installed MySQL Administrator on my laptop and then I had to add
rows allowing me to access MySQL from my laptop. The ODBC connection
setup should suffice. For every instance of MySQL, you have to have an
entry in the user table for every user from every access point. Then
multiply that by the number of databases in each instance and you can
see that administration of the users can get out of hand. 
 
If I had to choose between the 3 methods listed below, I would choose #2
if there was a large number of roles and users. I would definitely stay
away from option #3 no matter what. HTH.
 
Kevin Struckhoff 
Customer Analytics Mgr.
NewRoads West
 
Office 818.253.3819 Fax 818.834.8843
[EMAIL PROTECTED]
 
 
-Original Message-
From: Danny Stolle [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 14, 2005 10:08 AM
To: mysql@lists.mysql.com
Subject: [SPAM] - discuss: user management - Bayesian Filter detected
spam
 
hi,
 
i would like to discuss 'user management' in mysql. Working with Oracle 
you can assign users to roles giving them privileges provided by that 
role. MySql doesn't have Roles. I have read (Managing and Using MySql, 
O'Reilly) 3 options on managing users having multiple roles in a MySql 
environment:
1. Giving the user a Single user ID and assign the privileges to that 
user ID
2. Create role-bases users and have different people share the same user

ID for a given role.
3. Create multiple user IDs for each role played by each user 
(dannys_arch as an architect, dannys_dev as a developer).
 
Which of these 3 options is the most preferable one or are there more 
options which you can use. What are the advantages and disadvantages on 
working with one of these 3 options? how do you handle hostnames when 
working with random ip-addresses on your site.
 
Or just plain simple (or stupid) what are your experiences on user 
management in a MySql environment.
 
Best regards,
 
Danny Stolle
Netherlands
 
-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]
 


RE: discuss: user management

2005-06-14 Thread Kevin Struckhoff
Danny,

I would stay away from option 3 for exactly the example you provided.
You have 1 user with 2 roles. What if you had 30 users with 2 roles? I
would choose option 2 because I would only have to maintain 2 users in
MySQL, not 60 as you would in option 3. For option 1, you would have 30
users, but then you would to give them the 'most permissible' privileges
of the 2 roles.

What I don't know is why you need to have roles in the first place. Do
you have a large number of users and a large number of roles?

Kevin Struckhoff 
Customer Analytics Mgr.
NewRoads West

Office 818.253.3819 Fax 818.834.8843
[EMAIL PROTECTED]


-Original Message-
From: Danny Stolle [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 14, 2005 11:12 AM
To: [EMAIL PROTECTED]; mysql@lists.mysql.com
Subject: Re: discuss: user management

Hi Kevin,

yes it is a complex matter, i agree completely. but how would you plan 
this as a dba or the person involved on administrating MySql. For 
instance: You would choose option 2 as the preferable one. But what 
would you do if somebody would change its role or that the person would 
get other privileges? he will get a new or already created role userID, 
but would still be able to logon using the previous user id.

why wouldn't you choose for the 3th option or 1st option? what 
disadvantages do you think would option 1 and 3 have?

Best regards,

Danny Stolle
EmoeSoft, Netherlands



Kevin Struckhoff wrote:
 Danny,
  
 Although my experience with MySQL user management is limited to just
 maintaining a handful of users, I find it rather overly-complex
because
 of the need to maintain a table of users and 'from where' they can
have
 access, and to what databases they can have access to. For example, I
 just installed MySQL Administrator on my laptop and then I had to add
 rows allowing me to access MySQL from my laptop. The ODBC connection
 setup should suffice. For every instance of MySQL, you have to have an
 entry in the user table for every user from every access point. Then
 multiply that by the number of databases in each instance and you can
 see that administration of the users can get out of hand. 
  
 If I had to choose between the 3 methods listed below, I would choose
#2
 if there was a large number of roles and users. I would definitely
stay
 away from option #3 no matter what. HTH.
  
 Kevin Struckhoff 
 Customer Analytics Mgr.
 NewRoads West
  
 Office 818.253.3819 Fax 818.834.8843
 [EMAIL PROTECTED]
  
  
 -Original Message-
 From: Danny Stolle [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, June 14, 2005 10:08 AM
 To: mysql@lists.mysql.com
 Subject: [SPAM] - discuss: user management - Bayesian Filter detected
 spam
  
 hi,
  
 i would like to discuss 'user management' in mysql. Working with
Oracle 
 you can assign users to roles giving them privileges provided by that 
 role. MySql doesn't have Roles. I have read (Managing and Using MySql,

 O'Reilly) 3 options on managing users having multiple roles in a MySql

 environment:
 1. Giving the user a Single user ID and assign the privileges to that 
 user ID
 2. Create role-bases users and have different people share the same
user
 
 ID for a given role.
 3. Create multiple user IDs for each role played by each user 
 (dannys_arch as an architect, dannys_dev as a developer).
  
 Which of these 3 options is the most preferable one or are there more 
 options which you can use. What are the advantages and disadvantages
on 
 working with one of these 3 options? how do you handle hostnames when 
 working with random ip-addresses on your site.
  
 Or just plain simple (or stupid) what are your experiences on user 
 management in a MySql environment.
  
 Best regards,
  
 Danny Stolle
 Netherlands
  




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



RE: [SPAM] - Unable to install mysql - Bayesian Filter detected spam

2005-06-13 Thread Kevin Struckhoff
Yannick,

MySQL is very picky in how it handles security, or at least different.
It has an extra layer of complexity, compared to say, the Informix
RDBMS, which uses the OS user/password and grant statements. With that
being said, have you run the post-install steps to add users to the
mysql database grant tables user  db? Refer to section 2.9 of the MySQL
Reference Manual, especially section 2.9.3. Good Luck.

Kevin Struckhoff 
Customer Analytics Mgr.
NewRoads West

Office 818.253.3819 Fax 818.834.8843
[EMAIL PROTECTED]

-Original Message-
From: Yannick [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 13, 2005 11:42 AM
To: mysql@lists.mysql.com
Subject: [SPAM] - Unable to install mysql - Bayesian Filter detected
spam

Hey guys,

I am not able to install properly mysql. Please see below the technical
details or the bug report.

The installation goes well until I try to add the root user :

[EMAIL PROTECTED]:/usr/bin mysqladmin -u root -h fujitsu password x
mysqladmin: connect to server at 'fujitsu' failed
error: 'Host 'fujitsu.local' is not allowed to connect to this MySQL
server'
[EMAIL PROTECTED]:/usr/bin mysqladmin -u root -h 192.168.234.2 password
xx
mysqladmin: connect to server at '192.168.234.2' failed
error: 'Host '192.168.234.2' is not allowed to connect to this MySQL
server'
[EMAIL PROTECTED]:/usr/bin


Continuously, and I've tried lots of combinations, he is failing to
connect
to the server.

Please give me so hints for me to be able to install it.

Best regards

Yannick

[EMAIL PROTECTED]



SEND-PR: -*- send-pr -*-
SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as
SEND-PR: will all comments (text enclosed in `' and `').
SEND-PR:
From: yannick
To: mysql@lists.mysql.com
Subject: [50 character or so descriptive subject here (for reference)]

Description:
precise description of the problem (multiple lines)
How-To-Repeat:
code/input/activities to reproduce the problem (multiple
lines)
Fix:
how to correct or work around the problem, if known (multiple
lines)

Submitter-Id:  submitter ID
Originator:Yannick Vauloup
Organization:
 organization of PR author (multiple lines)
MySQL support: [none | licence | email support | extended email support
]
Synopsis:  synopsis of the problem (one line)
Severity:  [ non-critical | serious | critical ] (one line)
Priority:  [ low | medium | high ] (one line)
Category:  mysql
Class: [ sw-bug | doc-bug | change-request | support ] (one
line)
Release:   mysql-4.0.15 (Source distribution)
Server: /usr/bin/mysqladmin  Ver 8.40 Distrib 4.0.15, for suse-linux on
i686
Copyright (C) 2000 MySQL AB  MySQL Finland AB  TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license

Server version  4.0.15-Max
Protocol version10
Connection  Localhost via UNIX socket
UNIX socket /var/lib/mysql/mysql.sock
Uptime: 5 min 8 sec

Threads: 1  Questions: 14  Slow queries: 0  Opens: 6  Flush tables: 1
Open
tables: 0  Queries per second avg: 0.045
C compiler:gcc (GCC) 3.3.1 (SuSE Linux)
C++ compiler:  g++ (GCC) 3.3.1 (SuSE Linux)
Environment:
machine, os, target, libraries (multiple lines)
System: Linux fujitsu 2.4.21-286-default #1 Sat Apr 2 08:57:10 UTC 2005
i686
i686 i386 GNU/Linux
Architecture: i686

Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc
/usr/bin/cc
GCC: Lecture des spécification à partir de
/usr/lib/gcc-lib/i586-suse-linux/3.3.1/specs
Configuré avec:
../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/l
ocal --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib
--e
nable-languages=c,c++,f77,objc,java,ada --disable-checking
--enable-libgcj -
-with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib
--with-system-zli
b --enable-shared --enable-__cxa_atexit i586-suse-linux
Modèle de thread: posix
version gcc 3.3.1 (SuSE Linux)
Compilation info: CC='gcc'
 CFLAGS='-O2 -march=i586 -mcpu=i686 -fmessage-length=0 -DPIC -fPIC'
CXX='g++'
FLAGS='-O2 -march=i586 -mcpu=i686 -fmessage-length=0
-felide-constructor
s   -fno-exceptions
-fno-rtti   -fPIC -DPIC'  LDFLAGS=''
ASFLAGS=''
LIBC:
-rwxr-xr-x1 root root  1469811 2003-09-24 01:05
/lib/libc.so.6
-rw-r--r--1 root root 13553180 2003-09-23 18:04
/usr/lib/libc.a
-rw-r--r--1 root root  204 2003-09-23 18:04
/usr/lib/libc.so
lrwxrwxrwx1 root root   20 2005-02-22 14:05
/usr/lib/libc-client.so - libc-client.so.2002d
-rwxr-xr-x1 root root   770436 2003-09-23 20:29
/usr/lib/libc-client.so.2002d
Configure command: ./configure '--disable-shared'
'--enable-thread-safe-client' '--with-mysqld-ldflags=-static'
'--with-client-ldflags=-static' '--without-berkeley-db'
'--with-extra-tools'
'--without-innodb' '--enable

mysql-administrator startup error

2004-05-10 Thread Kevin Struckhoff
I just installed the administrator alpha binaries on
my Sun Java Desktop system (SuSe 8 Linux), and I get
the following error at startu:

./mysql-administrator-bin: error while loading shared
libraries: libsigc-1.2.so.5: cannot open shared object
file: No such file or directory

I did a find from root and did not locate any file
closely resembling the name 'libsigc*'. Does this mean
I should download and build the source?

TIA.

=
Thanks.

Kevin

-- Enjoy Life, Drink and Code Java!




__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

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



script to start mysql command center

2004-04-08 Thread Kevin Struckhoff
I'm new to mysql, so I thought I'd use the command
center utility, which requires an X server to be
running. 

Is there a way to start the xterm and mysqlcc all at
once? I would like a shell script that starts xterm
and then runs mysqlcc.

Any ideas?

TIA.

=
Thanks.

Kevin

-- Enjoy Life, Drink and Code Java!

__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

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