mysqladmin segfaults on Solaris 8

2002-06-13 Thread Markus Lervik
, Markus -- Markus Lervik Linux-administrator Vaasa City Library - Regional Library +358-6-325 3589 / +358-40-832 6709 - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com

Re: GRANTs and %

2002-06-11 Thread Markus Lervik
''clients'@'%' IDENTIFIED BY '123'' at line 1 GRANT ALL PRIVILEGES ON newstesting.* TO 'clients'@'%' IDENTIFIED BY '123'; You're missing the 'TO'. Cheers, Markus -- Markus Lervik Linux-administrator Vaasa City Library - Regional Library, Finland [EMAIL PROTECTED] +358-6-325 3589/+358-40-832 6709

InnoDB foreign key constraints

2002-06-10 Thread Markus Lervik
, Markus -- Markus Lervik Linux-administrator Vaasa City Library - Regional Library, Finland [EMAIL PROTECTED] +358-6-325 3589/+358-40-832 6709 - Before posting, please check: http://www.mysql.com/manual.php (the manual

Re: InnoDB foreign key constraints

2002-06-10 Thread Markus Lervik
table './koneet/#sql-355_4.frm' (errno: 150) *sigh* Cheers, Markus -- Markus Lervik Linux-administrator Vaasa City Library - Regional Library, Finland [EMAIL PROTECTED] +358-6-325 3589/+358-40-832 6709 - Before posting, please

Re: InnoDB foreign key constraints

2002-06-10 Thread Markus Lervik
On Monday 10 Jun 2002 11:44 am, Markus Lervik wrote: mysql show create table ip_name_tbl\G *** 1. row *** Table: ip_name_tbl Create Table: CREATE TABLE `ip_name_tbl` ( [snip] `name_id` int(11) NOT NULL default '0', [snip] mysql show

Re: mysql not supporting php.

2002-06-03 Thread Markus Lervik
to the configure script. Also, does anyone know the command to list all the db's? thanks. SHOW DATABASES; Cheers, Markus -- Markus Lervik Linux-administrator Vaasa City Library - Regional Library, Finland [EMAIL PROTECTED] +358-6-325 3589/+358-40-832 6709

Re: INSERT IF NOT EXISTS?

2002-05-28 Thread Markus Lervik
. Rob's idea is of course a solution, but that sort of brings me back to my original question : is there a -SIMPLE- way? ; ) INSERT IGNORE wouldn't, if I understood the manual correctly, help me here, since the other rows in the table aren't UNIQUE, no? Cheers, Markus -- Markus Lervik Linux

INSERT IF NOT EXISTS?

2002-05-27 Thread Markus Lervik
(filter fodder: sql, query) Hello group! Quick question: Is there a simple way to do something like INSERT IF NOT EXISTS, other than first doing a SELECT and checking if it returns any rows? If not, that would be pretty high up on my whish-list : ) Cheers, Markus -- Markus Lervik Linux

mysqladmin hanging on Solaris 8/Intel

2002-05-21 Thread markus lervik
danger of losing data? Cheers, Markus -- Markus Lervik Linux-administrator Vaasa City Library - Regional Library +358-6-325 3589 / +358-40-832 6709 - Before posting, please check: http://www.mysql.com/manual.php (the manual

SELECT/JOIN problems

2002-04-29 Thread Markus Lervik
anything I can think about, but nada. I'd assume that if it's at all possible it'd be some join-trickery, but I just can't figure it out. (yes, I know it'd be easier db-wise to have a 'paid ENUM(y,n)' -field, but this is just a curiosity. I want to know. ;) Cheers, Markus -- Markus Lervik

A bit OT: ColdFusion can't connect to MySQL via ODBC (newbie)

2002-03-13 Thread Markus Lervik
that coldfusion would open the connection when using a cfquery-tag. Any help is greatly appreciated. Cheers, Markus, tearing big lumps of hair out. -- Markus Lervik Linux-administrator with a kungfoo grip Vaasa City Library - Regional Library [EMAIL PROTECTED] +358-6-325 3589 / +358-40-832 6709

Re: mysqld cannot find host.frm even though it is in data/mysql

2002-03-04 Thread Markus Lervik
:20:41 /usr/local/mysql/bin/mysqld: Can't find file: './mysql/host.frm ' (errno: 13). Did you read the README file? [mle@hal9000 rip]$ perror 13 Error code 13: Permission denied chown -R mysql.mysql mysql/ ought to sort it out. -- Markus Lervik Linux-administrator with a kungfoo grip

Re: mysql error

2002-02-22 Thread Markus Lervik
-- Markus Lervik Linux-administrator with a kungfoo grip Vaasa City Library - Regional Library [EMAIL PROTECTED] +358-6-325 3589 / +358-40-832 6709 - Before posting, please check: http://www.mysql.com/manual.php (the manual) http

Re: for You

2002-01-30 Thread Markus Lervik
.) c) Unsubscribe from the list if it bothers you that much. We've (unfortunately) seen at least one individual unsubscribing, not too long ago, because of the spam. Cheers, Markus -- Markus Lervik Linux-administrator with a kungfoo grip Vaasa City Library - Regional Library [EMAIL PROTECTED

Re: Porting from MS SQL to MySQL

2002-01-22 Thread Markus Lervik
stated before, in our request for offers on the database (whatever the correct term might be), we specifically said that we wanted MySQL or PostgreSQL, which makes even more stupid to offer us MS SQL, because they (ought to) know that we won't take them in that case. Cheers, Markus -- Markus

MySQL server not listening on port?

2002-01-22 Thread Markus Lervik
about identical on the two machines. Ideas? Cheers, Markus -- Markus Lervik Linux-administrator with a kungfoo grip Vaasa City Library - Regional Library [EMAIL PROTECTED] +358-6-325 3589 / +358-40-832 6709 - Before posting, please

Re: MySQL server not listening on port?

2002-01-22 Thread Markus Lervik
On Tuesday 22 January 2002 14:32, Markus Lervik wrote: Hi! For some strange reason MySQL doesn't listen for incoming connections on port 3306. I have four servers, two of which are 4.0.1 and two are 3.23.47. I can connect between three of them freely, but one, shodan (yes. *g*) doesn't

Re: Porting from MS SQL to MySQL

2002-01-20 Thread Markus Lervik
. Cheers, Markus -- Markus Lervik Linux-administrator with a kungfoo grip Vaasa City Library - Regional Library [EMAIL PROTECTED] +358-6-325 3589 / +358-40-832 6709 - Before posting, please check: http://www.mysql.com/manual.php

Re: Porting from MS SQL to MySQL

2002-01-20 Thread Markus Lervik
-- Markus Lervik Linux-administrator with a kungfoo grip Vaasa City Library - Regional Library [EMAIL PROTECTED] +358-6-325 3589 / +358-40-832 6709 - Before posting, please check: http://www.mysql.com/manual.php (the manual

Fwd: Re: compiling and/or running 64-bit MySQL on Solaris 8/sparc?

2002-01-18 Thread Markus Lervik
Forgot to CC to the list. Here it goes, in case anyone else has these problems: -- Forwarded Message -- Subject: Re: compiling and/or running 64-bit MySQL on Solaris 8/sparc? Date: Fri, 18 Jan 2002 15:06:57 +0200 From: Markus Lervik [EMAIL PROTECTED] To: Hatton Steven [EMAIL

Porting from MS SQL to MySQL

2002-01-18 Thread Markus Lervik
euro. Now, what I want to know is, how easy is it to port a (fairly complicated) database from MS SQL to MySQL? It can't be work worth 18 000 euro, now can it? Cheers, Markus -- Markus Lervik Linux-administrator with a kungfoo grip Vaasa City Library - Regional Library [EMAIL PROTECTED] +358-6

Re: Porting from MS SQL to MySQL

2002-01-18 Thread Markus Lervik
On Friday 18 January 2002 15:58, you wrote: On Fri, Jan 18, 2002 at 03:16:15PM +0200, Markus Lervik wrote: We've requested a database from different companies, and specifically said we wanted MySQL or PostgreSQL because of the open source angle and we're a library. One company

SELECT ... INTO

2001-12-17 Thread markus|lervik
the records by hand. I have gotten the names of the magazines into a table with an auto_incremented primary id field, but how could I get all the same names away from both tables and only leave unique names? -- Markus Lervik Linux administrator with a kungfoo grip Vasa City Library - Regional Library

Re: quote marks

2001-12-15 Thread markus|lervik
, and it turned out to be an escaping inferno. Store the 15 screen using '15\\\ screen' in PHP, and it should work. Cheers, Markus -- Markus Lervik Linux administrator with a kungfoo grip Vasa City Library - Regional Library - Before

Re: [PHP] Performance

2001-12-13 Thread markus|lervik
out the FORM tag. I really wouldn't want to use FORM ACTION=blah.php, as I have this FORM tag in a nifty function that is called from a bunch of scripts. Cheers, Markus -- Markus Lervik Linux administrator with a kungfoo grip Vasa City Library - Public Library

RE: [PHP] Performance

2001-12-13 Thread markus|lervik
, Markus -- Markus Lervik Linux administrator with a kungfoo grip Vasa City Library - Public Library - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list

Duplicate messages and quoting

2001-12-13 Thread markus|lervik
-- Markus Lervik Linux administrator with a kungfoo grip Vasa City Library - Regional Library - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive

Re: [PHP] Performance

2001-12-13 Thread markus|lervik
), that php closes the connection every time I use a submit-button and it reloads the page. Technically speaking, that would be ending a script, right? -Markus -- Markus Lervik Linux administrator with a kungfoo grip Vasa City Library - Public Library

Re: [PHP] Performance

2001-12-13 Thread markus|lervik
I'll have to check the timeout parameter. Thanks a million to everyone who replied, but me thinks it's time for me to move this discussion to the php-db mailing list, as it is becoming grossly off-topic. -Markus -- Markus Lervik Linux administrator with a kungfoo grip Vasa City Library - Public