If statement in a where query....

2004-12-01 Thread Mike Morton
this logic using an if statement in the where statement? TIA! -- Cheers Mike Morton * * Tel: 905-465-1263 * Email: [EMAIL PROTECTED] * Indeed, it would not be an exaggeration to describe

Select member when it meets two requirements

2004-11-30 Thread Mike Zornek
| | ++---+--+-+-+--- -+ How would I select all distinct member_id that have a specialty_id of 6 and 33? Thanks! ~ Mike - Mike Zornek Web Designer, Media Developer, Programmer and Geek Personal site: http://MikeZornek.com

SQL question.... Trying to improve upon my PHP solution.

2004-11-29 Thread Mike Zornek
seconds but this machine is faster than server. Is there a simpler / faster SQL query I could use? Thanks! ~ Mike - Mike Zornek Web Designer, Media Developer, Programmer and Geek Personal site: http://MikeZornek.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql

Re: SQL question.... Trying to improve upon my PHP solution.

2004-11-29 Thread Mike Zornek
On 11/29/04 12:27 PM, mos [EMAIL PROTECTED] wrote: Mike, Your solution is way too complicated (it makes my head hurt).g Try this: set @n=0; update tmp set rnd = @n := @n + 1 order by RAND() Mike I'll give this a shot. Follow-up question: I've had a lot of trouble with RAND

Re: SQL question.... Trying to improve upon my PHP solution.

2004-11-29 Thread Mike Zornek
. Our idea is to nightly order the members at random and when showing results. I call this shuffling only to make the metaphor. I really mean setting randomized values in a extra column which will be sorted when the user asks for random results. Thanks for you help. ~ Mike - Mike Zornek Web

Re: Delete duplicate records

2004-11-25 Thread Mike Wexler
Manish wrote: I have got few duplicate record in my DB as follows.- Let's say record_no is the unique id of duplicate records. So I have fields ID, record_no , X and Y. (ID is a dif filed and is a primary key) To find duplicates I do following - select record_no,count(record_no) from mytable group

temporary tables, replication, and innodb tables

2004-11-21 Thread Mike Debnam
is to increase innodb_lock_wait_timeout to a large enough value that it will be longer than any potential select for the temporary table? All innodb tables, MySQL 4.1.7 for both master and slaves. Thanks. Mike -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe

RE: What's MYSQL equivalent to Oracle's TRUNC(date_time_var)?

2004-11-12 Thread Mike Johnson
, you can use DATE(date_time_var) to return the date portion. HTH! -- Mike Johnson Smarter Living, Inc. Web Developerwww.smarterliving.com [EMAIL PROTECTED] (617) 886-5539 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe

RE: Suppress the 0 value

2004-11-10 Thread Mike Johnson
the result from the select is 0 it should be NULL). How can this be done within the select-statement? SELECT IF(id = 1, NULL, id) AS id ... The usage of IF() is IF(expression, true value, false value). -- Mike Johnson Smarter Living, Inc. Web Developerwww.smarterliving.com

RE: Suppress the 0 value

2004-11-10 Thread Mike Johnson
From: Mike Johnson [mailto:[EMAIL PROTECTED] From: Martin Rytz [mailto:[EMAIL PROTECTED] Hi MySQL-Users I have a simple select statement like 'select id from table'. The result is 0, becaues the id field is 0 (int-field). My problem is now how to suppress the 0 and give NULL

RE: Help with a DATETIME Query Please Using 3.23.54

2004-11-04 Thread Mike Johnson
(B.Booking_Start_Date)) / (60 * 60); Given values of '2004-11-01 10:00:00' and '2004-10-31 09:00:00', you end up with 25 (which I think is what you were looking for, not 24). As I said, there may be a more elegant way to do that, but this is the brute-force method that should work. HTH! -- Mike Johnson

Can't connect

2004-11-02 Thread K. Mike Bradley
I am trying to connect from my windows box at home using mysql.exe to a MySQL server at work on a Gentoo box. My command line is: mysql -h host.domain.com -u root -p (of course the host.domain.com is replaced with my server's FQDM) The output is: ERROR 2003: Can't connect to MySQL server

Fwd: Very slow query

2004-10-24 Thread Mike Wexler
The didn't show up on the list 2 days after posting it, so I'm posting it again. -- Forwarded message -- From: Mike Wexler [EMAIL PROTECTED] Date: Fri, 22 Oct 2004 14:39:49 -0700 Subject: Very slow query To: [EMAIL PROTECTED] The following query: CREATE TEMPORARY TABLE

Re: Sharing databases between win and linux

2004-10-20 Thread Mike McMahon
I also share databases Linux to XP. It could be an uppercase/lowercase issue, try adding to my.cnf: lower_case_table_names=1 Lau Sennels wrote: Hello. I am trying to set up a MySQL database shared between SuSE 9.1 and a Win XP (both 4.0.18 from binary). The database resides on a FAT32 partiton

query cache derived table

2004-10-16 Thread Mike McMahon
cachable. Can anybody help steer me to the general steps required to add this functionality? Thanks Sorry if I have duplicated my post, not sure if first attempt was delivered due to spam controls. -- Mike McMahon [EMAIL PROTECTED] ActiveWire 410-547-8277 x610 -- MySQL General Mailing List

RE: Converting date in MySQL

2004-10-14 Thread Mike Johnson
error-checking, anyway. -- Mike Johnson Smarter Living, Inc. Web Developerwww.smarterliving.com [EMAIL PROTECTED] (617) 886-5539 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

auto increment fields

2004-09-19 Thread Mike
hi. I have a rather childish question on tables and auto increment fields. Scenario: I have a table with an int auto increment primary key field. The deal is that everything works fine (I'm talking about the auto incrementation part) until I choose to delete a row. This creates a gap in the

About Mysql Security

2004-09-15 Thread Mike Bao
Hi, Last week, the all tables in one database had been deleted, which is second times since I upgrade my operation system from NT 4.0 to Server 2003. Before that, they had been deleted many times. I just copied all table files to one database(one directory). They will work normally. I don't know

Re: Fulltext doesn't seem to find certain text

2004-09-14 Thread Mike Blezien
. Since you are using MySQL 3.23, you will need to recompile the binaries. With MySQL 4.x, you can simply change a variable in the configuration file and rebuild the fulltext indexes. Mike What variable setting is changed in the my.cnf, and is this under the mysqld group ?? What is the proceedure

Re: Problem with Replication - Slave Option replicate-ignore-tabl e and replicate-wild-ignore-table

2004-09-13 Thread Mike Lohmann
-table=db.table1 replicate-ignore-table=db.table2 ... replicate-ignore-table=db.tablen And remove the other statements? -Original Message- From: Mike Lohman To: [EMAIL PROTECTED] Sent: 9/10/04 10:53 AM Subject: Problem with Replication - Slave Option replicate-ignore-table and replicate-wild

Open Source Survey

2004-09-10 Thread Mike Chan
you share this information with them? Thanks. Mike Chan -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Problem with Replication - Slave Option replicate-ignore-table and replicate-wild-ignore-table

2004-09-10 Thread Mike Lohman
sec) Thanks in advance. Mike -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Tricky Date Query

2004-08-31 Thread Mike Blezien
Michael, Michael Stassen wrote: Mike Blezien wrote: Hello, Not sure this is possible to do with SQL or if needs to be done with in the application programming language we're using(Perl), but I need to get the a weekdate, IE SELECT EXTRACT(DAY FROM NOW()) which would return 30 Now what I need

Tricky Date Query

2004-08-30 Thread Mike Blezien
Hello, Not sure this is possible to do with SQL or if needs to be done with in the application programming language we're using(Perl), but I need to get the a weekdate, IE SELECT EXTRACT(DAY FROM NOW()) which would return 30 Now what I need to do, is if the query above is greater or less then

Re: OT Gmail

2004-08-29 Thread Mike Wexler
Miles Keaton wrote: I have 7 invitations to give away. Feel free to ask, but include a sentence about why you want it. I have 6 invitations to give away. Available to the first 6 who ask. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:

Mysql command line queries not working....

2004-08-26 Thread Mike Morton
without comments, as removing them every time there is a new dump will be tedious to say the least... 3. Am I a total idiot and have missed something dead simple? TIA! -- Cheers Mike Morton * * Tel: 905-465-1263 * Email: [EMAIL PROTECTED

Re: Mysql command line queries not working....

2004-08-26 Thread Mike Morton
Message- From: Mike Morton To: [EMAIL PROTECTED] Sent: 8/26/04 12:05 PM Subject: Mysql command line queries not working I know the subject is not totally descriptive of the problem, but: mysql -h -u *** -p*** mikerocks latest_distribution.sql Is producing no results

RE: Sanity Check : Error in sql

2004-08-26 Thread Mike Johnson
in your code. It sounds like it's essentially generating this query: Select * from Education_table where TypeID = HS; instead of... Select * from Education_table where TypeID = 'HS'; HTH! -- Mike Johnson Smarter Living, Inc. -- MySQL General Mailing List For list archives: http://lists.mysql.com

Re: A new Machine

2004-08-22 Thread Mike Wexler
Chris McKeever wrote: On Sat, 21 Aug 2004 10:18:06 -0700, Info [EMAIL PROTECTED] wrote: After 2 days in Microsoft HELL with my SQLsvr databases, I'm ready to rob the piggy bank and build a new linux mysql server. Here's my problem: I have, at present, two rather large databases. (A:

Re: A new Machine

2004-08-22 Thread Mike Wexler
Chris McKeever wrote: RAID 5 is the wrong answer. If reliability is a big deal do mirroring. Otherwise get as much memory as you can afford and use any money left over to get the fastest disk drives you can afford. If you have multiple disks, spread things between different drives. OS on

Re: mysql 4.0.20 uses just one CPU on Gentoo (now: glibc patches)

2004-08-20 Thread Mike Blazer
Thanks Pete! I just recompiled mysql with the emerge installer with all gentoo.org patches - same result. Just one CPU works. I'll report BUG to both mysql AB and Gentoo. Thanks Mike Pete Harlan wrote: It would be nice if the manual were updated to say something about it, but here's

Re: mysql 4.0.20 uses just one CPU on Gentoo

2004-08-20 Thread Mike Blazer
Yes, of course - I started from mysql binary and compiled the new one only when it failed. It was in the beginning of the thread BTW - it compiled on Gentoo without a problem. Just emerge mysql-4.0.20.ebuild and it runs till the end. And works fine - but again - only on one CPU. Mike Donny

mysql 4.0.20 uses just one CPU on Gentoo

2004-08-17 Thread Mike Blazer
! -- == Mike Blazer [EMAIL PROTECTED] == -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: mysql 4.0.20 uses just one CPU on Gentoo

2004-08-17 Thread Mike Blazer
Mike Blazer wrote: In addition to my previous posting - on this machine I have glibc.2.3.2 which was installed using the Gentoo emerge native installer. Dunno, the mysql manual says a lot about various bugs and patches for glibc (that influence the threads behavior) but it is all up to 2.2.2

Re: Importing from plain text?

2004-08-11 Thread Mike Hillyer
It sounds like you want the LOAD DATA function, found at http://dev.mysql.com/doc/mysql/en/LOAD_DATA.html As long as there is some wat of distinguishing the two fields in the file, you can load them into MySQL. Mike Hillyer Robin Lynn Frank wrote: -BEGIN PGP SIGNED MESSAGE- Hash

RE: distinct based on two fields--please help

2004-08-03 Thread Mike Johnson
1 B 50 2 How do I do this with one sql query? Thanks. SELECT name, SUM(price), type FROM tablename GROUP BY name, type; -- Mike Johnson Web Developer Smarter Living, Inc. phone (617) 886-5539 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql

RE: Finding duplicate values in a column

2004-07-28 Thread Mike Johnson
date_created, COUNT(*) AS num FROM tablename GROUP BY date_created HAVING num 1; HTH! -- Mike Johnson Web Developer Smarter Living, Inc. phone (617) 886-5539 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

RE: Finding duplicate values in a column

2004-07-28 Thread Mike Johnson
From: Mike Johnson From: Robert Reed [mailto:[EMAIL PROTECTED] This seems like it should be easy, and I'd be happy for a simple reference to where in the manual or in Paul's book I can find the answer. I am wanting to find basically the inverse of a SELECT DISTINCT operation. I

Query Possible

2004-07-24 Thread Mike Blezien
Hello, MySQL version 4.0.20 I'm trying to figure out, if it's possible to do, with one query to update a single table. Query #1 select m.memid from members m left join active a on a.memid = m.memid where a.acct_days 0 and m.account = 1; Query # 2 update members set account = 2 where memid in

Re: Query Possible

2004-07-24 Thread Mike Blezien
Mike Blezien wrote: Hello, MySQL version 4.0.20 I'm trying to figure out, if it's possible to do, with one query to update a single table. Query #1 select m.memid from members m left join active a on a.memid = m.memid where a.acct_days 0 and m.account = 1; Query # 2 update members set account

MySQL Authentication Scheme Bypass

2004-07-12 Thread Mike Blezien
Hello, Happen to come accross this articale http://www.securiteam.com/unixfocus/5BP0420DFQ.html and was wondering, using 4.0.20, if we need to make some changes or has this been addressed by MySQL staff ?? TIA, -- MikemickaloBlezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet

DISTINCT issues with 3.23.54

2004-07-06 Thread Mike Zornek
this on MySQL 3.23.54-log I get 78 rows, with many dups. When I move the DB to MySQL 4.0.18-standard and run the query I get 21 rows, no dups. Is this a known bug? Is there any work around, besides upgrading (which is planned but not immediately). Thanks! ~ Mike - Mike Zornek Web Designer, Media

Query last record in table

2004-07-05 Thread Mike Blezien
Hello, what is the most effecient way to query the last record in a table, if querying the primary key(acctid) column ?? I've tried select *,max(acctid) as lastid from subscribers where acctid = 'lastid' group by acctid but this returns nothing ?? TIA :) -- MikemickaloBlezien

[Fwd: Query last record in table]

2004-07-05 Thread Mike Blezien
cancel this, found my problem :) this query worked: SELECT * FROM subscribers ORDER BY acctid DESC LIMIT 1 Original Message Subject: Query last record in table Date: Mon, 05 Jul 2004 13:52:28 -0500 From: Mike Blezien [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Organization

RE: Auto Date selection and format

2004-07-01 Thread Mike Koponick
Michael/Wesley, Thanks for your help. You got me going in the right direction! Thanks again!!! Mike -Original Message- From: Michael Stassen [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 7:37 PM To: Mike Koponick Cc: [EMAIL PROTECTED] Subject: Re: Auto Date selection

Packet Errors

2004-06-30 Thread Mike Blezien
Hello, I recently noticed this error in our mysql error log file: Aborted connection 5439 to db: 'database_name' user: 'someuser' host: `localhost' (Got an error reading communication packets)

Re: Packet Errors

2004-06-30 Thread Mike Blezien
variable. Those searchable docs are very handy for looking up error codes, etc. David. Mike Blezien wrote: Hello, I recently noticed this error in our mysql error log file: Aborted connection 5439 to db: 'database_name

Auto Date selection and format

2004-06-30 Thread Mike Koponick
? Also, I looked for a way to format the output date to MM/DD/YY rather than -MM-DD. Any suggestions? Thanks in advance. Mike -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

RE: OUTFILE to CVS with headers

2004-06-25 Thread Mike Koponick
Bob, That did the trick! Thanks! Mike -Original Message- From: Bessares, Bob [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 6:03 PM To: [EMAIL PROTECTED]; Mike Koponick Subject: RE: OUTFILE to CVS with headers well, you can easily output into a comma separated file

OUTFILE to CVS with headers

2004-06-24 Thread Mike Koponick
by ',' optionally enclosed by '' escaped by '\\'; All the lines run together so it makes it impossible to import. Thanks in advance for your help. Mike This email and any files transmitted with it are confidential and intended solely for the use

Intel Compiler

2004-06-21 Thread Mike Miller
. */ char mysql_error(); int main() { mysql_error() ; return 0; } -Mike _ Add photos to your messages with MSN Premium. Get 2 months FREE* http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL

Re: MySQL Web Clustering...

2004-06-18 Thread Mike Miller
tell client1 to use database5 as their hostname for example. Replication requires that updates go to the master, which requires client-side code, or an intermediate daemon which analyzes the statement and forwards the request. -Mike From: Peter J Milanese [EMAIL PROTECTED] To: Roy Nasser [EMAIL

Re: MySQL Web Clustering...

2004-06-18 Thread Mike Miller
it seamless. Would require some work to make one though. -Mike From: Jeff Smelser [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: MySQL Web Clustering... Date: Fri, 18 Jun 2004 11:43:05 -0500 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 18 June 2004 11:05 am, Mike Miller wrote

RE: Create table syntax question

2004-06-16 Thread Mike Johnson
is a reserved word (an abbreviation of DESCRIBE, used to show a table structure). Either change the name of that column or wrap it in backticks (`DESC`) whenever it's referenced. HTH! -- Mike Johnson Web Developer Smarter Living, Inc. phone (617) 886-5539 -- MySQL General Mailing List For list archives

Correcting Time

2004-06-16 Thread Mike Blezien
Hello, Somehow the mysql server time is set 3 hours earlier than the system time(CDT), is there a way to correct this so they both are the same ? TIA -- MikemickaloBlezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work!

RE: MySQL -- SQL syntax error.....

2004-06-16 Thread Mike Johnson
BUSINESS_CATEGORY.BUS_CAT_ID = '733788' -- Mike Johnson Web Developer Smarter Living, Inc. phone (617) 886-5539 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Codes for U.S. Counties

2004-06-03 Thread Mike
I don't know if this will help, but I had these links left over from some work I did a few years ago... http://www.itl.nist.gov/fipspubs/fip6-4.htm http://www.itl.nist.gov/fipspubs/co-codes/states.htm On Wed, 2 Jun 2004, David Blomstrom wrote: I have a big database focusing on U.S.

Re: Initiate perl script in linux from a Windows VBA program

2004-06-02 Thread Mike Hillyer
! Canada Personals Why wouldn't you just use ODBC to connect to the server and work directly? Remotely initiating a perl script would involve creating a telnet or SSH session from within Excel using VBA, which would be a far more complex undertaking. -- Mike Hillyer, Technical Writer MySQL AB

MySQL Warnings

2004-06-01 Thread Mike Blezien
Hello, Noticed this morning when restarting MySQL, saw this in the error log file: Version 4.0.20(RPM's) --- 040601 9:17:17 /usr/sbin/mysqld: Normal shutdown 040601 9:17:18 InnoDB: Starting shutdown... 040601 9:17:20 InnoDB: Shutdown completed 040601 9:17:20

Re: MySQL Warnings

2004-06-01 Thread Mike Blezien
thx's for the input :) Mike Jigal van Hemert wrote: From: Mike Blezien [EMAIL PROTECTED] 040601 9:17:20 Warning: Asked for 196608 thread stack, but got 126976 Is this type of Warning something to be concerned about or is this common or how best to fix ?? --quote from Sergei Golubchik [EMAIL

MySQL update 4.0.20 w/RPM's

2004-05-31 Thread Mike Blezien
Hello, got this error when upgrading our MySQL: rpm -Uvh MySQL-shared-4.0.20-0.i386.rpm Preparing...### [100%] file /usr/lib/libmysqlclient.so.12.0.0 from install of MySQL-shared-4.0.20-0 conflicts with file from package

RPM install upgrade error / ver. 4.0.20

2004-05-29 Thread Mike Blezien
Hello, got this error when updating our MySQL: rpm -Uvh MySQL-shared-4.0.20-0.i386.rpm Preparing...### [100%] file /usr/lib/libmysqlclient.so.12.0.0 from install of MySQL-shared-4.0.20-0 conflicts with file from package

RE: Very Strange data corruption

2004-05-25 Thread Mike Johnson
). That's why that's what's getting inserted. Manual page is here: http://dev.mysql.com/doc/mysql/en/Numeric_type_overview.html Try converting the column to a BIGINT, the signed max alone is 9223372036854775807. -- Mike Johnson Web Developer Smarter Living, Inc. phone (617) 886-5539 -- MySQL General

RE: Very Strange data corruption

2004-05-25 Thread Mike Johnson
if I'm wrong, but isn't it considered best practice to validate data before it gets to the database? I can't seem to find a source for this after a quick search on Google, though... -- Mike Johnson Web Developer Smarter Living, Inc. phone (617) 886-5539 -- MySQL General Mailing List For list

RE: Very Strange data corruption

2004-05-25 Thread Mike Johnson
is actually updated on any INSERT or UPDATE, not just given a value on the initial INSERT. :) -- Mike Johnson Web Developer Smarter Living, Inc. phone (617) 886-5539 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL

Re: outer join

2004-05-18 Thread Mike Hillyer
, Scott Purcell -- Mike Hillyer, Technical Writer MySQL AB, www.mysql.com Office: +1 403-686- The Open Source movement has become a major force across the software industry, and MySQL is the world's most popular open source database. --Fortune Magazine -- MySQL General Mailing List For list

RE: php mysql problem

2004-05-13 Thread Mike Johnson
Sounds as though PHP was installed without the MySQL library. I haven't done it myself in a while, but I believe it requires the --with-mysql flag. HTH -- Mike Johnson Web Developer Smarter Living, Inc. phone (617) 886-5539 -- MySQL General Mailing List For list archives: http://lists.mysql.com

Re: GUID storage

2004-05-12 Thread Mike Hillyer
I would say easiest is best. There is no specific field for uniqueidentifier. Mike Hillyer -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Inverted Index Query Formulation

2004-05-10 Thread Mike Boone
-in fulltext features of various databases. Any web links are appreciated. Surely there's a way to do this efficiently using SQL queries. Thanks! Mike Boone http://boonedocks.net/mike -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com

Change Character Set for one user

2004-05-10 Thread Mike Blezien
Hello, is it possible to change the default character set for one mysql user without affecting the global character set setting, via the the user's .my.cnf option file ?? thx's -- MikemickaloBlezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet

Change Character Set

2004-05-10 Thread Mike Blezien
Hello, is it possible to change the default character set for one mysql user without affecting the mysql global character set setting, via the the user's .my.cnf option file ?? thx's -- MikemickaloBlezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing

Error: Too many open files

2004-05-08 Thread Mike Blezien
Hello, this maybe a more related issue with DBI API but I thought I try first posting here to see why we would be getting this error (24) - Too many open files Error Message: DBD::mysql::st execute failed: File './mysql/user.MYD' not found (Errcode: 24) What would be causing this type of

RE: Need correct 'order by' syntax where field does not contain NULL

2004-05-04 Thread Mike Johnson
this helps. :) -- Mike Johnson Web Developer Smarter Living, Inc. phone (617) 886-5539 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

RE: WHERE clause problem

2004-05-03 Thread Mike Johnson
while it may look like it makes sense in pseudo-code, on paper it's not how MySQL evaluates things. It builds the right side of the equality and then compares. Stick with your second query and you'll be fine, even if it is more typing. ;) HTH! -- Mike Johnson Web Developer Smarter Living

RE: urban myth?

2004-05-03 Thread Mike Johnson
. If this is documented online, I've yet to see it (though I haven't exactly gone looking for it). Someone else may have a more accurate description of the way it's done, though. -- Mike Johnson Web Developer Smarter Living, Inc. phone (617) 886-5539 -- MySQL General Mailing List For list archives: http

mySQL error 1016

2004-05-02 Thread Mike Blezien
Hello, Trying to fix this problem mySQL error 1016 I found this at the InnoDB site. Another symptom of an out-of-sync data dictionary is that MySQL prints an error that it cannot open a file

Repair tables

2004-05-01 Thread Mike Blezien
Hello, What is the recommend alternative to REPAIR TABLE for InnoDB tables, this does not work with Innodb table types ?? TIA -- MikemickaloBlezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! http://www.thunder-rain.com

RE: Query help

2004-04-26 Thread Mike Johnson
= s.ID HTH! -- Mike Johnson Web Developer Smarter Living, Inc. phone (617) 886-5539 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

RE: re-using a results set

2004-04-22 Thread Mike Johnson
From: Scott Swaim [mailto:[EMAIL PROTECTED] Thank you Chris for that answer. I did not know if it was a mysql problem or php problem. Again I apologize (especially to Mike Johsnon) for the multiple request. I was getting a return error on the list and I thought it was a configuration

Re: MySQL Website

2004-04-21 Thread Mike Blezien
FYI... Just connected to the www.mysql.com site this morning with no problems :) -- MikemickaloBlezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! http://www.thunder-rain.com Quality Web Hosting http://www.justlightening.net

RE: If() syntax question

2004-04-21 Thread Mike Johnson
From: Don Dachner [mailto:[EMAIL PROTECTED] Is it possible to do something like this? If(select * from xxx, if record found..update it, if record not found ..insert it) Try the REPLACE INTO syntax: http://dev.mysql.com/doc/mysql/en/REPLACE.html -- Mike Johnson Web Developer Smarter

RE: re-using a results set

2004-04-21 Thread Mike Johnson
provide more details for your situation? Your code is a bit jumbled. We have no idea what pv() does, for instance. Nor db_query(). These are not standard PHP functions, so you'll have to forgive us if we're all a bit clueless and unwilling to help. -- Mike Johnson Web Developer Smarter Living, Inc

Re: Learning curve

2004-04-20 Thread Mike T. Caskey
and FM? I agree with standing on the shoulders of giants when it comes to developing new custom systems. Hey! I just saw you're living squarebanks, I used to live there too. How long have you lived there? How's the weather today? -Mike Caskey Joshua J. Kugler wrote: Mike - You didn't indicate

Re: Learning curve

2004-04-20 Thread Mike T. Caskey
Thanks for the info Daniel, Could you maybe link me to some of the projects you've seen for uploading images too? -Mike Caskey Daniel Kasak wrote: Mike T. Caskey wrote: Hi all! I'm wondering if anyone can help me find out how much time/training is needed to accomplish my task using MySQL

Re: Learning curve

2004-04-20 Thread Mike T. Caskey
resource for MySQL/PHP? Are there any good classroom-based training companies that don't charge an arm and a leg? Thanks, Mike Caskey Eric Frazier wrote: Hi, There is an alterative to the web/php type interface. It is only worthwhile if you already have some one with decent Access knowledge. Access

Re: Learning curve

2004-04-20 Thread Mike T. Caskey
Peter, I really appreciate your offer to help out! Since I'm fairly fresh in the area, I appreciate any help I can get. Can you recomend any formal online training resources for MySQL/PHP? Thanks, Mike Caskey Peter Lovatt wrote: Hi I would echo this. We are finding that applications based

Re: Learning curve

2004-04-20 Thread Mike T. Caskey
online where I might be reminded of the essential questions? I'm obviously wet behind the ears in this arena and have a lot of learning to do in many areas... project management, evaluation, development, testing, etc... Any information you can offer is priceless for me! Thanks, Mike Caskey

Group by for datetime

2004-04-16 Thread Mike Morton
) Or something along those lines? Tia! -- Cheers Mike Morton * * Tel: 905-465-1263 * Email: [EMAIL PROTECTED] * Indeed, it would not be an exaggeration to describe the history of the computer

Learning curve

2004-04-15 Thread Mike T. Caskey
? I appreciate your time and information! Thanks, Mike T. Caskey -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Long numbers

2004-04-11 Thread Mike Blezien
I think your looking for the ROUND(N,D) function, IE: select round('3.4285714285714',2) as miles; 3.43 miles MikemickaloBlezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! http://www.thunder-rain.com Quality Web Hosting

ANN: uc2004.vbmysql.com - Conference Blog Collection and Image Gallery

2004-04-10 Thread Mike Hillyer
encourage you to post your photos in the gallery. I hope everyone can benefit from this! Regards, Mike Hillyer www.vbmysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

myodbc - ms-access problem: table contents not shown

2004-04-06 Thread Mike Bosschaert
-view. This may as well be a generic ms-access problem or a codeweavers bug, but I can't find the anwer. Is there anyone on this list who known how to solve the problem? Thanks in advance. Mike -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe

Can't connect (error 2003) to mysql 5.0 on other server

2004-04-04 Thread Mike Bosschaert
) 13:50:32.732570 mycompA.mysql mycompBt.33431: R 0:0(0) ack 2312810185 win 0 (DF) Any suggestions? Mike -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Can't connect (error 2003) to mysql 5.0 on other server

2004-04-04 Thread Mike Bosschaert
Bingo!! With the installation of the 5.0 (I assume) skip-networking was set by default in /etc/mysql/my.cnf. That was it. Thanks. Mike I assume you have already verified that the mysql server is actually running on server A. Have you verified that server A is accepting tcp connections? Try

Calculation in a mysql column

2004-04-01 Thread Mike R
I am using mysql 4.0.16. Is it possible to put a calculation of two other columns as the default value for a third column? Like: time = decimal 3,2 rate = decimal 3,2 totals = default is time * rate Thanks, -Mike -- MySQL General Mailing List For list archives: http://lists.mysql.com

MySQL upgrade tips

2004-04-01 Thread Mike Blezien
Hello, we are currently running MySQL version 3.23.58, and plan to upgrade to 4.0.18 via the RPM's on a RH/Linux system,... can we retain all the user privileges and databases without loosing any data and our user privileges after the upgrade... we do have backups of all the databases. Is

Re: Transaction Not supported

2004-03-31 Thread Mike Blezien
] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Joshua J. Kugler wrote: Hmm...but it *should* work. DBI::mysql should implement those calls and transform them to BEGIN/COMMIT calls. I wonder why it doesn't. j- k- On Tuesday 30 March 2004 11:24 pm, Jonas Lindén said something like: Sorry Mike, Joshua is absolutly correct. Dont

MySQL 5.0 - What is really available?

2004-03-30 Thread mike . griffin
I've downloaded and installed 5.0, it seems to be working fine. However, I need a graphical user interface to create tables and such (when I say I need, trust me, I need). I'm running on XP (that explains a lot I know) So: Is Control Center for 5.0 available? Is MyODBC 5.0 available? I'm having

Transaction Not supported

2004-03-30 Thread Mike Blezien
Hello, I keep getting this error when attempting to utilize a database that has Innodb tables, and using transactions. This is from a Perl/DBI script too: Error: Transactions not supported by database at module. bla..bla I realize this maybe a DBI question, but I thought I'd check here

RE: Going from 3.23 to 4 - sql statement errors

2004-03-19 Thread Mike R
= '$cust_comments_edit', customer_id = '$customer_id_edit', shared = '$shared_edit', ip_address = '$ip_address_edit', server_name = '$server_name_edit', site_id = '$site_id_edit', host_price = '$host_price_edit' WHERE domain = '$domainhosted' -Mike -Original Message- From: Victoria Reznichenko [mailto

<    1   2   3   4   5   6   7   8   9   10   >