Re: commands out of sync, you can't run this command now'

2016-01-08 Thread Peter Brawley
On 1/8/2016 3:14, Nitin Mehta wrote: Looks like some kind of locking mechanism in the application. Should not be a database issue. On Friday, January 8, 2016 10:47 AM, geetanjali mehra wrote: Hi all, Suddenly I have started getting below error from our web site: 'command

Re: commands out of sync, you can't run this command now'

2016-01-08 Thread Reindl Harald
Am 08.01.2016 um 10:14 schrieb Nitin Mehta: Looks like some kind of locking mechanism in the application. Should not be a database issue. no true - this is a native mysql error message! honestly both of you should have used Google http://dev.mysql.com/doc/refman/5.7/en/commands-out-of

commands out of sync, you can't run this command now'

2016-01-07 Thread geetanjali mehra
Hi all, Suddenly I have started getting below error from our web site: 'commands out of sync, you can't run this command now' This error is generated sometimes when opening a page ,and immediately after refreshing the page, error gone. Can you please help me to troubleshoot this

Re: All client commands to syslog?

2013-04-02 Thread spameden
9.3.388.rhel6.x86_64 it does not > seem to work. I've added "syslog"/"syslog ON" to my my.cnf server > configuration file but no info about executed commands in logs. > > I've also read > http://www.mysqlperformanceblog.com/2008/07/08/logging-your-mysql-com

Re: All client commands to syslog?

2013-03-28 Thread yoku ts.
cona > Percona-Server-server-55-5.5.28-rel29.3.388.rhel6.x86_64 it does not > seem to work. I've added "syslog"/"syslog ON" to my my.cnf server > configuration file but no info about executed commands in logs. > > I've also read > http://www.mysqlperforma

RE: All client commands to syslog?

2013-03-28 Thread Guy_Lichtman
Hi, You can check out the McAfee MySQL Audit Plugin at: https://github.com/mcafee/mysql-audit It is an open source plugin providing audit capabilities for MySQL. It can be used to log executing commands. It can log to a file or over a unix domain socket to syslog-ng. Best, Guy

All client commands to syslog?

2013-03-28 Thread Rafał Radecki
=1#client-variables but despite the fact that I use percona Percona-Server-server-55-5.5.28-rel29.3.388.rhel6.x86_64 it does not seem to work. I've added "syslog"/"syslog ON" to my my.cnf server configuration file but no info about executed commands in logs. I've also re

Re: Commit commands with SELECT

2012-04-13 Thread Stephen Tu
Wrapping even just selects around a transaction absolutely matters, depending if you care about isolation. Consider the following two clients running on the same mysql instance, w/ --transaction_isolation=serializable. Suppose we have the following innodb table: CREATE TABLE FOO (i INTEGER, j INTE

Re: Commit commands with SELECT

2012-04-13 Thread Luis Motta Campos
Hello COMMIT statements may or may not force the database to call fflush() to flush your double-write to disk. This may or may not affect your performance, depending on your scale, traffic, and how much you're trying to squeeze your hardware. If you're working on the borderline like I am, benc

Re: Commit commands with SELECT

2012-04-09 Thread Karen Abgarian
I vote 1) yes 2) no It could be result of the app developer's convenience to just wrap anything they submit to the database in a transaction. Selects are not transaction but autocommit/commit do no harm. That might be the thinking. On 09.04.2012, at 11:38, Rozeboom, Kay [DAS] wrote: > We

Commit commands with SELECT

2012-04-09 Thread Rozeboom, Kay [DAS]
We have an application with blocks of code that begin with setting autocommit off, and end with a commit. The code in between does only selects, no updating. 1) Am I correct in thinking that the autocommit and commit statements don't really accomplish anything useful? 2) If the autoc

RE: MySQL being hacked with commands through URL

2009-11-19 Thread James Coffman
Not sure exactly what you mean by 'setting date/time right'. Mind clarifying a little? -Original Message- From: Pintér Tibor [mailto:tib...@tibyke.hu] Sent: Thursday, November 19, 2009 9:10 AM To: James Coffman Subject: Re: MySQL being hacked with commands through URL Jam

RE: MySQL being hacked with commands through URL

2009-11-19 Thread James Coffman
Coffman Cc: mysql@lists.mysql.com Subject: Re: MySQL being hacked with commands through URL The bits in your date_format call are confusing your sprintf call "date_format(updated, '%W, %M %D, %Y %r' )" elseif ($pageID == "ss" && $item != "mostCurrent")

Re: MySQL being hacked with commands through URL

2009-11-18 Thread Michael Dykman
egrate it into code that I did not write.  Is there anyone out > there that may have some insight to this problem? > > -Original Message- > From: Wm Mussatto [mailto:mussa...@csz.com] > Sent: Wednesday, November 18, 2009 11:55 AM > To: mysql@lists.mysql.com > Subject: Re

RE: MySQL being hacked with commands through URL

2009-11-18 Thread James Coffman
e out there that may have some insight to this problem? -Original Message- From: Wm Mussatto [mailto:mussa...@csz.com] Sent: Wednesday, November 18, 2009 11:55 AM To: mysql@lists.mysql.com Subject: Re: MySQL being hacked with commands through URL On Thu, November 19, 2009 09:47, Jame

Re: MySQL being hacked with commands through URL

2009-11-18 Thread Pintér Tibor
James Coffman wrote: Hello all, My website has been hacked using a url such as: -1%20union%20all%20select%201,2,concat(username,char(58),password),4,5,6%20f rom%20users-- . I have been searching on the web for a solution/fix to this issue and I cannot seem to find one. The

Re: MySQL being hacked with commands through URL

2009-11-18 Thread Wm Mussatto
only accept 0-9s as input. Hope this helps. How do you have your database server setup? How are the commands being passed to the database? -- William R. Mussatto Systems Engineer http://www.csz.com 909-920-9154 -- MySQL General Mailing List For list archives: http://lists.mysql

Re: MySQL being hacked with commands through URL

2009-11-18 Thread Johan Gant
With respect, denying all access to 'users' for anything except r...@localhost sounds like trying to cure dandruff by decapitation. Firstly your web app shouldn't be using root to access your data tables and secondly there's every chance his web server is seperate from his db server. You should hav

Re: MySQL being hacked with commands through URL

2009-11-18 Thread Tompkins Neil
Hi First things first - prevent access apart from r...@localhost to the users table Neil On Wed, Nov 18, 2009 at 5:50 PM, Gary Smith wrote: > James Coffman wrote: > >> Hello all, >> >>My website has been hacked using a url such as: >> >> -1%20union%20all%20select%201,2,concat(u

Re: MySQL being hacked with commands through URL

2009-11-18 Thread Gary Smith
James Coffman wrote: Hello all, My website has been hacked using a url such as: -1%20union%20all%20select%201,2,concat(username,char(58),password),4,5,6%20f rom%20users-- . I have been searching on the web for a solution/fix to this issue and I cannot seem to find one. The

RE: MySQL being hacked with commands through URL

2009-11-18 Thread Michael . Coll-Barth
> From: James Coffman [mailto:webmas...@cadc.com] > Hello all, > > My website has been hacked using a url such as: > -1%20union%20all%20select%201,2,concat(username,char(58),passw > ord),4,5,6%20f > rom%20users-- . Without more information, it sounds like simple SQL insertion

Re: MySQL being hacked with commands through URL

2009-11-18 Thread Wm Mussatto
holder mechanism. For example if I'm expecting a page number (or other whole number) from form variable PAGEID I do something like this. ($pid) = $q->param('PAGEID') =~/(\d+)/; Basically it will only accept 0-9s as input. Hope this helps. How do you have your database server

RE: MySQL being hacked with commands through URL

2009-11-18 Thread Michael . Coll-Barth
> From: James Coffman [mailto:webmas...@cadc.com] > Hello all, > > My website has been hacked using a url such as: > -1%20union%20all%20select%201,2,concat(username,char(58),passw > ord),4,5,6%20f > rom%20users-- . Without more information, it sounds like simple SQL insertion

MySQL being hacked with commands through URL

2009-11-18 Thread James Coffman
Hello all, My website has been hacked using a url such as: -1%20union%20all%20select%201,2,concat(username,char(58),password),4,5,6%20f rom%20users-- . I have been searching on the web for a solution/fix to this issue and I cannot seem to find one. The command above is showing

Re: question about the mysql prepare/execute commands

2008-09-02 Thread Jim Lyons
> See if that improves the numbers on the prepared statement. > > - michael dykman > > > On Tue, Sep 2, 2008 at 5:41 PM, Jim Lyons <[EMAIL PROTECTED]> wrote: > > I have a question about the prepare/execute commands provided by mysql. > > > > I devised

Re: question about the mysql prepare/execute commands

2008-09-02 Thread Michael Dykman
then, at the end insert COMMIT See if that improves the numbers on the prepared statement. - michael dykman On Tue, Sep 2, 2008 at 5:41 PM, Jim Lyons <[EMAIL PROTECTED]> wrote: > I have a question about the prepare/execute commands provided by mysql. > > I devised a benchmark

question about the mysql prepare/execute commands

2008-09-02 Thread Jim Lyons
I have a question about the prepare/execute commands provided by mysql. I devised a benchmark, comparing updating a table using a statement-at-a-time versus using a prepare/execute pair. The table had a million rows. The statement-at-a-time file looked like: reset query cache; update company

RE: Are there any tools to get "diff" (alter commands) between tow tables ?

2007-03-21 Thread Daevid Vincent
> > > I wonder if there are any tools to do a "diff" between two tables > > > struture to result alter command to convert table A > > > structure to table B structure ? > > > > Yes, our tool "Database Workbench" includes a so-called > > "Schema Compare" tool which allows you to compare structures

Re: Are there any tools to get "diff" (alter commands) between tow tables ?

2007-03-19 Thread KLEIN Stéphane
2007/3/19, Martijn Tonies <[EMAIL PROTECTED]>: Hi, > I wonder if there are any tools to do a "diff" between two tables > struture to result alter command to convert table A structure to table > B structure ? Yes, our tool "Database Workbench" includes a so-called "Schema Compare" tool which all

Re: Are there any tools to get "diff" (alter commands) between tow tables ?

2007-03-19 Thread Martijn Tonies
Hi, > I wonder if there are any tools to do a "diff" between two tables > struture to result alter command to convert table A structure to table > B structure ? Yes, our tool "Database Workbench" includes a so-called "Schema Compare" tool which allows you to compare structures and create a change

Are there any tools to get "diff" (alter commands) between tow tables ?

2007-03-19 Thread KLEIN Stéphane
Hello, I wonder if there are any tools to do a "diff" between two tables struture to result alter command to convert table A structure to table B structure ? Thanks for your information. Stephane -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:ht

RE: SHOW commands.

2005-11-30 Thread Mikhail Berman
rom: Michael Williams [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 29, 2005 11:30 PM To: mysql@lists.mysql.com 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 to retrieve

Re: SHOW commands.

2005-11-30 Thread Kristen G. Thorson
Michael Williams wrote: Thanks for the responses everyone. Just a quick FYI, I am using Python as an intermediary to sync the DBs (I'm fine with using whatever as long as it's Debian compatible). I suppose I should have explained before, but I'm using the Python script to connect from a

Re: SHOW commands.

2005-11-30 Thread Michael Williams
- 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;

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,

Re: SHOW commands.

2005-11-29 Thread Cal Evans
utput 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 doesn't seem to work here. I need a copy of this comman

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 ta

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 * F

Re: multiple commands to mysql from regular command line

2005-10-24 Thread sheeri kritzer
a one-liner, though, the above will work. > > -Sheeri > > On 10/21/05, Dustin Krysak <[EMAIL PROTECTED]> wrote: > > Hi there, I was wondering if it was possible to issue multiple > > commands to mysql from a regular command line? For example i know you > >

Re: multiple commands to mysql from regular command line

2005-10-21 Thread Hassan Schroeder
Dustin Krysak wrote: > Hi there, I was wondering if it was possible to issue multiple commands > to mysql from a regular command line? For example i know you can issue > a single by the following: > > mysql -u${DB_USER} -p${DB_PASSWORD} -e 'show databases' e.g.,

Re: multiple commands to mysql from regular command line

2005-10-21 Thread Jasper Bryant-Greene
On Fri, 2005-10-21 at 14:34 -0700, Dustin Krysak wrote: > Hi there, I was wondering if it was possible to issue multiple > commands to mysql from a regular command line? For example i know you > can issue a single by the following: > > mysql -u${DB_USER} -p${DB_PASSWORD} -e

multiple commands to mysql from regular command line

2005-10-21 Thread Dustin Krysak
Hi there, I was wondering if it was possible to issue multiple commands to mysql from a regular command line? For example i know you can issue a single by the following: mysql -u${DB_USER} -p${DB_PASSWORD} -e 'show databases' Now what if for example i needed to select a database

Re: Can we run linux commands from inside the msql client

2005-09-28 Thread Hassan Schroeder
[EMAIL PROTECTED] wrote: > The system commands you execute through the MySQL client are not performed > at the server ... Ah, OK, got it. Of course. I plead temporary under-caffeination :-) Thanks for the clarification. -- Hassan Schroeder - [EMAIL PRO

Re: Can we run linux commands from inside the msql client

2005-09-28 Thread SGreen
Hassan Schroeder <[EMAIL PROTECTED]> wrote on 09/28/2005 11:58:35 AM: > Wolfram Kraus wrote: > > >> can we execute shell commands inside mysql client > > > Use \! > > Whoa. I didn't know that. Is that controlled in any way by GRANT? > Or by conf/s

Re: Can we run linux commands from inside the msql client

2005-09-28 Thread Hassan Schroeder
Wolfram Kraus wrote: >> can we execute shell commands inside mysql client > Use \! Whoa. I didn't know that. Is that controlled in any way by GRANT? Or by conf/startup options? It seems like something you might (strongly!) want to disallow in a shared environment :-) -- Ha

Re: Can we run linux commands from inside the msql client

2005-09-28 Thread Hirofumi Fujiwara
> hi.. > > I searched the documentation and googled for sometime, but didnt find > anything related to this > can we execute shell commands inside mysql client (like using ! in oracle), > and if possible please tell me how. > > sujay system(\!) Execute a system

RE: Can we run linux commands from inside the msql client

2005-09-28 Thread Sujay Koduri
Thanks a ton :) sujay -Original Message- From: David Ziggy Lubowa [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 4:37 PM To: mysql@lists.mysql.com Cc: Sujay Koduri Subject: Re: Can we run linux commands from inside the msql client Yes you can ... e.g mysql>\!

Re: Can we run linux commands from inside the msql client

2005-09-28 Thread David Ziggy Lubowa
gt; can we execute shell commands inside mysql client (like using ! in oracle), > and if possible please tell me how. > > sujay -- -- Fanaticism consists of redoubling your effort when you have forgotten your aim. -- George Santayana -- MySQL General Mailing L

Re: Can we run linux commands from inside the msql client

2005-09-28 Thread Wolfram Kraus
Sujay Koduri wrote: hi.. I searched the documentation and googled for sometime, but didnt find anything related to this can we execute shell commands inside mysql client (like using ! in oracle), and if possible please tell me how. sujay Use \! E.g. \! ls More information :\? HTH

Can we run linux commands from inside the msql client

2005-09-28 Thread Sujay Koduri
hi.. I searched the documentation and googled for sometime, but didnt find anything related to this can we execute shell commands inside mysql client (like using ! in oracle), and if possible please tell me how. sujay

Re: "port" option ignored by commands SOLVED

2005-07-27 Thread amailp
Wolfram wrote : >[EMAIL PROTECTED] wrote: >> Hi, >> >> >> using mysql 4.0.22-standard-log. >> one instance on port 3307 >> one instance on port 3306 >> (each binary in its own independent directory) >> >> unix 'root' account s

Re: "port" option ignored by commands

2005-07-27 Thread Wolfram Kraus
[EMAIL PROTECTED] wrote: Hi, using mysql 4.0.22-standard-log. one instance on port 3307 one instance on port 3306 (each binary in its own independent directory) unix 'root' account submits following commands and connects to mysql on default 3306 port instead of awaited 3307 port

"port" option ignored by commands

2005-07-27 Thread amailp
Hi, using mysql 4.0.22-standard-log. one instance on port 3307 one instance on port 3306 (each binary in its own independent directory) unix 'root' account submits following commands and connects to mysql on default 3306 port instead of awaited 3307 port : ~mysqld/bin/mysql --po

Re: parsing show commands (for monitoring/logging)

2005-07-12 Thread Sid Lane
thanks but I already have a bash version that logs to local filesystem (then hacks the log into insert statements). what I'm working on is something to log to another MySQL DB (outside replication environment) to which I point (f)cgi (, etc.) I think I've answered my own ?: it seems DBI will par

Re: parsing show commands (for monitoring/logging)

2005-07-12 Thread Bruce Dembecki
does MySQL have a "pretty" way to persist snapshots of various show commands? for example in Oracle you could just do: insert into sysstat_log select sysdate, * from v$sysstat; --(an ugly, overly simple example) can the show commands be called/parsed with DBD/DBI? so far the onl

parsing show commands (for monitoring/logging)

2005-07-12 Thread Sid Lane
does MySQL have a "pretty" way to persist snapshots of various show commands? for example in Oracle you could just do: insert into sysstat_log select sysdate, * from v$sysstat; --(an ugly, overly simple example) can the show commands be called/parsed with DBD/DBI? so far the onl

Re: order important in grant commands?

2005-04-18 Thread Gleb Paharenko
ese tests was dumped from a server running > 4.0.13-standard. (Or not. Dunno.) > > - Mark > > Here is the transcript: > > ==begin quote== > > claspc2:marki:1026> mysql -uroot mysql > Reading table information for completion of table and column names > Yo

Re: order important in grant commands?

2005-04-15 Thread Gleb Paharenko
; >> > That is what I thought. Because of the sorting I should not have to > worry about the order of issuing the grant commands. That's why I posted. > >>What output does the following statement produce: >> >> show grants for current_user(); >&g

Re: order important in grant commands?

2005-04-15 Thread Mark M. Ito
ff this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 152 to server version: 4.1.11-standard Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> revoke all on testdb.* fr

Re: order important in grant commands?

2005-04-15 Thread Mark M. Ito
hould not have to worry about the order of issuing the grant commands. That's why I posted. What output does the following statement produce: show grants for current_user(); Now there's an excellent idea! Here is what I get in the "bad" configuration: ==begin quote== &

Re: order important in grant commands?

2005-04-15 Thread Gleb Paharenko
s for current_user(); "Mark M. Ito" <[EMAIL PROTECTED]> wrote: > Dear MySQL List, > > Is order important when issuing grant commands? > > Linux, Fedora Core 3 > MySQL server version: 4.1.11-standard, installed via RPM. > perl DBI module

order important in grant commands?

2005-04-14 Thread Mark M. Ito
Dear MySQL List, Is order important when issuing grant commands? Linux, Fedora Core 3 MySQL server version: 4.1.11-standard, installed via RPM. perl DBI module installed from CPAN on top of this version. I am trying to allow all privileges to a given user to a given database from inside my

Re: semicolon commands causing problems

2005-03-23 Thread Usha
Hi, Which version of Mysql you are using? My query browser executes mutiple commands -semicolon as seperated, and my ant script too works !! The version Im using is 4.0.24. Thanks Usha - Original Message - From: "Justin Moore" <[EMAIL PROTECTED]> To: Sent: Wed

RE: semicolon commands causing problems

2005-03-23 Thread SGreen
know ANT at all so I can't say how each ANT command/statement is to be terminated. But, if you are executing SQL commands through an ANT connection to the database, I think you will need to send (execute, process, whatever the verb is in ANT...) your SQL statements one at a time as your c

RE: semicolon commands causing problems

2005-03-23 Thread Justin Moore
: Wednesday, March 23, 2005 10:39 AM To: mysql@lists.mysql.com Subject: semicolon commands causing problems Hi, Anyone know why I can't run multiple commands from the query browser using semicolons to separate the commands? ex: The following command works fine: select now(); Howeve

Re: semicolon commands causing problems

2005-03-23 Thread SGreen
"Justin Moore" <[EMAIL PROTECTED]> wrote on 03/23/2005 10:38:48 AM: > Hi, > > Anyone know why I can't run multiple commands from the query browser > using semicolons to separate the commands? > > ex: > The following command works fine: > select now

semicolon commands causing problems

2005-03-23 Thread Justin Moore
Hi, Anyone know why I can't run multiple commands from the query browser using semicolons to separate the commands? ex: The following command works fine: select now(); However the following commands do not select now(); select version(); Your help is appreciated, -JM -- MySQL Ge

Re: Executing Pre-Written Commands

2004-04-23 Thread Michael Stassen
Brian Reichert wrote: On Fri, Apr 23, 2004 at 10:47:53AM -0400, Chris Stevenson wrote: Anyone out there have any experience with the book MySQL by Paul DuBois? I'm having trouble figuring out how to save/reuse executed commands (primarily creating tables at this point). Perhaps I could bou

RE: Executing Pre-Written Commands

2004-04-23 Thread Dathan Vance Pattishall
Paul book is killer, I have the 1st and second addition - but to answer your question the mySQL client can save commands, but if your looking for something in mySQL itself to do that it can't. To create tables you can do something like this. %>mysql -h -uroot -p -f < The ddl file

Re: Executing Pre-Written Commands

2004-04-23 Thread Brian Reichert
On Fri, Apr 23, 2004 at 10:47:53AM -0400, Chris Stevenson wrote: > Anyone out there have any experience with the book MySQL by Paul DuBois? > I'm having trouble figuring out how to save/resuse executed commands > (primarily creating tables at this point). Perhaps I could bounce a f

Executing Pre-Written Commands

2004-04-23 Thread Chris Stevenson
Anyone out there have any experience with the book MySQL by Paul DuBois? I'm having trouble figuring out how to save/resuse executed commands (primarily creating tables at this point). Perhaps I could bounce a few questions offline if you've got used this book before or think you can

Re: Dumping sql commands

2004-03-25 Thread John Hicks
On Thursday 25 March 2004 03:11 pm, Erich Beyrent wrote: > Is there any way I can show all > the sql commands for creating and populating a table > from within mysql? Here's the first half of your task: SHOW CREATE TABLE MyTableName; --John On Thursday 25 March 2004 03:11 pm,

Re: Dumping sql commands

2004-03-25 Thread Victor Pendleton
What do you have access to? SSH? ODBC? Port Access? On Thu, 25 Mar 2004, Erich Beyrent wrote: > Hi there, > > I am running a website on a host who has blocked access to mysqldump. > Is there any way I can show all the sql commands for creating and > populating a table from within m

Dumping sql commands

2004-03-25 Thread Erich Beyrent
Hi there, I am running a website on a host who has blocked access to mysqldump. Is there any way I can show all the sql commands for creating and populating a table from within mysql? Again, I don't have access to mysqldump. Thanks! -Erich- -- MySQL General Mailing List For list arc

Re: Executing MySQL Commands From Within C Program

2004-03-21 Thread Rick Emery
See my original post below prior to reading the next 4 lines.. In addition to what I tried below, I tried the following (with this result): $ ld -lmysqlclient -o myprog myprog.o ld: warning: cannot find entry symbol _start; defaulting to 08048208 /usr/lib/libmysqlclient.so: undefined reference to

Executing MySQL Commands From Within C Program

2004-03-21 Thread Rick Emery
I am attempting to interface between a simple C program and MySQL, but without luck. I searched the MySQLforum archives to see if there was info specific to this problem. While there were other folks who had problems connecting C/C++ to MySQL, none of the issue were similar to this, that is lin

Re: Large lists of SQL commands choking PHPmyAdmin?

2004-03-18 Thread W. D.
At 02:03 3/18/2004, olinux wrote: >--- "W. D." wrote: >> I am a relative newbie to MySQL and PHPmyAdmin. I >> tried adding >> data into an existing table by 'uploading' a file in >> PHPmyAdmin. >> I know the INSERT INTO commands are valid, s

Re: Large lists of SQL commands choking PHPmyAdmin?

2004-03-18 Thread olinux
--- "W. D." wrote: > I am a relative newbie to MySQL and PHPmyAdmin. I > tried adding > data into an existing table by 'uploading' a file in > PHPmyAdmin. > I know the INSERT INTO commands are valid, since I > can import > several hundred records usin

Large lists of SQL commands choking PHPmyAdmin?

2004-03-17 Thread W. D.
Hi Folks, I am a relative newbie to MySQL and PHPmyAdmin. I tried adding data into an existing table by 'uploading' a file in PHPmyAdmin. I know the INSERT INTO commands are valid, since I can import several hundred records using PHPmyAdmin. However, when I try to import a few thousa

Re: Wildcards not allowed in GRANT commands for table names?

2003-09-24 Thread Egor Egorov
"Knepley, Jim" <[EMAIL PROTECTED]> wrote: > > The docs explicitly say that wildcards are allowed when specifying > database names in GRANT commands, but don't say anything about wildcards > being allowed in table names. > For example, in one large database I ha

Wildcards not allowed in GRANT commands for table names?

2003-09-23 Thread Knepley, Jim
The docs explicitly say that wildcards are allowed when specifying database names in GRANT commands, but don't say anything about wildcards being allowed in table names. For example, in one large database I have table names that are grouped by function: security.ids_e

Re: Commands out of sync

2003-09-16 Thread Paul DuBois
At 4:26 PM +0200 9/16/03, VIVES Ariel wrote: Hello the list, sorry for my english, i'm french :-p i've got a php script with a mysql database. everything works fine. but today, i've got this message : Commands out of sync; You can't run this command now i've done N

Re: Commands out of sync

2003-09-16 Thread Boyd Lynn Gerber
On 16 Sep 2003, VIVES Ariel wrote: > i've got a php script with a mysql database. > everything works fine. > but today, i've got this message : > > Commands out of sync; You can't run this command now > > i've done NOTHING. > nothing on my php script

Commands out of sync

2003-09-16 Thread VIVES Ariel
Hello the list, sorry for my english, i'm french :-p i've got a php script with a mysql database. everything works fine. but today, i've got this message : Commands out of sync; You can't run this command now i've done NOTHING. nothing on my php scripts. nothing on

'Commands out of sync' when moving app from Linux to MacOS X

2003-09-04 Thread David Dennis
compiling my programs on MacOS X, they compile fine, but in many cases I am getting a "Commands out of Sync" error when previously I had no errors. They seem to fail consistently in the same place, but I'm having a really tough time telling why they're failing. The problem se

Re: How to Track error - Commands Out of Sync

2003-08-26 Thread Jocelyn Fournier
day, August 26, 2003 10:23 PM Subject: Re: How to Track error - Commands Out of Sync > Jocelyn, > We use PHP for our application. We are running version 4.2.3. Thanks for the > help. > > > On 8/26/03 2:16 PM, "Jocelyn Fournier" <[EMAIL PROTECTED]> wrot

Re: How to Track error - Commands Out of Sync

2003-08-26 Thread Jocelyn Fournier
Hi, Do you use PHP ? If so, which version is installed ? Regards, Jocelyn - Original Message - From: "Free Grafton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 26, 2003 10:05 PM Subject: How to Track error - Commands Out of Sync > We ar

How to Track error - Commands Out of Sync

2003-08-26 Thread Free Grafton
We are currently running about 50 databases on MySQL 4.0.14. Occasionally our users will get the error: Couldn't select database. Message: Commands out of sync; You can't run this command now Message Number: 2014 When this happens to one customer, it affects them all. We end up

(2014) Commands out of sync; You can't run this command now

2003-05-28 Thread Ben Clewett
MySql, Hope you can help. I'm suddenly, after updgrading to MySQL 4.0.13-max-log Linux, getting the error: (2014) Commands out of sync; You can't run this command now On the second command I send to MySQL. First, no problem. I'm using MyC libruary, which has worked before.

Re: Combining commands

2003-04-04 Thread Jason Joines
Victoria Reznichenko wrote: On Friday 04 April 2003 18:20, Jason Joines wrote: Is there any way to combine MySQL commands? For example I want to display the columns and indexes from a table. I can issue the two commands on one line as show fields from dbname.tblname; show index from

re: Combining commands

2003-04-04 Thread Victoria Reznichenko
On Friday 04 April 2003 18:20, Jason Joines wrote: > Is there any way to combine MySQL commands? For example I want to > display the columns and indexes from a table. I can issue the two > commands on one line as > > show fields from dbname.tblname; show index from

Combining commands

2003-04-04 Thread Jason Joines
Is there any way to combine MySQL commands? For example I want to display the columns and indexes from a table. I can issue the two commands on one line as show fields from dbname.tblname; show index from dbname.tblname; Is there some way to say show fields and index from

List commands

2003-03-02 Thread Dominio, Lda
Hi, i'am new in this list. In my subscrition I did give wrong mailbox ... How can i change mailbox from my subscrition ? Thanks Fernando mySQL - Before posting, please check: http://www.mysql.com/manual.php (the manual)

Re: Scripting MySQL Commands

2003-03-02 Thread Paul DuBois
At 12:25 -0500 3/2/03, Stephen Tiano wrote: Paul, Oliver-- I really, really appreciate you guys taking time from your respective Sundays to try and enlighten me. But I'm still getting nowhere fast. I've gotten it to this: I open a new shell and type: /usr/local/bin/mysql --local-infile -u

Re: Scripting MySQL Commands

2003-03-02 Thread Jeff Shapiro
I'm fairly new to MySQL as well (although, I do have experience with Oracle). Even though you create a new database doesn't mean that MySQL will automatically start using that database. After all you might want to create 10 or 15 databases all at once (why? I don't know), then start creating ta

Re: Scripting MySQL Commands

2003-03-02 Thread Stephen Tiano
Guys, Guys-- I got it! I stopped being a dimwit long enough to realize that the change to "USE Temp;" below was for INSIDE the script. When I made that change and again went to a new shell and typed (actually, I dragged the file from the window in which it sat in the Finder into the Terminal a

Scripting MySQL Commands

2003-03-02 Thread Stephen Tiano
Paul, Oliver-- I really, really appreciate you guys taking time from your respective Sundays to try and enlighten me. But I'm still getting nowhere fast. I've gotten it to this: I open a new shell and type: /usr/local/bin/mysql --local-infile -u root -p [the full pathname up to]/Temp.sql a

Re: Re: Scripting MySQL Commands

2003-03-02 Thread Oliver Schlag
Hy Steve, > USE DATABASE Temp; try to change this into : USE Temp; and try it again, this should work. HTH Oliver for the filter : sql,query,queries,smallint - Before posting, please check: http://www.mysql.com/manual.

Re: Scripting MySQL Commands

2003-03-02 Thread Stephen Tiano
Paul, Thanks very much for responding. I tried what you suggested, but got: ERROR 1102: Incorrect database name '/Users/stephent/Sites/Temp.sql' I don't get this. What wrong database name? The script is supposed to create the database and a table in it. What an I too dense to see? Thanks a

Re: Scripting MySQL Commands

2003-03-02 Thread Paul DuBois
At 8:53 -0500 3/2/03, [EMAIL PROTECTED] wrote: I'm doing all kinds of exercises and tutorials to get up to speed on MySQL on my PowerBook with OS X.2 running. I just tried an exercise that, for the first time, had me creating a table not right in the MySQL monitor, but, rather, via a script that I

  1   2   3   >