Announce: Upcoming MySQL Certification program

2002-07-11 Thread Carsten H. Pedersen
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 [EMAIL PROTECTED

RE: Rebooting MySql

2002-02-13 Thread Carsten H. Pedersen
memory leakage at all. If you have deleted from many tables, OPTIMIZE will be your friend. You might also want to go back to your queries, do an EXPLAIN and see if you need to redefine indexes, etc. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http

RE: Where Did Mysql Go?

2002-02-11 Thread Carsten H. Pedersen
of the HD doesn't show it) and, more important, how do I get it back? The socket file is created by mysqld at startup. Are you sure mysqld is running? Have you tried restarting mysqld? / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk

RE: Where Did Mysql Go?

2002-02-11 Thread Carsten H. Pedersen
of the HD doesn't show it) and, more important, how do I get it back? The socket file is created by mysqld at startup. Are you sure mysqld is running? Have you tried restarting mysqld? / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk

RE: MySQL on the Playstation2? (OT? You betcha)

2002-01-31 Thread Carsten H. Pedersen
Aye. Neither is a matchbox-sized webserver any good. Still someone made it. :-) - Carsten query :-) ...though not as small (or even as useful) as a matchbox- sized server, certainly more interesting in terms of power supply: http://world.std.com/~fwhite/spud/ / Carsten -- Carsten H

RE: MySQL PASSWORD function

2002-01-29 Thread Carsten H. Pedersen
, SELECT PASSWORD('thepassword')=Password FROM user WHERE User='username'; will return 1 on a match, 0 on non-match (watch out for nonexisting usernames). / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: help in running mysql on slak8...

2002-01-21 Thread Carsten H. Pedersen
? If not, do a chown... / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com/manual.php (the manual) http

RE: host = %

2002-01-18 Thread Carsten H. Pedersen
. For the client, you can twiddle values in my.cnf to suit your needs. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http

RE: Column Alias Bug??

2002-01-18 Thread Carsten H. Pedersen
column 'z' in 'where clause' Why isn't z recognized as a column identifier? Because you should be using HAVING rather than WHERE: select a,count(*) as z from aa group by a having z1; / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk

RE: Max Row Length

2002-01-18 Thread Carsten H. Pedersen
is there a max row length for MyISAM tables? I'm having a hard time finding it. http://www.bitbybit.dk/mysqlfaq/faq.html#ch9_0_0 / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: Not updating tables with data but no errors either

2002-01-17 Thread Carsten H. Pedersen
-- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list

RE: REPLICATION BUG

2002-01-17 Thread Carsten H. Pedersen
Changes in release 3.23.46 Fixed problem with aliased temporary tables replication --- / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please

RE: why too long entries get _cut_ without error

2002-01-17 Thread Carsten H. Pedersen
both. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com

RE: MySQL can't find table forms.

2002-01-17 Thread Carsten H. Pedersen
/execute on those dirs/files? Might you at some point have been running mysqld as root, and now you are running it as the user mysql? / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

FW: ID in table

2002-01-17 Thread Carsten H. Pedersen
Is there any way to start Ids in table from some number for exampl 1 with function auto_increment and not from 1? http://www.bitbybit.dk/mysqlfaq/faq.html#ch6_4_0 / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: big problem with mysqldb

2002-01-13 Thread Carsten H. Pedersen
. Mysqldump does not dump the compleat tables. Which command do you use when running mysqldump? What is missing? / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: Column Limits

2002-01-13 Thread Carsten H. Pedersen
#ch9_0_0 / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com/manual.php (the manual) http

RE: Regexp Help !!!

2002-01-13 Thread Carsten H. Pedersen
using LIKE as this will often be much faster: SELECT ... WHERE data LIKE TOP/World/Japan/% AND data NOT LIKE TOP/World/Japan/%/% - in essence: select all those records which start with TOP/World/Japan/, then subtract those which contain any further /. / Carsten -- Carsten H. Pedersen keeper

RE: Table marked as readonly

2002-01-13 Thread Carsten H. Pedersen
? / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com

RE: Select statement help...

2002-01-12 Thread Carsten H. Pedersen
.depart_time, t2.arrive_time FROM flights AS t1, flights AS t2 WHERE t1.flight_group = t2.flight_group; / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting

RE: Bind on unix socket: Permission denied

2001-12-28 Thread Carsten H. Pedersen
running $ ps -A | grep mysqld - and see if mysqld isn't already running. I don't think you have a problem: mysqld is already running and waiting for you to use it! / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: When were user variables introduced ?

2001-12-28 Thread Carsten H. Pedersen
. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com

RE: MySQL starts using a lot of CPU resources

2001-12-28 Thread Carsten H. Pedersen
for tables to be released. Try enabling --log-slow-queries, then have a peek at the log file to see what's causing these. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: MySQL starts using a lot of CPU resources

2001-12-28 Thread Carsten H. Pedersen
related question: Does MySQL label as slow (as I believe PostgreSQL does) any query that is not referencing an indexed table? No. Any query that takes longer than long_query_time, e.g. 10 seconds on most systems, to execute. Use SHOW VARIABLES to see it. / Carsten -- Carsten H

RE: Case sensitive in selecting records

2001-12-27 Thread Carsten H. Pedersen
-sensitive in selecting records... SELECT BINARY ... / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com

RE: permisions problem, need to understand what is going wrong to get ontop of this.

2001-12-27 Thread Carsten H. Pedersen
the root password, follow this procedure: http://www.bitbybit.dk/mysqlfaq/faq.html#ch7_2_0 And some more insight into the privilege system: http://www.bitbybit.dk/mysqlfaq/faq.html#ch11_0_0 / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk

RE: To Mr Bob Hall (and everybody else who wants to read it)

2001-12-27 Thread Carsten H. Pedersen
, as well... / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com/manual.php (the manual) http

RE: Newbie install problem

2001-12-26 Thread Carsten H. Pedersen
... / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com

RE: Can't Connect

2001-12-26 Thread Carsten H. Pedersen
on '209.249.147.203' (10060) What does this error 10060 typically indicate? Try reading http://www.bitbybit.dk/mysqlfaq/faq.html#ch10_0_0 - it might give you the hints you need. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: Getting Possible Values of an Enum Field

2001-12-21 Thread Carsten H. Pedersen
of this with regexp's in the Programming language of my Choice, but I am interested to know if there isn't a more beautiful possibility where Mysql gives me back the result direct. SELECT DISTINCT enum_col FROM tablename WHERE enum_col256; / Carsten -- Carsten H. Pedersen keeper and maintainer

IN/BETWEEN operators and ENUM column troubles

2001-12-21 Thread Carsten H. Pedersen
returned MyISAM tables on v. 3.23.45. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com/manual.php

RE: Help! Languages and Characters....

2001-12-21 Thread Carsten H. Pedersen
-- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq Thanks Shannon --- Michael Brunson [EMAIL PROTECTED] wrote: On Fri, 21 Dec 2001 11:07:27 -0800 (PST), Shannon Kendrick [EMAIL PROTECTED] wrote: | I have a mysql table (MySAM), a field

RE: ::grumble:: SQL Problem (bug?) with HAVING clause?

2001-12-19 Thread Carsten H. Pedersen
with v. 3.23.09. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com/manual.php (the manual) http

RE: Changing the locations of the tables

2001-12-18 Thread Carsten H. Pedersen
script: mysqld --datadir=/usr/lib/mysql 4) restart mysqld. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq -Original Message- From: Stephen Johnson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 9

RE: mysql password

2001-12-18 Thread Carsten H. Pedersen
: connect to server at 'localhost' failed error: 'Access denied for user: 'root@localhost' (Using password: YES)' I wonder when the mysql team will get around to changing that message... - Don't use '-p'. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http

RE: Error handling in MySQL

2001-12-17 Thread Carsten H. Pedersen
table handler This happens when I do an order by in the sql statement. Use perror: [carsten@tsort carsten]$ perror 1 Error code 1: Operation not permitted. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: MYSQL Database Specs

2001-12-17 Thread Carsten H. Pedersen
Hello, I am interested in knowing :- 1) The maximum number of tables possible in MYSQL Database 2) The maximum number of columns that are in a table. http://www.bitbybit.dk/mysqlfaq/faq.html#ch9_0_0 / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http

RE: connecting

2001-12-17 Thread Carsten H. Pedersen
It simply won't connect. It just says 'Can't connect to local MySQL server through socket '' (111)' I can connect via terminal so I know MySQL is (at least semi) correctly setup. Any ideas? http://www.bitbybit.dk/mysqlfaq/faq.html#ch10_0_0 / Carsten -- Carsten H. Pedersen keeper

RE: ERROR 1006: Can't create database 'mynewdb'. (errno: 28)

2001-12-17 Thread Carsten H. Pedersen
mysql CREATE DATABASE mynewdb; ERROR 1006: Can't create database 'mynewdb'. (errno: 28) mysql [carsten@tsort carsten]$ perror 28 Error code 28: No space left on device - Maybe clearing up some disk space would help??? / Carsten -- Carsten H

RE: root cant control mysqld

2001-12-16 Thread Carsten H. Pedersen
Some how I don't have control over mysqld as root. It starts on boot, but I am unable to stop it to reset root password. How can I correct this? http://www.bitbybit.dk/mysqlfaq/faq.html#ch7_2_0 / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http

RE: sequence and nextval

2001-12-13 Thread Carsten H. Pedersen
that it generated. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq Thanks / Henrik --- create table MySequence ( nextval int(10) not null default '0' auto_increment ) ; insert into MySequence values (''); select

RE: Error ODBC

2001-12-13 Thread Carsten H. Pedersen
(10071)(#2003) More likely, it's a permissions problem. Try reading http://www.bitbybit.dk/mysqlfaq/faq.html#ch10_0_0 / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: [OT] mod_perl and last_insert_id() (Was: sequence and nextval)

2001-12-13 Thread Carsten H. Pedersen
connection. So I don't really see why this would matter. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com

RE: synopsis of the problem (one line)

2001-12-09 Thread Carsten H. Pedersen
I would like to know how to create mysql.sock I destructed... Restart mysqld / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please

RE: IN keyword supported?

2001-12-09 Thread Carsten H. Pedersen
describe. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com/manual.php (the manual) http

RE: Can't start MySQL,please help......

2001-12-09 Thread Carsten H. Pedersen
mysqld have the correct permissions on the directory containing host-bin.1? / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check

RE: startup command line

2001-12-09 Thread Carsten H. Pedersen
Hello, cut a'lot them, will the command line over ride the settings in the my.cnf, cut s'more Manual sec. 4.1.2: Options specified on the command line take precedence over options specified in any option file. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk

RE: speed up MySQL Selections

2001-12-09 Thread Carsten H. Pedersen
issues above. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com/manual.php (the manual) http

RE: Question

2001-12-09 Thread Carsten H. Pedersen
/ Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com

RE: Access Error

2001-12-09 Thread Carsten H. Pedersen
://www.bitbybit.dk/mysqlfaq/faq.html#ch7_2_0 sec. 4.2.4 - 4.2.10 of the manual / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http

RE: Error 1045 - Access denied

2001-12-05 Thread Carsten H. Pedersen
... or by editing the user table directly? In the latter case, did you remember to FLUSH PRIVILEGES? / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting

RE: Could mysql count the datatraffic of DB's posted queries?

2001-11-27 Thread Carsten H. Pedersen
? In that case the data traffic is a lousy metric for how many resources each client is hogging. The complexity of the queries is by far more important than the amount of data moved. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: remove duplicates

2001-11-24 Thread Carsten H. Pedersen
Hi all, Is there anyway to delete the duplicate records in mysql without creating new tables. I am wondering what query will achieve this task where mysql doesnt supports like ROWID and sub queries. http://www.bitbybit.dk/mysqlfaq/faq.html#ch7_8_0 / Carsten -- Carsten H. Pedersen keeper

RE: UNION/INTERSECT

2001-11-24 Thread Carsten H. Pedersen
... MINUS, INTERSECT and FULL OUTER JOIN. (Currently UNION (in 4.0) and LEFT OUTER JOIN are supported) / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before

RE: correct column name

2001-11-24 Thread Carsten H. Pedersen
Hi, Please, how do i correct wrong column name (field name, not one of values stored under the column name) in a table in mysql? I supposed to type password when i was creating the as field but end up typed passwod. http://www.bitbybit.dk/mysqlfaq/faq.html#ch7_26_0 / Carsten -- Carsten H

RE: 0 Records Affected

2001-11-21 Thread Carsten H. Pedersen
of matched rather than affected rows. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com/manual.php

RE: LOAD_FILE does not work

2001-11-21 Thread Carsten H. Pedersen
. Please provide any leads you may have. The permissions on the description_file is 777. What about the rest of the path? Is that readably by MySQL as well? / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: Privileges question.

2001-11-19 Thread Carsten H. Pedersen
to read http://www.bitbybit.dk/mysqlfaq/faq.html#ch11_0_0 / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com

RE: dec is treated as a reserved word.

2001-11-19 Thread Carsten H. Pedersen
a documentation or software bug. It's a documentation bug. Although not on the list of reserved words, the manual does say: --- 6.2.1 Numeric Types ... and the keyword DEC is a synonym for DECIMAL. --- / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk

Book review: MySQL - Building User Interfaces

2001-11-17 Thread Carsten H. Pedersen
DBMSs, the UI part of the book is very narrowly scoped on the use of Glade and GTK+. Full review at: http://www.bitbybit.dk/mysqlfaq/MySQL-BUI.html / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: dropping auto_increment PK/Index

2001-11-15 Thread Carsten H. Pedersen
be defined as a key The following should do the trick: http://www.bitbybit.dk/mysqlfaq/faq.html#ch7_12_0 / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: INSERT with SELECT on same table

2001-11-15 Thread Carsten H. Pedersen
for it. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com/manual.php (the manual) http

RE: nonstandard meaning of KEY in MySQL?

2001-11-15 Thread Carsten H. Pedersen
] In everyday speech: a set of not-necessarily-unique values, especially values stored in indexes ... which can be used to search particular rows of a Table. Both [1] and [2] are acceptable... / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http

RE: Index not used with GROUP BY?

2001-11-15 Thread Carsten H. Pedersen
collection_id, tcml_field_id (and maybe value), or simply re-define your PRIMARY KEY so that those two fields make up the first part of the key. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: Index not used with GROUP BY?

2001-11-15 Thread Carsten H. Pedersen
On 15 Nov 2001, at 21:59, Carsten H. Pedersen wrote: PRIMARY KEY (`collection_id`,`document_id`,`tcml_field_id`,`order_number`), KEY `collection_field_value` (`collection_id`,`tcml_field_id`,`value`(12)), KEY `value` (`value`(12)), KEY `resource_id` (`resource_id

RE: Boolean column type?

2001-11-14 Thread Carsten H. Pedersen
Is a boolean column type possible in mysql? If not, what's the most common column type for true/false (or true/false/null) flags? http://www.bitbybit.dk/mysqlfaq/faq.html#ch7_16_0 / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk

RE: why ever use TINYBLOB/TEXT -- isn't VARCHAR same size?

2001-11-13 Thread Carsten H. Pedersen
assume that there is a small speed penalty in using TEXT/BLOB fields, as compared to VARCHARs. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting

RE: Access to MYSQL via ODBC?

2001-11-13 Thread Carsten H. Pedersen
running w/o -p is there any way to change/reset the password if any or am i doing something wrong ? http://www.bitbybit.dk/mysqlfaq/faq.html#ch7_2_0 / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: v3: delete based on select

2001-11-12 Thread Carsten H. Pedersen
. If you're using some program to interface w/ MySQL, I would suggest picking up the targettable.id's, collecting these in a comma-separated list and use a query like: DELETE FROM sourcetable WHERE id IN (list). / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http

RE: primary key based on unique value for two columns

2001-11-12 Thread Carsten H. Pedersen
and not on a combination of columns. If I am wrong please correct me. You're wrong :-) mysql CREATE TABLE tablename (col_a int not null, - b int not null, PRIMARY KEY (a, b)); I am looking for work arounds. No need to... / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ

RE: Maximum # of Columns

2001-11-10 Thread Carsten H. Pedersen
... http://www.bitbybit.dk/mysqlfaq/faq.html#ch9_5_0 / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com

RE: renaming a database

2001-11-10 Thread Carsten H. Pedersen
Can you rename a database? If so, how does it handle all the tables inside it? By shutting down the server, renaming the directory of that database and restarting the server. The server will be able to handle the change just fine. / Carsten -- Carsten H. Pedersen keeper and maintainer

RE: String composite key vs auto_increment

2001-11-08 Thread Carsten H. Pedersen
. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com

RE: varchar in the foodchain

2001-11-08 Thread Carsten H. Pedersen
access devices. But, it is all explaind in the manual :) Exactly where in the manual did you find that piece of information? / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: Where REGEX documentation?

2001-11-04 Thread Carsten H. Pedersen
. Since the source is 11 MB and I have no other need for it, I wonder if there's another source for this documentation. http://arglist.com/regex/ / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: join dilemma

2001-11-04 Thread Carsten H. Pedersen
://users.starpower.net/rjhalljr/MySQL/sql.html / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com/manual.php (the manual

RE: changing column order in MySQL tables?

2001-11-03 Thread Carsten H. Pedersen
How do you change the order of columns in MySQL tables? I assume the tables have a concept of column order, since the DESCRIBE command always lists the columsn in the order in which they were created. http://www.bitbybit.dk/mysqlfaq/faq.html#ch7_5_0 / Carsten -- Carsten H. Pedersen keeper

RE: Join syntaxes not all defined

2001-11-03 Thread Carsten H. Pedersen
H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list

RE: Join syntaxes not all defined

2001-11-03 Thread Carsten H. Pedersen
section 6.4.1.1: ... INNER JOIN and , (comma) are semantically equivalent. Both do a full join between the tables used. Normally, you specify how the tables should be linked in the WHERE condition. ... Carsten H. Pedersen ?? Since this does not appear in the manual for v

RE: newby question about datetime fields

2001-11-01 Thread Carsten H. Pedersen
://www.bitbybit.dk/mysqlfaq/faq.html#ch7_20_0 / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com/manual.php

RE: GUI for MySql

2001-10-31 Thread Carsten H. Pedersen
What GUIs exist for MySql and which is the best to use? http://www.bitbybit.dk/mysqlfaq/faq.html#ch7_1_0 lists most of them... / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: Can field names be longer than ONE word?

2001-10-30 Thread Carsten H. Pedersen
. Can this be done? Try using backticks (`) instead. AFAICT, this should work with MySQL. Using such a naming strategy will also have the added advantage of making your application almost impossible to port in the future... / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk

RE: Strange results from query

2001-10-30 Thread Carsten H. Pedersen
minutes to complete! I'm not surprized -- you're forcing MySQL to calculate date_add on every single one of the 300,000 rows. Indexing doesn't help you there. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: Can not load database

2001-10-29 Thread Carsten H. Pedersen
for the database yet. Those are ISAM files. If they were created on another OS, you're out of luck. Only MyISAM files may be moved between different OS's. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: MySQL Security w/ PHP

2001-10-29 Thread Carsten H. Pedersen
in thousands of users for every single query - ugh... / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com

RESOLVED: C API - mysql_store_result segfaulting

2001-10-29 Thread Carsten H. Pedersen
() which caused the next call to mysql_store_result() to segfault. Why these did not cause any problems on the test machine is beyond me. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq I'm having some trouble moving a C

RE: can auto_increment wrap?

2001-10-29 Thread Carsten H. Pedersen
I hit the max. Was this feature eliminated? I missed the start of this discussion, but maybe the following explains what's going on... http://www.bitbybit.dk/mysqlfaq/faq.html#ch6_5_0 / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk

RE: Generate random, unique value...

2001-10-29 Thread Carsten H. Pedersen
H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list

RE: Automatically adding the date to a record.

2001-10-28 Thread Carsten H. Pedersen
version of MySQL you're using. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com/manual.php (the manual

RE: Table Names

2001-10-28 Thread Carsten H. Pedersen
of numbers. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com/manual.php (the manual) http

C API - mysql_store_result segfaulting

2001-10-27 Thread Carsten H. Pedersen
I'm having some trouble moving a C application from a test machine to production. The program, which uses the small wrapper around mysql_query() shown below, runs flawlessly on the test machine (hours of runtime; tens of thousands if not a million+ queries). On the production machine, the

RE: Proposed Guidelines for Posting to the MySQL list

2001-10-21 Thread Carsten H. Pedersen
is willing to read what amounts to two or three printed pages before starting posting. Human beings are simply too lazy to do that, especially when sitting with a problem they need solved yesterday. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http

RE: parse error near ???

2001-10-05 Thread Carsten H. Pedersen
?? / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com/manual.php (the manual) http

RE: Is it possible to Rename Database

2001-10-03 Thread Carsten H. Pedersen
Is it possible to rename a database? I would assume that the only way to do is is to shut down the server, then rename the directory of the database. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: query problem

2001-10-03 Thread Carsten H. Pedersen
-- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com

RE: Convert table type

2001-10-03 Thread Carsten H. Pedersen
can off-load the temporary copy (i.e. the dump files) to another disk - which was an important issue in our particular case. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: Where's this script

2001-10-03 Thread Carsten H. Pedersen
a lot of excel files to convert to MySQL. Thanks! Search for excel2mysql on google, there are several results. If you can't follow the link, use the Google cache copy instead :-) / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: 0000-00-00 vs NULL in Date Field

2001-10-02 Thread Carsten H. Pedersen
defined with a default of -00-00, which MySQL then uses when you input no data. That doesn't stop you from entering NULL specifically, unless the field is declared NOT NULL. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: Dumb Question...

2001-09-21 Thread Carsten H. Pedersen
information about how long every query that updated the database took. The binary log is also used when you are replicating a slave from a master. / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL FAQ http://www.bitbybit.dk/mysqlfaq

RE: Dumb Question...

2001-09-21 Thread Carsten H. Pedersen
of these things are a little hard to find in the online manual. - especially when you don't bother looking... Try starting mysqld without --log-bin. If that doesn't work, then you might want to Read The Fine Manual sec. 4.9.4, The Binary Update Log. / Carsten -- Carsten H. Pedersen keeper and maintainer

  1   2   >