about innodb_safe_binlog option

2005-11-29 Thread wangxu
My mysql version is 5.0.12-linux. I use "show variables like 'innodb_safe_binlog'". But i can't find this option.Why?

Re: locking issues

2005-11-29 Thread PaginaDeSpud
i'm using myisam. Is there any tip i should know before to migrate this table to innodb ? Thanks ! - Original Message - From: "Gleb Paharenko" <[EMAIL PROTECTED]> To: Sent: Tuesday, November 29, 2005 12:35 PM Subject: Re: locking issues Hello. What table engine do you use for yo

Re: Windows - logging into MySQL

2005-11-29 Thread SGreen
"Beauford" <[EMAIL PROTECTED]> wrote on 11/29/2005 11:31:24 PM: > I just installed MySQL 3.23 (the only one I could get to work) and I find > that I can log into the server just by typing mysql at the DOS prompt. Ho do > make it so you have to use a user name and password to get in. > > Thanks

Re: SHOW commands.

2005-11-29 Thread Peter Brawley
Michael >Is there a command similar to "SHOW CREATE TABLE. . ." that will >output the commands to fully duplicate a table; data and all? I want to >retrieve the command and write it to a text file. See the docs for mysqldump. PB - Michael Williams wrote: Hi all, Is there a command

Re: SQLquery: delimiter // - #1064 error

2005-11-29 Thread Peter Brawley
>Error >SQL query: >call p0( >) >MySQL said: >#1312 - PROCEDURE tr.p0 can't return a result set in the given context To permit calling of stored procedures, the CLIENT_MULTI_STATEMENTS flag must be set (4th param to mysql_connect() or mysql_pconnect()). Looks like the phpMyAdmin working group h

Re: Windows - logging into MySQL

2005-11-29 Thread Cal Evans
Hi, If you've just installed it then the root user has no password. Change the root user to have a password then you will have to specify the -p parameter on the command line before you can log in. (Or you can put it in your local my.cnf file) =C= www.calevans.com Beauford wrote: I just in

Re: SHOW commands.

2005-11-29 Thread Cal Evans
You could still still use mysqldump. There is a parameter to specify which specific table you want to dump. Usage: mysqldump [OPTIONS] database [tables] =C= www.calevans.com Michael Williams wrote: Hi all, Is there a command similar to "SHOW CREATE TABLE. . ." that will output the command

Re: SHOW commands.

2005-11-29 Thread Rhino
- Original Message - From: "Michael Williams" <[EMAIL PROTECTED]> To: Sent: Tuesday, November 29, 2005 11:30 PM Subject: SHOW commands. Hi all, Is there a command similar to "SHOW CREATE TABLE. . ." that will output the commands to fully duplicate a table; data and all? I want

Windows - logging into MySQL

2005-11-29 Thread Beauford
I just installed MySQL 3.23 (the only one I could get to work) and I find that I can log into the server just by typing mysql at the DOS prompt. Ho do make it so you have to use a user name and password to get in. Thanks Running on Win2k Advance Server. -- MySQL General Mailing List For list

SHOW commands.

2005-11-29 Thread Michael Williams
Hi all, Is there a command similar to "SHOW CREATE TABLE. . ." that will output the commands to fully duplicate a table; data and all? I want to retrieve the command and write it to a text file. Basically what I need is a "SHOW" on "CREATE TABLE copy SELECT * FROM original", but SHOW doe

Can I weight full-text searches in boolean mode?

2005-11-29 Thread Grant Giddens
Hi, I have a table with consumer products. I have a row "product name" and "brand". If I do a full-text search in boolean mode for a term like "apple ipod" I get results like: Apple iPod (brand: Apple) TuneDock for Apple iPod (brand: Belkin) Since both of these terms mat

Re: What is MYSQL equivalent to Oracle's NVL function?

2005-11-29 Thread Cal Evans
http://dev.mysql.com/doc/refman/4.1/en/control-flow-functions.html ifNULL() =C= www.calevans.com sol beach wrote: The subject says it all! -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

What is MYSQL equivalent to Oracle's NVL function?

2005-11-29 Thread sol beach
The subject says it all!

RE: SQLquery: delimiter // - #1064 error

2005-11-29 Thread vancouverhg
HI David, The following error is generated calling the previously defined stored procedure p0() in phpmyadmin: Error SQL query: call p0( ) MySQL said: #1312 - PROCEDURE tr.p0 can't return a result set in the given context Any suggestions would be greatly appreciated -Original Message--

RE: SQLquery: delimiter // - #1064 error

2005-11-29 Thread Logan, David (SST - Adelaide)
Hi Dave, The DELIMITER statement is a command to the mysql client not an SQL statement. This is why phpAdmin is objecting. Here are a listing of the mysql client commands http://dev.mysql.com/doc/refman/5.0/en/mysql-commands.html Regards David Logan Database Administrator HP Managed Services

SQLquery: delimiter // - #1064 error

2005-11-29 Thread Dave Kennedy
Windows XP phpMyAdmin 2.7.0-rc1 MySQL 5.0.16-nt running on localhost as [EMAIL PROTECTED] The DELIMITER statement works in the command line, but not in phpmyadmin (see error below) mysql> DELIMITER // mysql> use mysql // Database changed mysql> PHPmyadmin === DELIMITER

Re: comma-separated JOINS

2005-11-29 Thread Matt Monaco
I just wanted to thank you for such a thorough response, it has helped me a lot as I've always ignored the existence of joins. Thanks, Matt <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > The sequence you use to JOIN a set of tables is sometimes determined > completely by the log

Re: locking issues

2005-11-29 Thread Gleb Paharenko
Hello. What table engine do you use for your tables? InnoDB usually is the best choice if you have lots of concurrent updates and inserts. "PaginaDeSpud" <[EMAIL PROTECTED]> wrote: > I'm getting locking issues due to tables very often updated/insert. > > It's splitted into two tables,

Re: Insert query problem

2005-11-29 Thread Rhino
- Original Message - From: "Jeff" <[EMAIL PROTECTED]> To: Sent: Tuesday, November 29, 2005 11:42 AM Subject: Insert query problem All, I can't get this query to run, it keeps compaining that there is a problem: The Query: insert into tickets(id,from,department,subject,body,lastac

RE: calling procedures from the .NET provider

2005-11-29 Thread Reggie Burnett
Colin Currently executing a stored procedure also requires select permissions on the mysql.proc table. This is a current implementation requirement. This should disappear when we have INFORMATION SCHEMA support. Reggie > -Original Message- > From: Colin Shreffler [mailto:[EMAIL PROTECT

Re: How to use 'if' in select [solved]

2005-11-29 Thread Gobi
Thanks for everyone's input. Essentially, I summed up all the NEGs and non-NEGs in a view and then use the 'if' logic to filter out the numbers. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

RE: Insert query problem

2005-11-29 Thread mel list_php
You can use backticks ( ` ) to escape the names: INSERT INTO `tickets` ( `id` , `from` , `departement` . hth, melanie From: "Jeff" <[EMAIL PROTECTED]> To: Subject: Insert query problem Date: Tue, 29 Nov 2005 11:42:34 -0500 All, I can't get this query to run, it keeps compaining that the

RE: Insert query problem

2005-11-29 Thread Easyhorpak.com Easyhorpak.com
Many Many wrong SQL syntax error check your symbol (') becareful it 'very important . You can do that. Cheer!! From: "Jeff" <[EMAIL PROTECTED]> To: Subject: Insert query problem Date: Tue, 29 Nov 2005 11:42:34 -0500 All, I can't get this query to run, it keeps compaining that there is a

Re: Insert query problem

2005-11-29 Thread Kristen G. Thorson
Jeff wrote: tickets(id,from,department,subject,body,lastaction,lastpost,priority,sta tus,created,fromname,lastpostname,attach,ct,uniq,notify,replyto) values(null,'jmckeon','1','test','test test',unix_timestamp(now()),'"[EMAIL PROTECTED]" <[EMAIL PROTECTED]>','Medium','Open',unix_timestamp(now())

RE: Insert query problem [solved]

2005-11-29 Thread Jeff
Nevermind, found that usig `from` works. Jeff > -Original Message- > From: Jeff [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 29, 2005 11:43 > To: mysql@lists.mysql.com > Subject: Insert query problem > > > All, > > I can't get this query to run, it keeps compaining that there i

Re: Insert query problem

2005-11-29 Thread SGreen
"Jeff" <[EMAIL PROTECTED]> wrote on 11/29/2005 11:42:34 AM: > All, > > I can't get this query to run, it keeps compaining that there is a > problem: > > The Query: > > insert into > tickets(id,from,department,subject,body,lastaction,lastpost,priority,sta > tus,created,fromname,lastpostname,atta

Insert query problem

2005-11-29 Thread Jeff
All, I can't get this query to run, it keeps compaining that there is a problem: The Query: insert into tickets(id,from,department,subject,body,lastaction,lastpost,priority,sta tus,created,fromname,lastpostname,attach,ct,uniq,notify,replyto) values(null,'jmckeon','1','test','test test',unix_time

Re: Data type in MySQL / ASP.net

2005-11-29 Thread Stephen Moretti
Dewald Troskie wrote: I'm relatively new to the MySQL / Web development - database environmeent, having moved from Microsoft SQL. Just two questions ? 1. I have an ASP.Net page that commits data to a MySQL database. I have several check boxes on the page. What data type do I define my fields

Re: comma-separated JOINS

2005-11-29 Thread SGreen
The sequence you use to JOIN a set of tables is sometimes determined completely by the logic of the JOIN. You should perform all of your CROSS JOINs and INNER JOINs first (a comma is equivalent to a CROSS JOIN but starting with 5.0.12 the comma has a LOWER evaluation priority than an explicit J

Re: Seeking Opinions

2005-11-29 Thread Harald Fuchs
In article <[EMAIL PROTECTED]>, sheeri kritzer <[EMAIL PROTECTED]> writes: > On 11/28/05, Martijn Tonies <[EMAIL PROTECTED]> wrote: >> >> > Part of me agrees with you, on a "Pure SQL level". but then why would >> > anyone ever use ENUM or SET? >> >> I wouldn't :-) >> >> IMO, they're abomination

Data type in MySQL / ASP.net

2005-11-29 Thread Dewald Troskie
Hi, I'm relatively new to the MySQL / Web development - database environmeent, having moved from Microsoft SQL. Just two questions ? 1. I have an ASP.Net page that commits data to a MySQL database. I have several check boxes on the page. What data type do I define my fields in the database as