Re: How to get auto Increment ID of INSERT?

2015-10-08 Thread Carsten Pedersen
RT_ID(). Best, / Carsten On 08-10-2015 15:48, Richard Reina wrote: If I insert a record into a table with an auto increment ID how can I get that records ID value? I have read about SELECT LAST_INSERT_ID() statement, however, do not two statements introduce the risk that another insert may occ

Re: alter table modify syntax error

2014-06-28 Thread Carsten Pedersen
at line 1 Try: alter table car_table modify column color varchar(10) after model; / Carsten -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql

Re: error 29, file not found (errcode: 13)

2014-06-23 Thread Carsten Pedersen
Or use the LOCAL diective to have the client send the csv file contents to the server. / Carsten On 23-06-2014 16:59, Scott Helms wrote: I generally drop them into /tmp for easy access and cleanup after the data load, but you can put them any place that the mysql daemon process has access to

Re: Help with cleaning up data

2014-03-29 Thread Carsten Pedersen
On 29-03-2014 19:26, william drescher wrote: I am given a table: ICD9X10 which is a maping of ICD9 codes to ICD10 codes. Unfortunately the table contains duplicate entries that I need to remove. ... I just can't think of a way to write a querey to delete the duplicates. Does anyone have a sugg

Re: Questions about building a dedicated MySQL server.

2014-03-17 Thread Carsten Pedersen
RAM all your live data will easily fit in RAM at any given time - read speed will not be dependent on the disks once the data is loaded. Write speed might. "lots of writing" - what is that? 1000 10kB inserts/sec? 100 1MB inserts/sec? Best, / Carsten -- MySQL General Mailing Lis

Re: Mysql into outfile problem

2014-02-19 Thread Carsten Pedersen
I don't know what you mean by "straight" mysql connection. At any rate, the idea is to use --quick or otherwise using a connection which uses mysql_use_result over mysql_store_result. http://dev.mysql.com/doc/refman/5.6/en/mysql.html Best, / Carsten On 19-02-2014 12:02, M

Re: Mysql into outfile problem

2014-02-19 Thread Carsten Pedersen
If you're doing this from the cmd-line client, try running it using --quick. Best, / Carsten On 19-02-2014 09:03, Machiel Richards wrote: Hi guys I am hoping that someone might have experienced this before or might know why we are getting this. We regularly need to run

Re: hypothetical question about data storage

2013-07-29 Thread Carsten Pedersen
rence. ...right up to the day one of the disks fail, and you thought you could just plug in a new spindle and let the system take care of the rest... http://www.miracleas.com/BAARF/ http://www.miracleas.com/BAARF/RAID5_versus_RAID10.txt / Carsten -- MySQL General Mailing List For list archives:

Re: How can I drop a table that is named “logs/#sql-ib203” and appeared after MySQL crash?

2013-06-20 Thread Carsten Pedersen
This may be a naive question, but I'm not sure I can see you've covered this: Have you tried "USE logs" before DROP TABLE `#sql-ib203` (without the "logs/" bit)? / Carsten On 19-06-2013 21:00, Franck Dernoncourt wrote: Hi all, A table `logs/#sql-ib203` appea

Re: Audit Table storage for Primary Key(s)

2013-05-31 Thread Carsten Pedersen
Based on the little information available, I would make a lookup field consisting of tablename and primary keys. (although I still believe that storing this information in the database in the first place is probably the wrong approach, but to each his own) / Carsten On 31-05-2013 12:58

Re: Audit Table storage for Primary Key(s)

2013-05-31 Thread Carsten Pedersen
erts you can do per second over the next 1.000 years if you use a longint auto-increment field for your PK. / Carsten On 31-05-2013 11:14, Neil Tompkins wrote: Thanks for your response. We expect to use the Audit log when looking into exceptions and/or any need to debug table updates.

Re: Audit Table storage for Primary Key(s)

2013-05-31 Thread Carsten Pedersen
when it comes to searching for text strings. You could even consider having a CSV table, which will give you an SQL interface to said text file. / Carsten -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql

Re: help with mysql db names

2013-04-19 Thread Carsten Pedersen
:-) ...not to mention the many query generator tools that might come into use, which will fail because they do not consistently use back-ticks. NEVER use identififers - database or otherwise - that start with a digit. / Carsten -- MySQL General Mailing List For list archives: http://lists.mysql.com

Re: Best design for a table using variant data

2012-08-10 Thread Carsten Pedersen
You don't specify how many different types (including min/max values) you expect to be using. If you expect to end up with a few hundred, then you should perhaps consider using an ENUM or SET column directly in the data table. / Carsten On 10.08.2012 10:51, Gaston Gloesener wrote:

Re: Fwd: Query take too long time - please help!

2012-07-10 Thread Carsten Pedersen
around. The query you're showing here will force a table scan to calculate LOWER(ksd) for every single row. Also, how do you know that ksd id unique (as stated in your original post)? You have no index on it to ensure uniqueness. You'll have to find some other way to query the table.

Re: MySQL slowlog - only in file?

2012-05-14 Thread Carsten Pedersen
Alternatively, you can copy the data into another table easily: http://www.bitbybit.dk/carsten/blog/?p=115 Best, / Carsten On 14.05.2012 09:34, P.R.Karthik wrote: Hi Rafal, If there are more slow queries in your server and logging them into a table will increase the IO of the server. It is

Re: mySQL Query and Report Builder

2012-04-30 Thread Carsten Pedersen
pping you from using Excel or Access. Just create a read-only user on the tables they need to view, and set up the client with Connector/ODBC. Best, / Carsten -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql

Re: Batch update

2012-02-14 Thread carsten
(Key1, Key2) IN (val1, val2),(val3,val4), ... If 'Abc' changes per Key1&Key2 values, explore the CASE statement. Best, / Carsten -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql

Re: Questions about Mysqldump

2011-09-15 Thread Carsten Pedersen
le=databasetoignore.* | gzip > /media/disk-1/Server11_MysqlBackup_15September2011/mysql_15sep2011backup.sql.gz or create a short script that asks mysql> for all databases, greps away those you don't want to dump, and runs mysqldump on the rest. / Carsten 3) The docs are here for

Re: Update on inner join - looks good to me, where did I go wrong?

2011-09-09 Thread Carsten Pedersen
`userTable.userid` => `userTable`.`userid` / Carsten On 09-09-2011 23:01, Dotan Cohen wrote: Now that I've got the syntax right, MySQL is complaining that a field does not exist, which most certainly does: mysql> UPDATE -> `userTable` -> INNER JOIN `anotherTab

Re: WHERE does not work on calculated view field - Found word(s) list error in the Text body

2011-04-22 Thread Carsten Pedersen
On 22.04.2011 22:41, Larry McGhaw wrote: It does appear to be some type of bug to me. I agree. I was thrown by Daniels "first and third" comment, which I guess should read "second and third" I reproduced the behavior in 5.1.53-community on Windows. / Carsten -- MySQL

Re: WHERE does not work on calculated view field

2011-04-22 Thread Carsten Pedersen
ldn't at least one of them match the single row? (Preferably first and third ones.) What am I doing wrong here? I have no clue what's going on... Thanks a lot! Hint: What's the output of "SELECT * FROM `myview`? / Carsten -- MySQL General Mailing List For list archives: http://

Re: auto_increment by more than 1

2011-02-23 Thread Carsten Pedersen
Den 23-02-2011 18:41, Jim McNeely skrev: Is there a way to set the auto-increment for a particular table to increase by some number more than one, like maybe 10? Thanks in advance, Jim McNeely CREATE TABLE t ( ... ) AUTO_INCREMENT=10; / Carsten -- MySQL General Mailing List For list

Re: CURRENT insert ID

2011-01-23 Thread Carsten Pedersen
ehr... Den 23-01-2011 15:36, Carsten Pedersen skrev: Seeing from later posts that you're using InnoDB, why don't you simply wrap the INSERT/UPDATE into a transaction? You don't avoid the UPDATE, but I'm not sure I understand the need to mess w/ triggers. BEGIN INSERT INTO

Re: CURRENT insert ID

2011-01-23 Thread Carsten Pedersen
Seeing from later posts that you're using InnoDB, why don't you simply wrap the INSERT/UPDATE into a transaction? You don't avoid the UPDATE, but I'm not sure I understand the need to mess w/ triggers. BEGIN INSERT INTO t(id) NULL UPDATE t SET xxx=last_insert_id() COMMIT B

Re: unauthenticated user | while load testing

2011-01-05 Thread Carsten Pedersen
Usually this is caused by DNS-based authentication, where the reverse-DNS lookups are hanging for one reason or another. If you can, switch to IP-based authentication and use --skip-name-resolve. / Carsten On 05.01.2011 08:26, Yogesh Kore wrote: Hi, What is unauthenticated user seen in

Re: mysqlimport doesn't work for me

2011-01-03 Thread Carsten Pedersen
and mysqlimport - checking user privileges (are you using the same account in both instances?) - checking the line delimiter and --lines-terminated-by FWIW, I always prefer tab-delimited files over comma-separated ones. This gets around a lot of i18n issues. / Carsten Den 03-01-2011 19:33, J

Re: mysql_upgrade fails with "Access denied"

2010-11-28 Thread Carsten Pedersen
s with error 1045. My /etc/passwd file looks like there is no password for user mysql. What else should I try? You should use the password for the _MySQL_ root user, which is _not_ stored in /etc/passwd, but within MySQL. / Carsten -- MySQL General Mailing List For list archives: http://

Re: Dup Key Error Messages

2010-09-06 Thread Carsten Pedersen
detect that you got an error 1062, then do a db search to find out which field or fields have duplicate information. Cumbersome, but OTOH you'd also get a chance to realize if more than one key field is duped. / Carsten -- MySQL General Mailing List For list archives: http://lists.mysql.

Re: mysql vs postgresql -- is this list accurate?

2010-09-06 Thread Carsten Pedersen
y succesful with MySQL implementations, so if you already have a marked preference for working with MySQL, you might want to look at other products before making a decision. Having read that page, I know I would. / Carsten -- MySQL General Mailing List For list archives: http://lists.mysql.com/

Re: Altering database size to add more space

2010-06-25 Thread Carsten Pedersen
it on the > number of tables you can have in a schema imposed by mysql? Not by MySQL. On some file systems, there's a practical limit of ~10k tables/database. At that point, looking up directory entries can cause slowdowns. / Carsten -- MySQL General Mailing List For list archi

Re: Error 1064

2010-06-08 Thread Carsten Pedersen
ticed, but e.g. "0x123" is going to give you a nasty surprise. / Carsten -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org

Re: Can't create foreign key

2010-05-14 Thread Carsten Pedersen
Haven't done this in a while, but I'm guessing that you can't create both a constraint and an index with the same name? Type mismatch will in my experience most often generate an errno 150. / Carsten j...@msdlg.com skrev: I'm trying to create a foreign key by exe

Re: Array data type

2010-05-14 Thread Carsten Pedersen
There are SETs and ENUMs, but I've always found that dealing with them is annoying. YMMV / Carsten On Fri, 14 May 2010 13:54:29 +0530, "Samrat Kar" wrote: > Hello, > > > > How to store multiple values in a single field? Is there any array da

Re: Out of range value for column 'datestamp' at row 1

2010-05-09 Thread Carsten Pedersen
Gving the full error message would be helpful. Check that the sql mode settings for ALLOW_INVALID_DATE, NO_ZERO_DATE and NO_ZERO_IN_DATE are the same on both master and slave. / Carsten Prabhat Kumar skrev: Hi, I have setup replication between 2 servers, on both there is different versions

Re: order by numeric value

2010-04-27 Thread Carsten Pedersen
rk on strings. You should add a field to the result with the numerical value of Balance, and then sort on that. / Carsten -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org

Re: Auto Increment in InnoDB

2010-04-22 Thread Carsten Pedersen
osely. Wouldn't that strategy cause problems if one or more rows have been deleted in the meantime? (i.e. sequence numbers 1-4 have been created, row 2 has been deleted - new sequence number would be 4). / Carsten -- MySQL General Mailing List For list archives: http://lists.mysql

Re: Grants for own objects ?

2010-04-21 Thread Carsten Pedersen
ressed since then. How old is that MySQL book? Remove the manual edits you have made to the grant tables, and use only GRANT and REVOKE. I believe this will do what you want: CREATE USER "lentes"@"localhost"; GRANT ALL ON "lentes_%".* TO "lent

Re: Analysis of a weeks worth of general log

2010-04-20 Thread Carsten Pedersen
Carsten Pedersen skrev: Jim Lyons skrev: Has anyone tried using the log_output option in mysql 5.1 to have the general log put into a table and not a flat file? I used it for a while before having to downgrade back to 5.0 but thought it was a great idea. I'm curious to see if anyone

Re: Analysis of a weeks worth of general log

2010-04-20 Thread Carsten Pedersen
tried that once, and ran into some problems. Depending on your exact version, you might experience the same. http://www.bitbybit.dk/carsten/blog/?p=115 (also has a number of good comments on analysis tools) And yes, having the data available in a table is a Good Thing for analysis. / Carsten

Re: What if the user closes the browser while INSERT INTO MySQL? (PHP/MySQL)

2010-04-16 Thread Carsten Pedersen
t buffer and notices that there's no-one around to receive the output, the process may well be terminated. As long as you do not echo(), print() or flush() to a closed connection, you're probably going to be fine. / Carsten -- MySQL General Mailing List For list archives: http:/

Re: What if the user closes the browser while INSERT INTO MySQL? (PHP/MySQL)

2010-04-16 Thread Carsten Pedersen
http://php.net/manual/en/function.ignore-user-abort.php / Carsten On Fri, 16 Apr 2010 18:39:07 +0900, Antonio PHP wrote: > This maybe a newbie question. > > Consider the following concept, > > ~/index.php > > #1. Fetch data from an external webpage

Re: Make delete requests without impact on a database

2010-04-14 Thread Carsten Pedersen
mos skrev: At 01:20 PM 4/14/2010, Carsten Pedersen wrote: Been there, done that. It's a maintenance nightmare. Why is it a maintenance nightmare? I've been using this technique for a couple of years to store large amounts of data and it has been working just fine. In a prev

Re: numeric types

2010-04-14 Thread Carsten Pedersen
Check out the DECIMAL type. / Carsten Sebastien MORETTI skrev: Hello, I have a row which is defined as double unsigned (MySQL 5.0.26-Max, OpenSuse). Values in this row can go from a single digit, like 1, to values like 0.0006872207 or 1.2513e-18. I want to store exact numbers. But I

Re: Make delete requests without impact on a database

2010-04-14 Thread Carsten Pedersen
h data is not going to be great. It's a bit of a hassle to set up, but once done you don't have to worry about creating and deleting tables every day. / Carsten mos skrev: It looks like you only want to keep the current data, perhaps the current day's worth, and delete the o

Re: DATE_FORMAT parameter question

2010-04-09 Thread Carsten Pedersen
If you'll excuse the shameless plug: I once created a tool to help find the exact parameters to use for PHPs date() and MySQLs DATE_FORMAT(). Please see http://bitbybit.dk/php/date_format/ (Yes, it looks horrible. But it works) / Carsten Martin Gainty skrev: Good Afternoon All foll

Re: Problem with installing MySQL

2010-04-08 Thread Carsten Pedersen
don't have a space between '-p' and 'password', i.e. -ppassword / Carsten alba.albetti skrev: I've just installed MySQL on Windows 2000. I've opened the MS-DOS windows and I've written >C:\Programs\MySQL\...\bin\mysqladmin -u root -p password mysql

Re: Mysql - Tables Export to Excel!

2010-04-08 Thread Carsten Pedersen
The MySQL ODBC driver? / Carsten On Thu, 8 Apr 2010 10:42:28 +0530 (IST), Vikram A wrote: > Hi, > > I would like to export my table structure from MYSQL from a particular db. > Is there any tool for doing this? > > Please guide me. > > Th

Re: SHOW TABLE STATUS

2010-04-07 Thread Carsten Pedersen
AFAIR, MySQL 4.x supports LIKE, e.g. SHOW TABLE STATUS LIKE 'tab_%' / Carsten spacemarc skrev: hi all, in MySQL 4.1.x i want to obtain the status of more tables with one only query. In 5.x i use "SHOW TABLE STATUS WHERE Name IN ('tab_1', tab_2, 'tab_3'

Re: Converting String to Text in mysql

2010-04-06 Thread Carsten Pedersen
You can do some trickery with auto increment fields and multiple-column indexes. Have a look at http://www.bitbybit.dk/carsten/blog/?p=131 Beware that this is apparently a MyISAM-specific trick. / Carsten On Tue, 6 Apr 2010 16:02:48 +0530, "Suryanarayanan" wrote: > I am

Re: MyISAM better than innodb for large files?

2010-04-02 Thread Carsten Pedersen
ed to disk, the data will still be there if your db server crashes. It does indeed sound like you will be better off using MyISAM. This will also reduce your disk space usage considerably. / Carsten Mitchell Maltenfort skrev: I'm going to be setting up a MySQL database for a proje

Re: Variable for row number?

2010-03-12 Thread Carsten Pedersen
-+--+--+ | @a:=...@a+1 | c1 | s| +--+--+--+ |1 | 27 |5 | |2 | 35 |7 | +--+--+--+ 2 rows in set (0.00 sec) Best, / Carsten -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org

Re: dump time progressively increasing with Innodb

2010-03-08 Thread Carsten Pedersen
OPTIMIZE TABLE sometimes helps, ymmv. http://dev.mysql.com/doc/refman/5.1/en/optimize-table.html / Carsten Nico Sabbi skrev: Hi, I noticed that over the months the dump of my databases (very subject to modifications, but not subject to increase significantly in size) gets progressively

Re: slow queries not being logged

2010-02-23 Thread Carsten Pedersen
You might want to read the comments to this posting: http://www.bitbybit.dk/carsten/blog/?p=116 Several tools/methods for controlling and analyzing the slow query log are suggested there. Best, / Carsten On Tue, 23 Feb 2010 14:09:30 +0530, Ananda Kumar wrote: > slow query

Re: Any faster building primary/unique indexes after Load Data Infile?

2010-02-21 Thread Carsten Pedersen
other sources). Don't forget to set the MyISAM sort buffer size high while you create the indexes. / Carsten mos skrev: I am loading 35 million rows of data into an empty MyISAM table. This table has 1 primary key (AutoInc) and 1 unique index and 2 non-unique indexes. Is it going to b

Re: Duplicate entries despite group by

2010-02-21 Thread Carsten Pedersen
down query time significantly. / Carsten Yang Zhang skrev: I have the following table: CREATE TABLE `graph` ( `tableid1` varchar(20) NOT NULL, `tupleid1` int(11) NOT NULL, `tableid2` varchar(20) NOT NULL, `tupleid2` int(11) NOT NULL, `node1` int(11) NOT NULL, `node2` int(11) NOT

Re: Record old passwords ?

2010-01-18 Thread Carsten Pedersen
/customer decides to up the requirement to six passwords, it will be a simple app change. / Carsten Tompkins Neil skrev: Hi I'm in the process of designing a login system to a secure web page using MySQL. One of the features is we need to record and ensure that the user password is diff

Re: Another Inserting Multiple Values with Set Problem

2010-01-06 Thread Carsten Pedersen
27;; Query OK, 0 rows affected (0.00 sec) Rows matched: 1 Changed: 0 Warnings: 0 mysql> select * from t\G *** 1. row *** sizes: Extra-small,Small,Medium,Large,XLarge,XXLarge,XXXLarge colorsShadesNumbersShort: blue:99,gr

Re: Exporting the result of a Query into excel

2010-01-05 Thread Carsten Pedersen
Is there any particular reason not to use the MySQL ODBC driver to import the data directly into Excel? / Carsten Jim Lyons skrev: A command to convert the table mytab in database mydb into a tab-delimited file mytab.txt might be: mysql -e'select * from mydb.mytab' -sss > m

Re: Mysql Certification exams

2010-01-04 Thread carsten
the candidate guide on the mysql web site before you go to the exam. It has a lot of valuable hints. Best of luck on the exam! / Carsten On Mon, 4 Jan 2010 08:06:12 +0200, "machiel.richards" wrote: > Good day all > > > > I h

Re: Help keep the Internet free 6D7-36A

2009-12-29 Thread Carsten Pedersen
at least then you'll have made an educated decision whether to sign the petition or not. (Disclaimer: I'm a former employee of MySQL AB/Inc, but left before MySQL was bought up by Sun). / Carsten Michael Widenius skrev: Hi! We have just launched a worldwide, multilingual petition

Re: Help keep the Internet free

2009-12-29 Thread Carsten Pedersen
at least then you'll have made an educated decision whether to sign the petition or not. (Disclaimer: I'm a former employee of MySQL AB/Inc, but left before MySQL was bought up by Sun). / Carsten Michael Widenius skrev: Hi! We have just launched a worldwide, multilingual petition

Re: Is anything ever equal to NULL?

2009-12-28 Thread Carsten Pedersen
Oddly enough, that page fails to mention the <=> operator for which NULL does indeed equal NULL. http://dev.mysql.com/doc/refman/5.0/en/comparison-operators.html#operator_equal-to / Carsten -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscri

Re: last_insert_id

2009-12-27 Thread Carsten Pedersen
-+ 2 rows in set (0.00 sec) / Carsten -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org

Re: different 5.0 and 5.1 about long_query_time

2009-12-11 Thread carsten
On Fri, 11 Dec 2009 18:43:06 +0800, "Yang Wang" wrote: > Hi,All > >The version of 5.1 include microtime slow query patch? It would have taken you less time to google "mysql long_query_time" and getting your answer, than it did to write your mail... /

Re: Update Doesn't Update!

2009-12-11 Thread carsten
++ >> > 1 row in set (0.00 sec) >> > >> > >> > What do? How do I enter multiple values? >> >> Impossible to say, until you let us know how you defined the column in >> the >> first pla

Re: Update Doesn't Update!

2009-12-11 Thread carsten
+ > | Warning | 1265 | Data truncated for column 'sizes' at row 1 | > +-+--++ > 1 row in set (0.00 sec) > > > What do? How do I enter multiple values? Impossible to say, until you let us know how you defined the column in the first place... / Carsten --

Re: Update Doesn't Update!

2009-12-11 Thread carsten
warning (0.00 sec) >> Rows matched: 1 Changed: 0 Warnings: 1 > > Look at the message, 0 rows changed and 1 warning. > You cannot have ID=0 if ID is an index. Then how did he manage to get a matched row? Of course you can have I

Re: Update Doesn't Update!

2009-12-11 Thread carsten
nings: 1" do a SHOW WARNINGS immediately after you execute the stmt. / Carsten > > mysql> select sizes, colorsShadesNumbersShort from products where ID=0; > +---

Out of tablespace when using innodb_file_per_table

2005-01-26 Thread Grumm, Carsten
Hello, I'm using InnoDB with the "innodb_file_per_table" option on. But now my .MYD-file has reached the maximum filesize of my filesystem and i have to add a new tablespace. Can someone tell me how? Thanks in advance for your help Carsten -- MySQL General Mailing List For list

Dolphins saved us from shark, lifeguards say

2004-11-27 Thread Carsten Pedersen
dolphins were going ballistic." The 47-year-old said the dolphins herded the swimmers - who are all members of the Whangarei Heads Surf Lifesaving Club - back together and circled protectively around them for another 40 minutes, fending off the shark. === The rest of the stor

Re: Errata in the Study Guide

2004-08-10 Thread Carsten Pedersen
at a reader might think, so it's misleading. Posting your thinking to the list might be a good way to raise people's awareness of the issues involved. That is of course said with no knowledge of what kind of issues you have in mind :-) Best regards, / Carsten -- Warning: Certifica

Re: Professional certification

2004-06-21 Thread Carsten Pedersen
r address. Best regards, / Carsten -- Warning: Certification can seriously increase your wealth! http://www.mysql.com/certification Carsten Pedersen Coordinator of Development, Certification Manager MySQL AB, http://www.mysql.com Office: +45 56 36 16 10 -- MySQL General Mailing List For list

Re: Last Modified

2004-06-10 Thread Carsten R. Dreesbach
PM> Paul C. McNeil PM> Developer in Java, MS-SQL, MySQL, and web technologies. PM> GOD BLESS AMERICA! PM> To God Be The Glory! -- Best regards, Carsten R. Dreesbach mailto:[EMAIL PROTECTED] Senior Consultant Systar, Inc. 8000 Westpark Dr Suite 4

Looking for reviewers: MySQL Certification Study Guide

2004-05-28 Thread Carsten Pedersen
lready signed up for or taken a certification exam(s) - if so, which one(s) - Whether you're primary work with MySQL is as administrator or developer. Best regards, Carsten H. Pedersen Certification Manager, MySQL AB -- Warning: Certification Can Seriously Increase Your Wealth! http://ww

Re: AVG function in order by clause

2004-05-05 Thread Carsten R. Dreesbach
verage grade?Thanks in advance,Julien Martin.-- MySQL General Mailing ListFor list archives: http://lists.mysql.com/mysqlTo unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]-- Best regards, Carsten R. Dreesbach mailto:[EMAIL PROTECTED] Senior Consultant Systar, Inc. 8000 Westp

Re[2]: backup

2004-04-11 Thread Carsten R. Dreesbach
ing before. Its running from a shell script, from my MW> backup machine. Its currently setup to shut down the server, however i MW> don't want to have to do this. Thanks in advance. MW> Steve Sills MW> Platnum Computers, President MW> http://www.platnum.com MW> [EMAIL P

Re: Best practice on table design

2004-04-09 Thread Carsten R. Dreesbach
| C| CT> | 3 | Mary| P| CT> | 4 | Madrid | C| CT> | 5 | Berlin | C| CT> --- CT> where central_data.type is P for people and C for cities. CT> Do you think it is a good ideea ? CT> -- CT> Best regards, CT> Ciprian T

Re: Certification Test Questions

2004-01-19 Thread Carsten Pedersen
es that they regard the Core exam as being more of a "memorization" exam than Professional. Which only goes to show, once again, that perceptions differ quite a bit as people come out of the testing room. Best regards, / Carsten -- Carsten H. Pedersen Coordinator of Development, Certifica

Re: Certification Question

2004-01-13 Thread Carsten Pedersen
uide. Best regards and good luck! / Carsten -- Carsten H. Pedersen Coordinator of Development, Certification Manager MySQL AB, http://www.mysql.com Want to swim with the dolphins? (April 14-16, 2004) http://www.mysql.com/uc2004/ -- MySQL General Mailing List For list archives: http://lis

Re: MySQL certification

2004-01-05 Thread Carsten Pedersen
ngs I didn't know about MySQL while studying" is a comment we often hear -- which makes me and others here happy, as this is of course one of the main ideas behind having a certification program in the first place. Best regards, / Carsten -- Carsten H. Pedersen Coordinator of Develo

Difficulty with SELECT

2003-12-10 Thread Carsten Heidmann
hat this question is not _too_ stupid so that someone will have an answer for me, Carsten -BEGIN PGP SIGNATURE- Version: 6.5.8ckt iQA/AwUBP9cfv7jxzYr/SJ6uEQLdpACfUhB9ON/F8sv0bFqEkVIJXcEyvfEAnjJ4 RRCqfhgx38hfAtqF50fWASm9 =m7D3 -END PGP SIGNATURE- -- MySQL General Mailing List For l

Re: MySQL certification [slightly-ot]

2003-09-29 Thread Carsten Pedersen
ing. I hope you found this input helpful -- you (and anyone else reading this reply) are very welcome to contact me directly if you want further details on our certification program. Best regards, Carsten Pedersen Certification Manager, MySQL AB -- Warning: Certification can seriously increas

Re: MySQL core certification revision - clients

2003-07-21 Thread Carsten Pedersen
d" is one such as "quit", "rehash", "connect" (They are listed on http://www.mysql.com/doc/en/mysql.html), which is processed directly by the "mysql" program. An "SQL command", on the other hand, is an e.g. SELECT or INSERT statement that

RE: Practice test

2003-06-10 Thread Carsten Pedersen
http://www.mysql.com/certification -- if you still have questions, please do not hesitate to contact me directly. Best regards, (and for those of you that decide to get certified: Good luck on the exams!) / Carsten On Tue, 2003-06-10 at 20:33, Mike Hillyer wrote: > I think the other thing to rem

Problems with Innobase DB support in version 3.23.55

2003-03-03 Thread Carsten Thoene
tware only in the scource tree directory, and not in the obj tree directory, to expect the mysql version can build there with Innobase and Berkeley DB support without errors. Greetings, Carstn Thoene -- Carsten Thoene eMail: [EMAIL PROTECTED] Technische Fa

Problems with Berkeley DB support in version 3.23.55

2003-03-03 Thread Carsten Thoene
h the option --enable-maintainer-mode and after taken make the make output goes without errors an so I can fix the problem. Greetings, Carsten Thoene Carsten Thoene eMail: [EMAIL PROTECTED] Technische Fakultaet Universitaet Bielefeld D-33594 Biel

Announce: Upcoming MySQL Certification program

2002-07-11 Thread Carsten H. Pedersen
s with a MySQL Core Certificate! https://order.mysql.com/ Regards, Carsten H. Pedersen MySQL AB Certification Manager -- MySQL Certifications, http://www.mysql.com/training/certification.html __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Mr. Carsten Pedersen &l

SV: ADO recordset is not returning rows in ASP page

2002-05-30 Thread Carsten Gehling
Have you tried to run the query in MySQL's console? - Carsten > -Oprindelig meddelelse- > Fra: Rob Galvin [mailto:[EMAIL PROTECTED]] > Sendt: 30. maj 2002 20:29 > Til: [EMAIL PROTECTED] > Emne: ADO recordset is not returning rows in ASP page > > > I have a

SV: building tree view in mysql?

2002-05-27 Thread Carsten Gehling
ameter. Otherwise you'd be copying the whole array for each recursive function call. The trick is, that to make a tree you always need to use recursive functions. The performance is gained by loading the complete list from database at once (instead of calling a mysql SELECT statement for each

SV: building tree view in mysql?

2002-05-27 Thread Carsten Gehling
Well you'll neew to do some coding in your application language. What are you using to connect to MySQL? Perl? PHP? Java? Tell me, and I'll give you an example where you only query the database once (for optimum performance). - Carsten > -Oprindelig meddelelse- > F

SV: 4.0.1 Bugs

2002-05-18 Thread Carsten Gehling
times (with > no changes made to the queries). Memory usage is fine and swap space is > ample. May we see a) your queries and b) the tables involved? Without such information it would just be a guessing game... - Carsten

SV: C++ API for Mysql

2002-05-06 Thread Carsten Gehling
You can download MySQL++ from www.mysql.com - Carsten > -Oprindelig meddelelse- > Fra: Hisseine Dj. [mailto:[EMAIL PROTECTED]] > Sendt: 6. maj 2002 17:24 > Til: [EMAIL PROTECTED] > Emne: C++ API for Mysql > > > Hello, > > Can someone tell me if there is an

SV: Newbie Question

2002-05-06 Thread Carsten Gehling
You could use Kylix from Borland. It's a RAD tool - it's actually Delphi ported to Linux. - Carsten > -Oprindelig meddelelse- > Fra: Yvon Darang [mailto:[EMAIL PROTECTED]] > Sendt: 6. maj 2002 15:31 > Til: [EMAIL PROTECTED] > Emne: Newbie Question > > &

SV: Strategies for maintaining tables calculated from other tables?

2002-05-04 Thread Carsten Gehling
calculation was last run. The next time one of your calculations are run, select all source-records with a datetime value newer than your "last_run". - Carsten #¤&@&¤&#%#%¤ filter!!! (sql,database,query) -

SV: WHERE ignored

2002-04-28 Thread Carsten Gehling
umber of records and immediately do an extra query: EXPLAIN SELECT MailID, MailFrom, MailTo, Subject, Body, Headers FROM Mail WHERE Sent = 0 // Write the EXPLAIN result to a logfile. exit; } This way you're able to diagnose the error when it hits again, which it probably will. Ask yourself,

SV: WHERE ignored

2002-04-27 Thread Carsten Gehling
m that it appeared to ignore the WHERE. According to my > binary log, the > Mail table wasn't changed at all during this time - so the results of all > three queries should have been identical. I think you better show us the script. This might help to

SV: Max 127 records

2002-04-19 Thread Carsten Gehling
assic :-) You've created your primary key (the autoincremented field) as a TINYINT, which only allows values in the range -128 to 127. auto_increment does not support negative numbers, so when you've filled the first 127 records, it cannot add any more values. Alter the field to a INT

SV: a query from php doen't work

2002-04-17 Thread Carsten Gehling
_query($buffer) or die($buffer."".mysql_error()); Then you will a) print the failed query, and b) print MySQL's own error-response. Then you cal probably figure out, what is wrong. - Carsten - Before posting, ple

SV: MySQL and stored procedures -> v4.1 :(

2002-04-16 Thread Carsten Gehling
tly support both Java and a > proprietary language like PL/SQL or Transact-SQL. Well that sure sounds nice. I'm looking forward to this. :-) - Carsten - Before posting, please check: http://www.mysql.com/manu

  1   2   3   4   >