) NOT NULL default '',
rei_ip varchar(64) NOT NULL default '',
rei_ts datetime NOT NULL default '-00-00 00:00:00',
PRIMARY KEY (rei_aid),
KEY rei_ip (rei_ip)
) ;
-Wash
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax
: libmysqlclient.so.10: open
failed: No such file or directory
Killed
**
You simply need the mysql-client. Because the API uses the
libmysqlclient.so LIB dynamically.
Greetings
Ralf
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109
adi wrote:
I have a table with column1 text type.
I want to make a sql query:
SELECT * from table WHERE column1 LIKE condition,
to select all record that contain numbers(0..9), and do not select records
that contain only text.
Any ideas?
tx in advance
column1 REGEXP [0-9]
--
Ralf Narozny
;
system(cmd);
}
#
chmod mailsend 700
mailsend the_file
(BTW: in the above example might be syntax error, because I did not test
it ;-) )
Greetings
Ralf
--
Ralf Narozny
Besuchen Sie uns auf der DMS-Expo. SAP, Dokumenten-
management oder das komplette Office ins Portal
... ;-)
Anil Garg wrote:
hi
What version combinations of mysql and php should be used?
regards
anil
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de
Flush
tables: 1 Open tables: 59 Queries per second avg: 35.492
Greetings
Ralf
--
Ralf Narozny
Besuchen Sie uns auf der DMS-Expo. SAP, Dokumenten-
management oder das komplette Office ins Portal einbinden?
Wir zeigen es Ihnen - vom 3. bis 5.9. auf der Messe Essen
Halle 3, Stand 3255
);
while ($sth-fetch()) {
print Record: $dnsrecord_id \n;
}
}
$sth-finish();
Greetings
Ralf
--
Ralf Narozny
Besuchen Sie uns auf der DMS-Expo. SAP, Dokumenten-
management oder das komplette Office ins Portal einbinden?
Wir zeigen es Ihnen - vom 3. bis 5.9. auf
found your slave status is a little not normal to me :D
as long as what you need is working, then everything is ok ;-)
--
Let's call it an accidental feature.
-- Larry Wall
MySQL 3.23.51 : up 73 days, Queries : 357.245 per second (avg).
--
Ralf Narozny
Besuchen Sie uns auf der DMS
to administer
Sounds evil indeed, how about giving grant rights and revoking insert
rights for mysql.users mysql.db and mysql.table?
Greetings
Ralf
--
Ralf Narozny
Besuchen Sie uns auf der DMS-Expo. SAP, Dokumenten-
management oder das komplette Office ins Portal einbinden?
Wir zeigen es
has no column of the name 'status'
--
Ralf Narozny
Besuchen Sie uns auf der DMS-Expo. SAP, Dokumenten-
management oder das komplette Office ins Portal einbinden?
Wir zeigen es Ihnen - vom 3. bis 5.9. auf der Messe Essen
Halle 3, Stand 3255
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de
-
Before posting, please check:
http
';
or
select something from table where index2 = 'value';
Does it have a compund index, created like this:
CREATE INDEX myindex ON table (index1,index2);
???
Greetings
Ralf
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431
specified and no makefile found. Stop.
[root@neelsl mysql-3.23.51-pc-linux-gnu-i686]# make install
make: *** No rule to make target `install'. Stop.
What is the problem, I am following the instructions provided in the
manual.txt.
I am new to this.
Greetings
Ralf
--
Ralf Narozny
via DEFAULT, since
DEFAULT has to be constant and since there are no triggers by now, try:
INSERT INTO table VALUES (a,b,a*b);
Greetings
Ralf
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL
don't want to loose any of my current data in this
column.
Greetings
Ralf
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de
resides)
Greetings
Ralf
sql query
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de
;
ALTER TABLE test DROP COLUMN Name;
Greetings
Ralf
sql query
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de
at that query ;-)
Greetings
Ralf
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de
-
Before posting
sql sql sql
query query query query query query query query query query query
P.S.: Damn filter!
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de
. For
example storing the zipcodes from more than one country might need at
max 15 characters, so why allowing 255, preventing MySQL to raise an
error, if the ZIP is 100 chars long.
Greetings
Ralf
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660
','Fish')
Greetings
Ralf
sql, query
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de
data and it consumes 100% of processor. This situation happens when I
have all tableA.id registered on tableB.ida or tableC.ida.
Any ideas?
Of course you have indexes on all of the id, idA, idB columns?
Greetings
Ralf
sql, query
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de
-
Before posting, please check:
http
the
field.
WHERE field LIKE '%keyword%'
maybe
WHERE upper(field) LIKE upper('%keyword%')
Greetings
Ralf
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de
://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
--
Ralf Narozny
SPLENDID Internet
Table1 t1
LEFT JOIN Table2 t2 ON (t1.Old_UserID = t2.UserID)
WHERE
t2.UserID IS NOT NULL
;
\. /tmp/update.sql
This might help...but better take a look at /tmp/update.sql, before
executing it!!!
Greetings
Ralf
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de
-
Before posting, please check:
http
]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de
://lists.mysql.com/php/unsubscribe.php
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de
-
Before
? that would explain
why $dbh-prepare() would not work.
I don't know why this is happening, although I have read as much as I
could fine on the net regarding this subject.
I'd be grateful for any help.
Thanks, -T
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel
/ (the list archive)
To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0
]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de
-
Before posting, please check:
http
the CGI on the same server as the MySQL is running?
And maybe change the line:
$dbh = DBI-connect($connectionInfo,$userid,$passwd);
to:
$dbh = DBI-connect($connectionInfo,$userid,$passwd) or print Connect failed;
Maybe you get the info then.
Ralf Narozny wrote:
Hello!
Troy Hickey wrote
? that would explain
why $dbh-prepare() would not work.
I don't know why this is happening, although I have read as much as I
could fine on the net regarding this subject.
I'd be grateful for any help.
Thanks, -T
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon
question, but you issued 'CREATE DATABASE poll;'?
Greetings
Ralf
sql , query
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de
://lists.mysql.com/ (the list archive)
To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon
Module (iirc)
which indicates that you need Perl DBI Module for mysqlhotcopy.
Greetings
Ralf
sql , query
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de
them down and point allupdating
clients to the new database machine.
Any comments ? Converting the tables in situ is painfully slow - a
couple of days I suspect.
Greetings
Ralf
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0
archive)
To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49
[EMAIL PROTECTED]
To unsubscribe, e-mail
[EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED
] |
+--+
How about:
UPDATE table SET id = concat(left(id, locate(id, '@')), 'domain2.com')
WHERE domain = domain1.com;
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED
be a better way to do it, isn't it?
No way! Should the database guess on it? ;-)
SELECT count(*) FROM ... WHERE ...;
Just like your query looks like is the only way.
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de
-
Before posting, please check:
http
event_id,
count(DISTINCT time) AS Ranges
FROM
events
GROUP BY
event_id HAVING Ranges 1
How about
SELECT
event_id,
time
FROM
events
GROUP BY
event_id,
time
HAVING
count(*) 1
;
???
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
/ (the list archive)
To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de
-
Before posting, please check
, is there any options
so that the same entry is made in the remote machine mysql db
If there is any option pls. let me know
Thanx in advance
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED
echo DELETE FROM churchmail WHERE
email = '$EMAIL'; ; done | mysql midtn
that was it...pretty easy isn't it? That's why I really love Linux :-)
Greetings
Ralf
sql query
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431
Using Linux/Unix I'd say:
echo SELECT concat('DELETE FROM mailtab WHERE
mailaddress=',mailaddress,';') FROM mailtab WHERE some strange
conditions here | mysql db | mysql db
[EMAIL PROTECTED] wrote:
I have about 40,000 email addresses in a MySQL database.
I also have a list of 1500 email
again of having
googlebot or other web robots interrupt my other server operations in my
computer.
Thank you
Edwin
sql query
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http
Hello!
The subject says it all: What rights does a user need to have (minimal
rights of course) to be able to execute PURGE MASTER LOGS command?
Thanks in advance
Ralf
For the poor little filter: sql query
--
Ralf Narozny
SPLENDID Internet GmbH Co KG
Skandinaviendamm 212, 24109 Kiel
(the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
--
Ralf Narozny
Splendid Internet GmbH
Skandinaviendamm 212
and the inner table.
Is this advisable..
Any other better options?
--
Ralf Narozny
Splendid Internet GmbH
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de
alternates..
Regards,
-Arul
--
Ralf Narozny
Splendid Internet GmbH
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de
-
Before posting
SELECT concat('DELETE FROM order WHERE order_no=', order_no, '
LIMIT 1;') FROM order GROUP BY order_no HAVING copunt(*) 1 | mysql -N
-u user database | mysql -N -u user database
That does the trick, IMHO nice and very easy.
Greetings
Ralf
--
Ralf Narozny
Splendid Internet GmbH
a .my.cnf.
what do I have to write in the ~user/.my.cnf to use completion ?
I tried in the [mysql] section:
auto-rehash
rehash
Solution:
simply delete the line 'no-auto-rehash'
and you are done.
Greetings
Ralf
--
Ralf Narozny
Splendid Internet GmbH
Skandinaviendamm 212, 24109 Kiel
names from builder which have any business given.
Greetings
Ralf
--
Ralf Narozny
Splendid Internet GmbH
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de
.
delete from table where expression limit 1;
would only delete one of the rows at least in 3.23.40+ it does :)
--
Ralf Narozny
Splendid Internet GmbH
Skandinaviendamm 212, 24109 Kiel, Germany
fon: +49 431 660 97 0, fax: +49 431 660 97 20
mailto:[EMAIL PROTECTED], http://www.splendid.de
Jay Blanchard wrote:
[snip]
I am trying to get only records out of a table mathing a query. This should
be piped into a textfile. My problem is that I have to transmit this records
to a new machine. So the output should be a kind of sql commands which I
could run with phpadmin or similar to
60 matches
Mail list logo