Users and Groups

2015-03-01 Thread Steffan A. Cline
Has anyone seen a plugin for MySQL that will allow you to set up users and groups for access where you can have a user who can login, create db etc but ONLY see the stuff that belongs to them? I'm speaking of a shared server where multiple people can use the same instance but be fully separated ju

Returning years of data by month

2014-11-09 Thread Steffan A. Cline
6 0 2 . 7 9 3 . 0 0 1 4 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Clinestef...@execuchoice.net http://www.ExecuChoice.net Phoenix, Arizona USA --- -- MySQL General Mailing

Random Code Stored Procedure

2012-12-27 Thread Steffan A. Cline
Rather than trying to reinvent the wheel, I was wondering if anyone might have a stored procedure already for what I want to do. I want to start with 4 characters using any unique combo and when all unique matches are used, it will move to 5 characters and so on. For example in any random order:

Select with counts of matching rows from another table...

2011-03-23 Thread Steffan A. Cline
s Steffan --- T E L 6 0 2 . 7 9 3 . 0 0 1 4 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline stef...@execuchoice.net Phoenix, Az http://www.ExecuChoice.net USA AIM: SteffanC

MySQL and Relevance

2009-08-12 Thread Steffan A. Cline
. 1 6 9 4 Steffan A. Cline stef...@execuchoice.net Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC ICQ : 57234309 YAHOO : Steffan_Cline MSN : stef...@hldns.com GOOGLE: Steffan.Cline Lasso Partner All

Foreign Keys

2008-08-23 Thread Steffan A. Cline
off base or is something like this possible? Thanks Steffan --- T E L 6 0 2 . 7 9 3 . 0 0 1 4 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix,

Selecting virtual rows

2008-01-13 Thread Steffan A. Cline
. 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC ICQ : 57234309 YAHOO : Steffan_Cline MSN : [EMAIL PROTECTED] GOOGLE: Steffan.Cline Lasso Partner Alliance

Update but insert if not exist

2007-12-16 Thread Steffan A. Cline
with same criteria as update Where region_id in (2,3,4,5,6) Thanks Steffan --- T E L 6 0 2 . 7 9 3 . 0 0 1 4 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az http

Default result

2007-11-24 Thread Steffan A. Cline
--- T E L 6 0 2 . 7 9 3 . 0 0 1 4 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC ICQ : 57234309

Re: MySQL on Leopard

2007-11-19 Thread Steffan A. Cline
on 11/19/07 2:58 PM, Warren Young at [EMAIL PROTECTED] wrote: > Steffan A. Cline wrote: >> I built MySQL 5.045 from source and it will run fine, just not >> from launchd. > > My previous post was made with the assumption that you were using the > official binaries, a

Re: MySQL on Leopard

2007-11-19 Thread Steffan A. Cline
on 11/19/07 12:34 PM, Warren Young at [EMAIL PROTECTED] wrote: > Steffan A. Cline wrote: >> >> Starting mysqld daemon with databases from /usr/local/mysql/var >> /usr/local/mysql/bin/mysqld_safe: line 426: 77090 Segmentation fault >> $NOHUP_NICENESS $ledir/

Re: MySQL on Leopard

2007-11-17 Thread Steffan A. Cline
on 11/17/07 12:05 PM, Steffan A. Cline at [EMAIL PROTECTED] wrote: > on 11/17/07 8:20 AM, William Allaire at [EMAIL PROTECTED] wrote: > >> >> On Nov 17, 2007, at 4:06 AM, Steffan A. Cline wrote: >> >>> Documentation for dscl is somewhat cryptic. When I was

Re: MySQL on Leopard

2007-11-17 Thread Steffan A. Cline
on 11/17/07 8:20 AM, William Allaire at [EMAIL PROTECTED] wrote: > > On Nov 17, 2007, at 4:06 AM, Steffan A. Cline wrote: > >> Documentation for dscl is somewhat cryptic. When I was finally able >> to list >> the users I see that the usual uid and gid of 74 belongs t

MySQL on Leopard

2007-11-17 Thread Steffan A. Cline
0 1 4 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC ICQ : 57234309 YAHOO : Steffan_Cline MSN : [EMAIL PROTECTED] GOOGLE: Steffan.Cline

Re: Reply-to is to originator rather than to list

2007-10-21 Thread Steffan A. Cline
e response. It also makes for better searchable lists and averts redundant questions. My $2USD ** OOPS, what do you know. I have to resend this because I forgot to reply all. :-P Thanks Steffan ----------- T E L 6

Re: My first trigger in MySQL

2007-10-07 Thread Steffan A. Cline
on 10/7/07 12:26 PM, Steffan A. Cline at [EMAIL PROTECTED] wrote: > I am new to triggers and am trying to figure this out. The goal I have is to > set it up so that after a row in the users table is updated it will check to > see if the affected row has a username in the username field a

My first trigger in MySQL

2007-10-07 Thread Steffan A. Cline
+ lastname. Does anyone have a good example of how to do this? Thanks Steffan --- T E L 6 0 2 . 7 9 3 . 0 0 1 4 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoeni

Re: New error to me...

2007-07-14 Thread Steffan A. Cline
9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC ICQ : 57234309 Lasso Partner

New error to me...

2007-07-14 Thread Steffan A. Cline
0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC ICQ : 57234309 Lass

Recursive queries

2007-07-08 Thread Steffan A. Cline
fan A. Cline [EMAIL PROTECTED] Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC ICQ : 57234309 Lasso Partner Alliance Mem

Re: Primary key

2007-01-12 Thread Steffan A. Cline
> In the last episode (Jan 11), Steffan A. Cline said: >> Is there anyway to do a SELECT or DESCRIBE or SHOW statement which can >> return the primary key field of a specified table? >> >> Pseudo code: select primary_key_field_name from

Primary key

2007-01-11 Thread Steffan A. Cline
A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC ICQ : 57234309 Lasso Partner Alliance Member

V 5.0.18 on Mac OS X

2006-11-08 Thread Steffan A. Cline
E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC ICQ : 57234309 Lasso Partner Allia

Re: Query missing rows in location of zip by distance

2006-09-25 Thread Steffan A. Cline
anks Steffan --- T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC I

Query missing rows in location of zip by distance

2006-09-25 Thread Steffan A. Cline
0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC ICQ : 57234309 L

SQL

2006-09-12 Thread Steffan A. Cline
that I need someone assistance of someone extremely experienced for this project. Thanks Steffan --- T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoeni

Joining result sets into 1 row

2006-08-13 Thread Steffan A. Cline
. 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC ICQ : 57234309 Lasso Partner Allia

Group by with an IF

2006-08-13 Thread Steffan A. Cline
any light on this one? Thanks Steffan --- T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az http://www.ExecuChoice.net US

Full Text Search across 2 tables.

2006-07-01 Thread Steffan A. Cline
Steffan --- T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC

Re: Multiple joins

2006-06-30 Thread Steffan A. Cline
m.user_id = u.user_id where m.topic_id = 1; Thanks Steffan --- T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az http://www.ExecuChoice.net

Multiple joins

2006-06-30 Thread Steffan A. Cline
egal to do multiple joins like this? Thanks Steffan --- T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az http://www.Execu

Re: Returning records in a circle

2006-05-12 Thread Steffan A. Cline
Thanks Steffan --- T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC ICQ : 57234309 The Exe

Returning records in a circle

2006-05-12 Thread Steffan A. Cline
--- T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC ICQ : 57234309 The Executive's Choice in Lasso driven Int

Repairing data

2005-11-02 Thread Steffan A. Cline
xp or something but its a bit over my head. Any suggestions? Thanks Steffan --- T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az h

Re: Triggers

2005-10-10 Thread Steffan A. Cline
ult NULL, KEY `zip` (`zip`), KEY `lat` (`lat`), KEY `lon` (`lon`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; SET FOREIGN_KEY_CHECKS = 1; Thanks Steffan --- T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9

Re: Triggers

2005-10-10 Thread Steffan A. Cline
lt;= ' ($range) ';'); The table structures : Thanks Steffan --- T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az http://www.ExecuCho

Re: Distance between Zip codes

2005-10-09 Thread Steffan A. Cline
into the "b" (locations) table upon creation of each new record but I have another thread on that issue. :( Any suggestions to improve it or a better way of doing it? Thanks Steffan --- T E L 6 0 2 . 5 7 9 . 4 2 3

Triggers

2005-10-09 Thread Steffan A. Cline
unction/trigger. What exactly is the meaning of this? Is there no way around this? I only want to update the one that was just inserted/updated. Thanks Steffan --- T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan

Re: Distance between Zip codes

2005-10-08 Thread Steffan A. Cline
anks Steffan --- T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC ICQ : 57234309 The Executiv

Re: Distance between Zip codes

2005-10-08 Thread Steffan A. Cline
6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC ICQ : 57234309 The Executive's Choice in Lasso driven Internet Applica

Distance between Zip codes

2005-10-08 Thread Steffan A. Cline
query if completely possible within MySQL is well above me. Thanks Steffan --- T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az http

Getting count(*) with LIMIT in SQL

2004-03-28 Thread Steffan A. Cline
; SQL Gurus! Any way to do this? Thanks Steffan --- T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az http://www.ExecuChoice.net

Re: Complex query woes

2003-11-10 Thread Steffan A. Cline
--- T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC ICQ : 57234309 The

Complex query woes

2003-11-09 Thread Steffan A. Cline
h a single query instead of multiple queries in MySQL? Thanks Steffan --- T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix, Az http://www.Execu

Days in a month

2003-03-01 Thread Steffan A. Cline
Is there a function that I missed for calculating the number of days in a month? Steffan MySQL --- T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED] Phoenix

Full text search

2003-01-04 Thread Steffan A. Cline
ll name "steffan" it finds it ok. Is there something I am missing for it to return any matches containing "steff" or "steffa" or even "stef" Thanks Steffan --- T E L 6 0 2 . 5 7 9 . 4 2

FULLTEXT

2002-12-08 Thread Steffan A. Cline
this. 3. Almost the same as above but is there a way to increase the number of columns for a FULLTEXT search? Thanks Steffan --- T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [EMAIL PROTECTED