Monitoring and analysis tool

2007-12-15 Thread Daniel Caune
per minute? P.S.: we are using mytop and innotop, but it seems that they don't support such a feature. We see a lot of different queries executed against MySQL but we can't figure out, which kind of queries is the most executed, on which database. Thanks, -- Daniel -- MySQL General Mailing

Re: Weird behavior with date(null) and if

2007-12-14 Thread Daniel Mikic
Baron Schwartz schrieb: On Dec 13, 2007 4:18 PM, Daniel Mikic [EMAIL PROTECTED] wrote: Baron Schwartz wrote: Hi, On Dec 13, 2007 3:53 PM, Daniel Mikic [EMAIL PROTECTED] wrote: Hi, i hit a weird behavior: select date(null); #result is null select if(date(null) is null, 1, 2

Weird behavior with date(null) and if

2007-12-13 Thread Daniel Mikic
Hi, i hit a weird behavior: select date(null); #result is null select if(date(null) is null, 1, 2); #result is 2 (not null) select if(date(null) is not null, 1, 2); #result is 1 I use mysql version 5.0.32-Debian_7etch1-log. Is this a bug and if not, can anyone explain why? Thanks, Daniel

Re: Weird behavior with date(null) and if

2007-12-13 Thread Daniel Mikic
Baron Schwartz wrote: Hi, On Dec 13, 2007 3:53 PM, Daniel Mikic [EMAIL PROTECTED] wrote: Hi, i hit a weird behavior: select date(null); #result is null select if(date(null) is null, 1, 2); #result is 2 (not null) select if(date(null) is not null, 1, 2); #result is 1 I use mysql version

Need a *little* help with a procedure

2007-12-10 Thread Daniel Kasak
/ TotalDays ) as ProjectedAnnualSpend from GasLocations where LocID = GasLocationID; END --- -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http

Re: MySQL Server not running

2007-10-15 Thread Daniel Bau
Nothing, the server is definetively not running You get the bug script from me.. regards Daniel Datum: Fri, 12 Oct 2007 15:44:29 +0530 Von:Ananda Kumar [EMAIL PROTECTED] An: Daniel Bau [EMAIL PROTECTED] Betreff:Re: MySQL Server not running Kopie an: mysql

Re: MySQL Server not running

2007-10-15 Thread Daniel Bau
] An: Ananda Kumar [EMAIL PROTECTED] Kopie an: Daniel Bau [EMAIL PROTECTED], mysql@lists.mysql.com Betreff:Re: MySQL Server not running Given that FEHLGESCHLAGEN means failed and coupled with the proceding text, I would assume that you don't have mysql installed

MySQL Server not running

2007-10-12 Thread Daniel Bau
workes and when I instal the old version it works. I hope you can help me, in attachment the mysql_bug.script result Greetings from Germany Bau Daniel university for applied science www.fh-offenburg.de Der folgende Teil dieser Nachricht enthält einen Anhang im sogenannten Internet MIME

Re: MySQL Server not running

2007-10-12 Thread Daniel Bau
a problem with the mysql_install_db but dont tell me what for problem. The message say i should execute the bug script and send it to you . Greetings Bau Daniel Datum: Fri, 12 Oct 2007 14:45:45 +0530 Von:Ananda Kumar [EMAIL PROTECTED] An: Daniel Bau [EMAIL PROTECTED] Betreff

RE: Ouch! ibdata files deleted. Why no catastrophe?

2007-09-26 Thread Daniel Kasak
, and imported, and everything went fine. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au -- MySQL General Mailing List For list

Ouch! ibdata files deleted. Why no catastrophe?

2007-09-25 Thread Daniel Kasak
# The only way I can explain the fact that things are still working is that these files are in fact *not* deleted, and are still in use by mysql, but not visible to anything else. But that's ridiculous as well. So what's going on? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific

Re: Ouch! ibdata files deleted. Why no catastrophe?

2007-09-25 Thread Daniel Kasak
? At this point, I still think it might be a better idea to do a complete reinstall / restore / transaction log run. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website

Re: Ouch! ibdata files deleted. Why no catastrophe?

2007-09-25 Thread Daniel Kasak
again for your response. At least I learned about lsof and recovering deleted files :) -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http

Re: Extensive Project help

2007-07-30 Thread Daniel Kasak
the enitre SQL here for u to use, please someone respond as i would like to get this accomplished as soon as possible, Your best bet is to post the problem to the mailing list. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61

Re: Hybrid Environment

2007-07-25 Thread Daniel Kasak
( commercial distribution of Wine ). Once you've had a stable, hassle-free desktop for a couple of months, then you can start moving others with some confidence. Enjoy :) -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F

Re: database cache /

2007-07-02 Thread Daniel Kasak
on appropriate fields. Generally you want them on fields used in joins, and fields in your 'where' clause. If you post your query and the output of 'show create table TABLE_NAME' for each table involved, someone might suggest which fields to add indexes to. -- Daniel Kasak IT Developer NUS Consulting Group

Re: Document archiving

2007-06-28 Thread Daniel Kasak
just tell me, for hack one or develop from scratch. I'm OK with everything apart from the Java bit. Sorry. It's not really my cup of tea ( no offence ... I realise that most Java people say the same thing about Perl ). -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway

Re: Document archiving

2007-06-27 Thread Daniel Kasak
can't find anything, and I may ( time permitting, and I obviously can't do it here at work, or it wouldn't be open-source ) have a go at it. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989

RE: master status is null

2007-06-20 Thread Daniel Donckers
The problem is probably due to your using both '\G' and ';' to end your command statement. You can only use one or the other. Thanks, Daniel J. Donckers -Original Message- From: Ananda Kumar [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 9:23 AM To: MySQL General Subject

How to trace statements executed in a procedure called by a client?

2007-06-06 Thread Daniel Caune
language= /usr/share/mysql/english long_query_time = 1 log-queries-not-using-indexes skip-external-locking verbose log_bin_trust_function_creators = 1 Thanks a lot! -- Daniel -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http

MySQL 5, stored procedure, mysql-slow.log

2007-06-05 Thread Daniel Caune
Hi, Is there any configuration to be setup to get each query of a stored procedure, called by a client, in the mysql-slow.log or mysql.log? For the moment, I just have the stored procedure call in the log file, but I need to trace every SQL statement of this stored procedure. # Time:

Re: more than 10000 fields in the OR clause

2007-04-17 Thread Daniel Kasak
performance across slow network connections ( eg DSL ). -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au -- MySQL General Mailing

Joins versus Grouping/Indexing: Normalization Excessive?

2007-04-02 Thread Daniel Cousineau
include it'll be using the latest, stable release of MySQL 5 and I'll be developing in PHP5 (through CakePHP's database abstraction layer). -- Thanks and Gig 'Em! Daniel Cousineau http://www.terminalfuture.com/ http://www.linkedin.com/in/dcousineau [EMAIL PROTECTED]

Re: Why doesn't the InnoDB count() match table status?

2007-03-26 Thread Daniel Kasak
() if it makes you happy. This is absolutely baffling and astonishing how a company so seemingly smart could make such an incredible blunder. :-\ Oh the melodrama! Won't someone please think of the children! -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North

Re: Posting A Question

2007-03-19 Thread Daniel Kasak
John Sutton wrote: Hi... How do I go about posting a question about MySQL? I think you're getting the hang of it. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL

performance of big tables - fundamental question on how to design a database

2007-03-16 Thread Daniel Weiss
Hello list, I'm currently developing a newsletter tool allowing customers to send their newsletters to their clients and get all kinds of statistics. For each customer of ours, I need to save up to five different lists of newsletter recipients with their email addresses and some other stuffs

Re: How can I detect if MySql is already installed?

2007-02-15 Thread Daniel da Veiga
an answer. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- -- MySQL General Mailing List For list

Re: Temporary table lifespan

2007-02-15 Thread Daniel Kasak
be able to see the table. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au -- MySQL General Mailing List For list archives

Re: Temporary table lifespan

2007-02-15 Thread Daniel Kasak
or something ). -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au -- MySQL General Mailing List For list archives: http

Re: ODBC connector 3.51/5.0

2007-02-13 Thread Daniel Kasak
should go back to the previous stable version ( 3.51.06 ) as recommended, but you will have to also go back to MySQL-4.0.x or tell your post-4.0.x server to use the old authentication method. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia

Re: MYSQL under windows -- Max number of instances

2007-02-05 Thread Daniel da Veiga
to give them different TCP ports to listen... -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK

Re: Backup: Copy MYSQL Directory or use MysqlDump

2007-01-23 Thread Daniel da Veiga
to test and choose from multiple options in this matter. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE

Re: Unable to put data on a different computer from mysql

2007-01-23 Thread Daniel da Veiga
on a real system with some valuable data. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK

Removing space characters ... char(160)? ... char(194)?

2007-01-22 Thread Daniel Kasak
). It defies logic. Who knows what's going on? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au -- MySQL General Mailing List

Re: Visual Basic 6 + MySQL

2007-01-21 Thread Daniel Kasak
://entropy.homelinux.org/axis/ It's a whole lot faster than VB, and also cross-platform ( tested heavily under Windows 2000 and Gentoo Linux, and initial development done on OS-X ). If you don't wanna use Perl, then try the PHP bindings for Gtk2 instead :) -- Daniel Kasak IT Developer NUS Consulting Group

Include a stored procedure ( that returns a recordset ) in another query

2007-01-21 Thread Daniel Kasak
the SP to the query, but in some other cases, the SP bit will be quite complex. Dan -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http

Re: MySQL Administrator problem

2007-01-20 Thread Daniel Culver
been this way for a couple of years and through a few upgrades; it very well could be that I have something configured or installed wrong. What do you think? Daniel Culver [EMAIL PROTECTED] On Jan 20, 2007, at 7:04 PM, Kevin Spencer wrote: On 1/19/07, Daniel Culver [EMAIL PROTECTED] wrote

Re: MySQL Administrator problem

2007-01-19 Thread Daniel Culver
will accept any correct password combination under ShadowHash or other authorising protocol, but you will still be working in the account you are in with those privileges. HTH Daniel Culver [EMAIL PROTECTED] On Jan 17, 2007, at 4:49 PM, Ed Reed wrote: Unable to manage user accounts through

Re: MySQL 5.0.x and 5.1.x Compiling options and settings on Linux IA64: one more question: ./bin/mysqladmin: connect to server at 'localhost' failed

2007-01-19 Thread Daniel Culver
Don't include the password, let mysql prompt for it. ' ./bin/ mysqladmin -u root password -p '. Daniel Culver [EMAIL PROTECTED] On Jan 17, 2007, at 7:57 PM, Mariella Petrini wrote: ./bin/mysqladmin -u root password '***' ./bin/mysqladmin: connect to server at 'localhost' failed

Having problems with what appears to be a simple query.

2007-01-17 Thread Daniel Smith
I have a table with numerous columns but needing to perform a query based on three columns: Lab_number, result, release_time. What I want to do is search for lab_number where there is a result but not released. The problem that is making this difficult for me, is that there are multiple entries

Re: Having problems with what appears to be a simple query.

2007-01-17 Thread Daniel Smith
On Wed, 2007-01-17 at 09:56 -0600, Peter Brawley wrote: Daniel, find the lab_number where ALL the tests have been performed and not the lab_numbers which have partial results. SELECT t1.lab,t1.res,t1.dt FROM tbl t1 WHERE NOT EXISTS( SELECT lab FROM tbl t2 WHERE t1.lab=t2.lab AND t2

Re: Having problems with what appears to be a simple query.

2007-01-17 Thread Daniel Smith
On Wed, 2007-01-17 at 11:47 -0600, Peter Brawley wrote: Daniel, CREATE TABLE tbl ( lab_number int(11) default NULL, result int(11) default NULL, release_time datetime default NULL ); select * from tbl; +++-+ | lab_number | result

Re: Selecting Different Tables Based on Value. Case seems to fail.

2007-01-08 Thread Daniel Kasak
-join all the tables, and then put the case statement in the select statement. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au

Re: Selecting Different Tables Based on Value. Case seems to fail.

2007-01-08 Thread Daniel Kasak
through hoops to join to the right table. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au -- MySQL General Mailing List

Re: Help optimizing this query?

2007-01-07 Thread Daniel Kasak
for each record? It's possible that it does. You could try doing this in a separate query / calculation, and then pass the result into the query. Anyway, investigate it ... as I said, I'm not sure how MySQL handles this. Maybe others can comment. -- Daniel Kasak IT Developer NUS Consulting Group

Global Unique Identifiers

2007-01-04 Thread Daniel Kiss
when I execute complex queries based on primary key relations? Does it pay to use the ease of the second solution? Anyone has any experience in similar problems? What is your opinion? Thanks, Daniel -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe

Illegal mix of collations

2007-01-03 Thread Daniel Kasak
(latin1_swedish_ci,IMPLICIT), (utf8_general_ci,COERCIBLE), (utf8_general_ci,COERCIBLE) for operation 'replace' I have no idea what it's talking about. How do I fix it? Dan -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2

Re: no log generated?

2006-12-19 Thread Daniel da Veiga
it be that the problems you mentioned generate warnings and not errors? If so, then you won't see anything in the error log, only if you use the log-warnings variable. Check the manual... -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C

Re: Linux Installation

2006-12-15 Thread Daniel da Veiga
sort of consistency (replication?) between the servers. Oh, combine high load services with M$ and NTFS and you'll get problems (my personal experience, no flames intended). -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA

Re: Where to get Source Distribution of MySQL Server 5.0 Standard for FreeBSD?

2006-12-14 Thread Daniel Kasak
VeeJay wrote: Hi Where one can find Source Distribution of MySQL Server 5.0 Standard for FreeBSD? Not on the website, that's for sure. Have you tried the usual warez sites, p2p networks, etc? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW

Re: account that can only do backup

2006-12-13 Thread Daniel da Veiga
: http://dannyman.toldme.com/2006/08/22/mysql-backup-grant-privileges/ -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y

Re: *bump* Upgrade wiped out table? What to do?

2006-12-12 Thread Daniel da Veiga
easily. You can always install the old version you had and try copying the file direcly to get the data back, but I guess the corruption is in the file, so, there's really not much to do... Check your filesystem integrity ASAP. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE

Re: old-password issue with mysqldump

2006-12-11 Thread Daniel da Veiga
there. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- -- MySQL General Mailing List For list

Re: old-password issue with mysqldump

2006-12-11 Thread Daniel da Veiga
this so I have to use old-passwords option in the new servers :) Thanks On 12/11/06, Daniel da Veiga [EMAIL PROTECTED] wrote: On 12/11/06, Ahmad Al-Twaijiry [EMAIL PROTECTED] wrote: Hi everyone I'm using mysqld with option old-passwords in my server (let's call it serverA) and in my

Re: Renaming the root user - problems.

2006-12-07 Thread Daniel da Veiga
and many dictionary passwords. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- -- MySQL

Re: MySQL Performance Degrades Significantly Over Time

2006-12-04 Thread Daniel da Veiga
On 12/4/06, Jason J. W. Williams [EMAIL PROTECTED] wrote: Hi Daniel, Thank you very much for your help and advice. After some examination, we discovered a couple of things. It looks like our storage array layout was really bad for the IOPS MySQL was throwing at it, as a result the InnoDB

InnoDB: What happens when a single AUTOEXTEND file goes past 2GB?

2006-12-03 Thread Daniel Kasak
Hi all. I'm about to import a LOT of data ( 20 GB ) into some InnoDB tables. At the moment, I have: innodb_data_file_path = ibdata1:10M:autoextend in my /etc/mysql/my.cnf The ibdata1 file is 499MB at the moment. What happens when this goes past 2GB? Do I automatically get allocated

Re: InnoDB: What happens when a single AUTOEXTEND file goes past 2GB?

2006-12-03 Thread Daniel Kasak
Carlos Proal wrote: Daniel, innodb data files keep growing as needed, it even be of 20Gb or more. I was under the impression that you should avoid files 2GB on 32 bit systems, which have to do some dodgy stuff to support files bigger than 2GB. Does this advice apply? If you want several

Re: InnoDB: What happens when a single AUTOEXTEND file goes past 2GB?

2006-12-03 Thread Daniel Kasak
Paul DuBois wrote: At 10:57 AM +1100 12/4/06, Daniel Kasak wrote: Carlos Proal wrote: Daniel, innodb data files keep growing as needed, it even be of 20Gb or more. I was under the impression that you should avoid files 2GB on 32 bit systems, which have to do some dodgy stuff to support

Re: MySQL Performance Degrades Significantly Over Time

2006-11-27 Thread Daniel da Veiga
for it. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- -- MySQL General Mailing List For list archives

One big table or several smaller tables?

2006-11-27 Thread Daniel Smith
Assuming a decent spec server, would a simple search query on a big indexed table be quicker than searching the amount of data divided into separate tables? The kind of situation I have in mind is a database of events during a year, this table could top 1,000,000 enteries on the vague kind of

Re: Newbie - View several databases as one

2006-11-24 Thread Daniel da Veiga
friend is a DBA and he once told me that if you have to CODE the creation of a database for any purpose besides restoring a backup, something is wrong. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N

Re: Problem with upgrade

2006-11-22 Thread Daniel da Veiga
to change password format or start your server with --old-passwords. I strongly suggest you to change your password format. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5

Re: Best way to backup a 24/7 database

2006-11-17 Thread Daniel da Veiga
... Choose your own :) -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- -- MySQL General Mailing

Re: Views accessed as table in MS Access

2006-11-12 Thread Daniel Kasak
), and then delete the MS Access link when you're done ( and delete the temporary table ). You can write a function that does this, and call it view_my_view() or something :) -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F

Re: check bugs.

2006-11-12 Thread Daniel Kasak
many records are present. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au -- MySQL General Mailing List For list archives

Re: Remove unwanted characters from a name field

2006-10-25 Thread Daniel da Veiga
. My 2 cents. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- -- MySQL General Mailing

Re: Oracle query..

2006-10-20 Thread Daniel Kasak
there will be able to give you more accurate advice than people here? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au -- MySQL General

Re: Oracle query..

2006-10-19 Thread Daniel Kasak
' to find the exact format and commands to use. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au -- MySQL General Mailing List

Re: Oracle query..

2006-10-19 Thread Daniel Kasak
tools are going to be the best bet, as they will set up your table definitions. There is a *remote* chance that Oracle will be able to import from a 'mysqldump' backup. You can also check that out, but I doubt it will work somehow. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77

Re: Importing a Database (.mpb file)

2006-10-08 Thread Daniel Kasak
for you. It's been a very long time since I looked at these - probably 5 years or so. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http

RE: Stored Procedures Question

2006-10-04 Thread Daniel Woods
You need create your select statement using a variable and the do the prepare statement; Drop Procedure If Exists RankStock; DELIMITER | Create Procedure RankStock(IN TableNameIn CHAR(20),IN ColNameIn CHAR(20)) begin Set @selStmt = Concat(Select ,ColNameIn, from ,TableNameIn, order by

Re: Shell

2006-09-11 Thread Daniel Salinas
is: export PATH=$PATH:/usr/local/mysql/bin You can use the vi instructions below. Daniel Salinas On 9/9/06 3:36 AM, Paul McCullagh [EMAIL PROTECTED] wrote: Hi Steve, You have to edit a file called .tcshrc which resides in your users home directory, and add :/usr/local/mysql/bin to the PATH

Re: Locked Table Issue..

2006-08-28 Thread Daniel Kasak
Access apps. If you know some Perl, you can always use something like: http://entropy.homelinux.org/axis_not_evil -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED

Re: Seperating Application server and Database server

2006-08-27 Thread Daniel Kasak
? Performance. And keep in mind that communication between MySQL and your application server will be *considerably* faster when they're both on the same system. If you put them on separate systems, obviously communication between the 2 will now be over the network. -- Daniel Kasak IT Developer NUS

Re: First View

2006-08-24 Thread Daniel Kasak
and zero bugs, and progressively remove features and add bugs, while decreasing the version number. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http

Re: #deleted records in access

2006-08-24 Thread Daniel Kasak
are used by a application I don't want to break. Is a solution without the need to change the tables ? You won't break anything by adding a timestamp field. Trust us :) And no, there is no way around this problem other than adding a timestamp field. -- Daniel Kasak IT Developer NUS Consulting

Re: #deleted records in access

2006-08-24 Thread Daniel Kasak
Andreas Moroder wrote: Daniel Kasak schrieb: Andreas Moroder wrote: Hello, when I open mysql table with access 97 using the latet mysql-odbc driver ( 3.51.12 ) I see only deleted records. What is happening ? I found many posts about this problem, but I can not, as told in this posts

Very long pauses on particular tables

2006-08-16 Thread Daniel Kasak
? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql

Re: Very long pauses on particular tables

2006-08-16 Thread Daniel Kasak
the names that are connecting to it? (ie is reverse dns set up properly). Um. Don't know that one. I'll forward this off to their IT guy and see. Thanks for the quick response :) Dan -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T

Re: Very long pauses on particular tables

2006-08-16 Thread Daniel Kasak
to make sense ... apart from the fact that this only seems to affect particular tables. But anyway, I'll certainly DNS lookups for MySQL. Thanks for your help. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F

Re: Version 4.1.9 crash

2006-08-08 Thread Daniel da Veiga
launch MySQL, but this kind of workaround is in most cases something to avoid. My advice: first of ALL, upgrade. Then, try again, if it fails, change your backup tool, if you have any other issue, come back and we may help. Good luck. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN

Re: query logging is making me mental!

2006-08-08 Thread Daniel da Veiga
. Remove the filename, or give it a full path. Try this and let us know. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y

Re: Code snippet to run at database service startup

2006-08-07 Thread Daniel da Veiga
a simple application to monitor the error log file for changes and check it to see if mysql was shutdown and/or started. Accourding to the manual: The error log file contains information indicating when mysqld was started and stopped snip -- Daniel da Veiga Computer Operator - RS - Brazil

Re: Problems connecting using -h hostname with new installation

2006-08-07 Thread Daniel da Veiga
instead. Also, check this: http://hackmysql.com/dns Hope that helped. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y

Re: MySQL SQL statistics

2006-08-07 Thread Daniel da Veiga
or CTRL+ALT+DEL on windows. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- -- MySQL General

Re: MySQL SQL statistics

2006-08-07 Thread Daniel da Veiga
STATSPACK of Oracle for MySQL. Now I'm pretty sure there's no such thing for MySQL, but someone else can point me wrong. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP

Re: Delete one record, automatically delete other records...

2006-08-07 Thread Daniel da Veiga
-constraints.html Hope that helped. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- -- MySQL

Re: Backup SQL

2006-08-04 Thread Daniel da Veiga
were trying to run both at once, which in my opinion is a Bad Idea(tm). What if each .sql contains a DROP TABLE IF EXISTS statement at the start? Something to be carefull if its the program that generated the backup likes to add this tags. -- Daniel da Veiga Computer Operator - RS - Brazil

Re: Backup SQL

2006-08-04 Thread Daniel da Veiga
On 8/4/06, Chris White [EMAIL PROTECTED] wrote: On Friday 04 August 2006 10:35 am, Daniel da Veiga wrote: What if each .sql contains a DROP TABLE IF EXISTS statement at the start? Something to be carefull if its the program that generated the backup likes to add this tags. What if my website

Re: upgrading mysql...

2006-08-03 Thread Daniel da Veiga
/downloads/mysql/5.0.html It wasnt that hard... -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK

Re: Any form to recover deleted data from a MYISAM/ISAM table?

2006-07-18 Thread Daniel da Veiga
can also use the binlogs (if you have them). -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK

Re: Upgrade from 4.1.7 to 4.1.20

2006-07-18 Thread Daniel da Veiga
it at all. One with such a big scheme should have a mirror, plus backups, just in case. Personally I have daily backups, a slave mirror and another backup of the backup files (network server with TSM backups). -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version

Re: mysql hangs on connection attempt

2006-07-18 Thread Daniel da Veiga
sort, then deal with the resultset, else it will connect, and that's all. Maybe if you post the entire PHP code, along with any error messages... -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o

Re: 3.23.58 - 5.0.22 upgrade

2006-07-18 Thread Daniel da Veiga
For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X

Re: Returning Resultsets from Stored Routines

2006-07-13 Thread Daniel Kasak
are in luck. If you are using MyODBC, then you will have to wait until the v5 connector is complete. If you are using DBD::mysql, then I'd be interested to hear how it works out - I'm about to start testing that in the next couple of days. I don't know the status of the JDBC or PHP drivers. -- Daniel

Re: I don't understand why SCSI is preferred.

2006-07-12 Thread Daniel da Veiga
. Nobody will do that, but you can jump for yourself for not googling for ide scsi sata pata performance. ;) I'm just kidding. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS

Re: I don't understand why SCSI is preferred.

2006-07-12 Thread Daniel da Veiga
(and no one will EVER sign it, *lol*). SCSI has one more advantage I forgot to add to my previous message, they can be arranged better in RAID with hot swap. I can only tell about my company, where servers have all SCSI disks (IBM, Dell). -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK

Re: Manually enabling root access from remote machine

2006-07-11 Thread Daniel da Veiga
a version 4 server on the same machine). How do I manually enable root access from remote machines as adding % into the list of hosts for root does not seem to do anything in Administrator? grant all privileges on *.* to root@'%' identified by PASSWORD('password'); ? -- Daniel da Veiga

Re: mysql - multimedia database

2006-07-11 Thread Daniel da Veiga
, because the database do not serve the data, only the info about it. Anyway, its MHO. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h

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