(log_file_size, innobase_log_file_size,
The docs are wrong - I'll have that updated.
Best regards
Mark
--
Mark Leith
MySQL Regional Support Manager, Americas
Sun Microsystems, Inc., http://www.sun.com/mysql/
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe
LD_ASSUME_KERNEL=2.6.9', to switch back to
LinuxThreads 'export LD_ASSUME_KERNEL 2.4.19'.
I'd be interested in seeing if that stores the right PID for you whilst
running under NPTL.
Best regards
Mark
--
Mark Leith
MySQL Regional Support Manager, Americas
Sun Microsystems, Inc., http://www.sun.com/mysql
these anyway! ;)
Cheers,
Mark
--
Mark Leith
MySQL Regional Support Manager, Americas
Sun Microsystems, Inc., http://www.sun.com/mysql/
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
:
Marketing Potential.
:)
--
Mark Leith, Manager of Support, Americas
MySQL AB, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
),
default is '*', i.e. match all
-i NAME name of server instance (if using mysql.server startup
script)
-l don't subtract lock time from total time
http://dev.mysql.com/doc/refman/5.0/en/slow-query-log.html
Regards
Mark
--
Mark Leith, Manager of Support
Baron Schwartz wrote:
Correct. But if you are willing to patch your server, you can:
http://www.mysqlperformanceblog.com/2007/10/31/new-patch-for-mysql-performance/
This is in 5.1 as well now :)
Regards
Mark
--
Mark Leith, Manager of Support, Americas
MySQL AB, www.mysql.com
Are you
,
rather than a full 4G.
Cheers,
Mark
--
Mark Leith, Senior Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com
Baron Schwartz wrote:
Mark Leith wrote:
And in practice, a 32bit binary is actually limited to around ~2.5-2.7G,
rather than a full 4G.
What are the practical memory limits for 64-bit binaries? I have
heard that MySQL's indexing code is only 32-bit safe anyway, and I
assume for example
Baron Schwartz wrote:
Mark Leith wrote:
And in practice, a 32bit binary is actually limited to around ~2.5-2.7G,
rather than a full 4G.
What are the practical memory limits for 64-bit binaries? I have
heard that MySQL's indexing code is only 32-bit safe anyway, and I
assume for example
understand.
Cheers,
Mark
--
Mark Leith, Senior Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL
--
Mark Leith, Senior Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Baron Schwartz wrote:
Mark Leith wrote:
Baron Schwartz wrote:
I stand corrected. I don't know why I didn't think of this!
So you guys had to go the route of parsing InnoDB status too, huh?
Fun, isn't it!
Indeed, it is a rather interesting thing to do ;) Made even better
when
(transactions and all)
to the monitor screen (it just monitors for key statistics and alerts
when necessary).
Cheers,
Mark
--
Mark Leith, Senior Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
--
MySQL General Mailing List
opposite LEAST()..
Cheers,
Mark
--
Mark Leith, Senior Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL
testing does show that it's not working for you.
Cheers,
Mark
--
Mark Leith, Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http
on there?
Cheers,
Mark
--
Mark Leith, Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
, and all these errors should go
away.
Cheers,
Mark
--
Mark Leith, Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http
mysql
drwxr-x---9 mysql wheel 306 May 3 10:52 test
I declare 'No Bug Here' :) At least on the current versions of 5.0
(tested on 5.0.40), anyway.
Cheers!
Mark
--
Mark Leith, Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL certified? www.mysql.com
) and will see how it works out.
Cheers!
Mark
--
Mark Leith, Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL
Mark Leith wrote:
Juan Eduardo Moreno wrote:
Hi,
I'm experience using expire_log_days and don't work. I set this
parameters
in the CNF and when the time of ( for example 5 days) is in, don't
delete
anything.
On my expirience, this parameters don't work ( 5.0.27).
I am testing this now
clauses are done (where one can use a
column alias, when not available within a WHERE clause).
However, you should be able to use them in an ORDER BY - as they do
exist at that point - so I'm not sure that issue would have been related
to this.
Best regards
Mark
--
Mark Leith, Support
is *not* the alias but the
individual column. Results of an aggregate function are *never*
available in a WHERE clause.
You need a HAVING clause.
Ahh indeed, I was only looking at the aliasing of the group concat
function. :)
Teach me for skimming emails!
Mark
--
Mark Leith, Support Engineer
MySQL AB
?
Perfectly legal, will not get changed. :)
Cheers,
Mark
--
Mark Leith, Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http
this in the bug report as well
Do you have any way to reproduce this as yet?
Cheers,
Mark
--
Mark Leith, Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
--
MySQL General Mailing List
For list archives: http://lists.mysql.com
CURRENT_USER) to
have the SUPER privilege. Within 5.1 this moves to the TRIGGER privilege.
Best regards
Mark
--
Mark Leith, Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
--
MySQL General Mailing List
For list archives: http
,
Mark
--
Mark Leith, Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
(although, they will still likely be
in memory unless you the table is large, again).
You should of course EXPLAIN and tune accordingly (with response times
as well).
Cheers,
Mark
--
Mark Leith, Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL certified
'...
Thanks,
order by right(office,1)
or make an extra column for ordering
Or be really smart :)
SELECT * FROM team ORDER BY office='Exec' DESC,office='VP'
DESC,office='Dir' DESC;
Not many people know that you can order by literals as well ;)
Cheers,
Mark
--
Mark Leith, Support
//
++
| Tables_in_test |
++
| a1 |
| a2 |
++
2 rows in set (0.00 sec)
Hope this helps.
Mark
--
Mark Leith, Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
along the lines of what you want..
Cheers,
Mark
--
Mark Leith, Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com
.
UPDATE this_table SET
this_date = '$this_date',
future_date = '$this_date' + INTERVAL 90 DAY;
Same thing still applies really.. And quote your dates...
Cheers,
Mark
--
Mark Leith, Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL certified? www.mysql.com
|
+--+--+
| one | one bookmark |
| xxx | hawt xxx sex |
+--+--+
2 rows in set (0.27 sec)
Cheers,
Mark
--
Mark Leith, Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
--
MySQL General Mailing List
;
+--+--+--+
| i| j| k|
+--+--+--+
| 0023 | 3244 | 0123 |
+--+--+--+
1 row in set (0.08 sec)
Make sure you specify the length of the digits that you would like
padded to within the INT specification.
Best regards
Mark
--
Mark Leith, Support Engineer
MySQL AB
user -BN dbname file.sql
mysql -u root -BN -e SHOW DATABASES
etc.
Regards
Mark
--
Mark Leith, Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
- however shouldn't be that hard to script, either.
Hope this helps!
Best regards
Mark
--
Mark Leith, Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
table_name SET FIELD4 = (@tmp:=FIELD4), FIELD4 = FIELD1, FIELD1 =
@tmp;
Best regards
Mark
--
Mark Leith, Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
a comment using COMMENT keyword:
CREATE TABLE a_table
(
a_column CHAR(30) CHARSET utf8 COMMENT 'Some comment'
);
Is this... what you needed ?
--
Gabriel PREDA
Senior Web Developer
Best regards
Mark
--
Mark Leith, Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL
quickly - so
it's a fairly obvious one every time I see it now ;)
Best regards
Mark
--
Mark Leith, Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
comfortable tweaking these values in a production
environment while I have no indication that it could solve the problem.
Jorrit
It seems you are running in to Bug #7209:
http://bugs.mysql.com/bug.php?id=7209
This is fixed in 5.0.19 now.
Best regards
Mark
--
Mark Leith,
Support Engineer MySQL AB
tables between machines you need:
o All ib data files
o All ib logfiles
o All related database directories and frm files
o Your my.cnf/ini
http://dev.mysql.com/doc/refman/5.0/en/innodb-backup.html
Regards
Mark
--
Mark Leith, Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you
of the Essentials package.
I tried to install a similar setup on another server, then copy the
data\ folder over. The MySQL service starts, but I am not able to
login, even as root.
Is there anyone who can advise me on the recovery steps?
Appreciate your feedback!
--
Mark Leith, Support
problem (when weighing them against extra costs, in both space and
speed). If you can get away with not using NULL as well, then great.
This argurment will, however, carry on between academia and the real
world for at least the next 4000 years. :)
Best regards
Mark
--
Mark Leith, Support Engineer
Hi Neil,
Neil Tompkins wrote:
Is anyone running mySQL on Windows 2003 server platform. Are there
any known problems ?
There is a known bug for Windows 2003 - bug #12071:
http://bugs.mysql.com/bug.php?id=12071
You should use 4.0.19 or 5.0.19.
Best regards
Mark
--
Mark Leith, Support
in the example.
Best regards
Mark
--
Mark Leith, Support Engineer
MySQL AB, Worcester, England, www.mysql.com
Are you MySQL certified? www.mysql.com/certification
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
on statements that have multiple GROUP BY columns ;)
You can read more about WITH ROLLUP here:
http://dev.mysql.com/doc/mysql/en/group-by-modifiers.html
Mark Leith
-Original Message-
From: Tony Leake [mailto:[EMAIL PROTECTED]
Sent: 16 September 2005 13:19
To: mysql@lists.mysql.com
,'test','test',1,1,'PG');
1 row created.
---change prompts---
mysql use sakila
Database changed
mysql select max(film_id) from film;
+--+
| max(film_id) |
+--+
| 100 |
+--+
1 row in set (0.01 sec)
HTH
Mark Leith
--
No virus found in this outgoing
|
+--+--++
1 row in set (2.78 sec)
Query OK, 0 rows affected (2.97 sec)
Hope this helps,
Mark
Mark Leith
Cool-Tools UK Limited
http://www.cool-tools.co.uk
http://leithal.cool-tools.co.uk
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus
sec)
Mark
Mark Leith
Cool-Tools UK Limited
http://www.cool-tools.co.uk
http://leithal.cool-tools.co.uk
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.10/73 - Release Date: 15/08/2005
--
MySQL General Mailing List
For list
this in
#mysql on freenode last night as it happens..
Mark
Mark Leith
Cool-Tools UK Limited
http://www.cool-tools.co.uk
http://leithal.cool-tools.co.uk
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.10/73 - Release Date: 15/08/2005
datatype and I'd like to return the values in a
vb-compatible datatype.
You can use DATE_FORMAT() for this:
http://dev.mysql.com/doc/mysql/en/Date_and_time_functions.html
Mark
Mark Leith
Cool-Tools UK Limited
http://www.cool-tools.co.uk
http://leithal.cool-tools.co.uk
--
No virus found
believe..
EXECUTE on a GLOBAL level would, of course, allow the grantee to call any
stored procedure.
HTH
Mark
Mark Leith
Cool-Tools UK Limited
http://www.cool-tools.co.uk
http://leithal.cool-tools.co.uk
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
Database Workbench - tool for InterBase, Firebird, MySQL,
Oracle MS SQL Server Upscene Productions
http://www.upscene.com Database development questions? Check
the forum!
http://www.databasedevelopmentforum.com
Yep..
Mark
Mark Leith
Cool-Tools UK Limited
http://www.cool-tools.co.uk
http
language in the table,
so I can verify this for you if you want ;)
Perhaps your false misses are due to something else, such as
ft_min_word_len, or the values being in more than 50% of the rows etc.
Mark
Mark Leith
Cool-Tools UK Limited
http://www.cool-tools.co.uk
http://leithal.cool-tools.co.uk
ON
PROCEDURE admin.update_user_password TO .. to each user that you want to
allow to update a password.
Hope this helps out a little with the original question as well..
Mark
Mark Leith
Cool-Tools UK Limited
http://www.cool-tools.co.uk
http://leithal.cool-tools.co.uk
-Original Message
CREATE PROCEDURE title()
BEGIN
DECLARE title VARCHAR(255);
SET title = '%Unconditional%';
SELECT title;
END;
//
mysql CALL title()//
+-+
| title |
+-+
| %Unconditional% |
+-+
1 row in set (0.01 sec)
HTH
Mark
Mark Leith
Cool-Tools UK
-Original Message-
From: Scott Hamm [mailto:[EMAIL PROTECTED]
Sent: 02 August 2005 15:38
To: [EMAIL PROTECTED]
Cc: Mysql
Subject: Re: STORED PROCEDURE
On 8/2/05, Mark Leith [EMAIL PROTECTED] wrote:
CREATE PROCEDURE title()
BEGIN
DECLARE title VARCHAR(255);
SET title
-Original Message-
From: Mark Leith [mailto:[EMAIL PROTECTED]
Sent: 02 August 2005 15:56
To: mysql@lists.mysql.com
Subject: RE: STORED PROCEDURE
-Original Message-
From: Scott Hamm [mailto:[EMAIL PROTECTED]
Sent: 02 August 2005 15:38
To: [EMAIL PROTECTED]
Cc
. instead of:
Null, A, B, C
result would be:
X, Y, Z, null
How can I get around to that?
Something like
ORDER BY IF(col IS NULL, 1, 0), col
Michael
Or simply:
ORDER BY col IS NULL, col
Which will probably be *slightly* faster..
Mark
Mark Leith
Cool-Tools UK
read more about this here:
http://www.microsoft.com/whdc/system/platform/server/PAE/PAEmem.mspx
Basically, add a \3GB switch to your boot.ini file.
Then you can start look at tuning the memory on MySQL as well..
HTH
Mark
Mark Leith
Cool-Tools UK Limited
http://www.cool-tools.co.uk
Hi Joppe,
Use SOURCE or \. to execute the filename:
mysql SOURCE E:\SQL\MySQL\test_tables.sql
Database changed
++
| Tables_in_test |
++
| a |
| academies |
.
HTH
Mark
Mark Leith
Cool-Tools UK Limited
http://www.cool-tools.co.uk
if you do..
Cheers,
Mark
Mark Leith
Cool-Tools UK Limited
http://www.cool-tools.co.uk
-Original Message-
From: Martijn Tonies [mailto:[EMAIL PROTECTED]
Sent: 29 March 2005 10:39
To: [EMAIL PROTECTED]; mysql@lists.mysql.com
Subject: Re: 5.03 Still crashes on win32
Warning, do
Foreign keys are only supported within InnoDB tables (on both sides)..
Mark
Mark Leith
Cool-Tools
http://www.cool-tools.co.uk
-Original Message-
From: Philipp Snizek [mailto:[EMAIL PROTECTED]
Sent: 22 February 2005 10:30
To: Mysql List (E-mail)
Subject: referencial integrity problem
Change the column from a TINYINT (which has a maximum value of 127), see
here:
http://dev.mysql.com/doc/mysql/en/numeric-types.html
HTH
Mark
Mark Leith
Cool-Tools UK Limited
http://www.cool-tools.co.uk
-Original Message-
From: mel list_php [mailto:[EMAIL PROTECTED]
Sent: 14
: http://dev.mysql.com/doc/mysql/en/cannot-roll-back.html
HTH
Mark
Mark Leith
Cool-Tools UK Limited
http://www.cool-tools.co.uk
-Original Message-
From: Ville Karjalainen [mailto:[EMAIL PROTECTED]
Sent: 04 February 2005 13:59
To: mysql@lists.mysql.com
Subject: Question: InnoDB transaction
the current installed service.
If you can't get to this (i.e the install dir has been removed) - with
the new installer you can use a different name for the service, such as
MYSQL41.
HTH
Mark
Mark Leith
Cool-Tools UK Limited
http://www.cool-tools.co.uk
-Original Message-
From: Gleb
. It will
then generate an application error to the user with another procedure.
Don't get me wrong Rhino, your example was great, and is still very
applicable.. I just thought this might be a slightly more insightful
example of what SP's can really handle.
Best regards
Mark
Mark Leith
Cool-Tools UK
would be fantastic
as well!!
Mark dreaming away the day
-Original Message-
From: Rhino [mailto:[EMAIL PROTECTED]
Sent: 30 November 2004 16:04
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Stored Procedure?
- Original Message -
From: Mark Leith [EMAIL PROTECTED
67 matches
Mail list logo