mysqldump and --opt

2004-01-23 Thread Curley, Thomas
HI all,

I am trying to use mysqldump for a new DB:

entered:
mysqldump --opt -uroot -p dbname  dbBak
Output
mysqldump: Got error: 1044: Access denied for user: '[EMAIL PROTECTED]' to 
database 'mdirect' when using LOCK TABLES


Then I logon as root (without specifing a db) - works fine

Entered
 grant lock tables on *.* to 'root'@'localhost';

Output
ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES)


Any ideas on this please





*
This email and any attachments are confidential and intended for the sole use of the 
intended recipient(s).If you receive this email in error please notify [EMAIL 
PROTECTED] and delete it from your system. Any unauthorized dissemination, 
retransmission, or copying of this email and any attachments is prohibited. Euroconex 
does not accept any responsibility for any breach of confidence, which may arise from 
the use of email. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of the Company. This 
message has been scanned for known computer viruses. 
*

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



NOT EXISTS

2003-12-15 Thread Curley, Thomas
Guys

Any idea why this query will not work in 4.0.13

select batch_id from BATCH
where NOT EXISTS (select 1 from TXN where TXN.batch_id = BATCH.batch_id)

You have an error in your SQL syntax near 'EXISTS (select * from TXN where 
TXN.batch_id = BATCH.batch_id)' at line 1


thanks
*
This email and any attachments are confidential and intended for the sole use of the 
intended recipient(s).If you receive this email in error please notify [EMAIL 
PROTECTED] and delete it from your system. Any unauthorized dissemination, 
retransmission, or copying of this email and any attachments is prohibited. Euroconex 
does not accept any responsibility for any breach of confidence, which may arise from 
the use of email. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of the Company. This 
message has been scanned for known computer viruses. 
*

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



RE: NOT EXISTS

2003-12-15 Thread Curley, Thomas
Many thanks Chris

-Original Message-
From: Chris Elsworth [mailto:[EMAIL PROTECTED]
Sent: 15 December 2003 11:22
To: Curley, Thomas
Cc: [EMAIL PROTECTED]
Subject: Re: NOT EXISTS


On Mon, Dec 15, 2003 at 10:59:32AM -, Curley, Thomas wrote:
 Guys
 
 Any idea why this query will not work in 4.0.13
 
 select batch_id from BATCH
 where NOT EXISTS (select 1 from TXN where TXN.batch_id = BATCH.batch_id)
 
 You have an error in your SQL syntax near 'EXISTS (select * from TXN where 
 TXN.batch_id = BATCH.batch_id)' at line 1

It's a subselect, and subselects aren't implemented in 4.0 - you need
4.1.

-- 
Chris
*
This email and any attachments are confidential and intended for the sole use of the 
intended recipient(s).If you receive this email in error please notify [EMAIL 
PROTECTED] and delete it from your system. Any unauthorized dissemination, 
retransmission, or copying of this email and any attachments is prohibited. Euroconex 
does not accept any responsibility for any breach of confidence, which may arise from 
the use of email. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of the Company. This 
message has been scanned for known computer viruses. 
*

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



RE: Debug options for mysqlimport?

2003-12-03 Thread Curley, Thomas
Good question - mysqlimport seems to work siliently and not report any errors.  I had 
read that this was to be improved in 4 - has it ??

appreciate answers

Thomas






-Original Message-
From: Greg G [mailto:[EMAIL PROTECTED]
Sent: 02 December 2003 15:22
To: [EMAIL PROTECTED]
Subject: Debug options for mysqlimport?



I'm having a tough time with the debug options for mysqlimport.  I've 
check the docs, but they're as clear as mud.  I've tried a number of 
combinations of -#d:t:o,filename and everything else I can think of, but 
I can't get any debug information.

What I'm really looking for is to get the text of warnings that were 
generated during and import.

-Greg G




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

*
This email and any attachments are confidential and intended for the sole use of the 
intended recipient(s).If you receive this email in error please notify [EMAIL 
PROTECTED] and delete it from your system. Any unauthorized dissemination, 
retransmission, or copying of this email and any attachments is prohibited. Euroconex 
does not accept any responsibility for any breach of confidence, which may arise from 
the use of email. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of the Company. This 
message has been scanned for known computer viruses. 
*

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Load data not working with sym link

2003-11-28 Thread Curley, Thomas
Hi all,

Platform RH linux on Dell with MySql 4


I changes the directory to where the data file was picked up from to a symbolic link 
and now get the error

Can't get stat of '/home/test/data_in/TEST.TXT' (Errcode: 13)

So all I did was to change ~test/data_in to a sym link to ~txn/data_in


Anyone know of this issue


thanks

Thomas






*
This email and any attachments are confidential and intended for the sole use of the 
intended recipient(s).If you receive this email in error please notify [EMAIL 
PROTECTED] and delete it from your system. Any unauthorized dissemination, 
retransmission, or copying of this email and any attachments is prohibited. Euroconex 
does not accept any responsibility for any breach of confidence, which may arise from 
the use of email. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of the Company. This 
message has been scanned for known computer viruses. 
*

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Security Question

2003-11-26 Thread Curley, Thomas
I am trying to find a solution to the following security issue with MySql DB on linux

- Someone copies the DB files to another box, starts a mysql instance, loads the DB 
and presto - views the 'private' data !!!

Ideally I would like to know if there is any option in MySql to store the DB files in 
a secure format and one that needs a key or similiar to open the DB

many thanks in advalnce for info










*
This email and any attachments are confidential and intended for the sole use of the 
intended recipient(s).If you receive this email in error please notify [EMAIL 
PROTECTED] and delete it from your system. Any unauthorized dissemination, 
retransmission, or copying of this email and any attachments is prohibited. Euroconex 
does not accept any responsibility for any breach of confidence, which may arise from 
the use of email. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of the Company. This 
message has been scanned for known computer viruses. 
*

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



RE: Security Question

2003-11-26 Thread Curley, Thomas
thanks for reply - the requirement comes from a security audit - so try to think in 
terms of a hacker

Obviously and (I had assumed)
1.  - the files would have tight unix security file permissions applied
2.  - indeed the key would be stored on an internal tightly managed box (or device)

Another Assumption
--
Encrypting / decrypting all data on the fly would be too expensive and grind the app 
to a halt

So the question again :-

Any ideas on how to avoid having data files stored with absolutely no 
protection against copying 


If there is no solution to this then MySql should not be used on internet accessible 
boxes for dynamic web sites


Thomas






-Original Message-
From: Fagyal, Csongor [mailto:[EMAIL PROTECTED]
Sent: 26 November 2003 12:51
To: Curley, Thomas
Cc: [EMAIL PROTECTED]
Subject: Re: Security Question


Thomas,

I am trying to find a solution to the following security issue with MySql DB on linux

- Someone copies the DB files to another box, starts a mysql instance, loads the DB 
and presto - views the 'private' data !!!
  

Well, someone should not have access rights to the DB files on the 
first hand.

Ideally I would like to know if there is any option in MySql to store the DB files in 
a secure format and one that needs a key or similiar to open the DB
  

If someone was able to access your DB files, he would probably also be 
able to access that key (that you must store _somewhere_), wouldn't he?

- Csongor


*
This email and any attachments are confidential and intended for the sole use of the 
intended recipient(s).If you receive this email in error please notify [EMAIL 
PROTECTED] and delete it from your system. Any unauthorized dissemination, 
retransmission, or copying of this email and any attachments is prohibited. Euroconex 
does not accept any responsibility for any breach of confidence, which may arise from 
the use of email. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of the Company. This 
message has been scanned for known computer viruses. 
*

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



RE: Security Question

2003-11-26 Thread Curley, Thomas
Mike

Correct and this is the architecture.  The internet facing box has a routable IP, the 
DB box is separate and is not ext routable.

The issue the security review highlighted strongly was the fact that if a hacker got 
access to the box (however) then copying /var/lib/mysql/database would result in a 
major security breach

To the chap who siad its not a DB issue - I will check with Oracle but I'm sure that 
dropping in a directory in oracle will not give you full access to a database (a clear 
one that is)

Thomas









-Original Message-
From: Mike Brum [mailto:[EMAIL PROTECTED]
Sent: 26 November 2003 13:36
To: Curley, Thomas; [EMAIL PROTECTED]
Subject: RE: Security Question


One of the first things that I did at my former job was to turn off all
external-facing network adapters to our DB machines. If you're fortunate
enough that your DB resides on it's own box and not the webserver itself,
then there's really no reason that you *need* to have it externally facing.
There are PLENTY of solutions that you can put in place in order to still
have remote access to those machines without them having an externally
routable IP.

While it is possible for a hacker to compromise one machine and then access
the DB machine over your internal WAN at the hosting location, the more
roadblocks you put between a potential hacker and your sensitive data, the
better.

-M


-Original Message-
From: Curley, Thomas [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 26, 2003 8:22 AM
To: [EMAIL PROTECTED]
Subject: RE: Security Question
Importance: High


thanks for reply - the requirement comes from a security audit - so try to
think in terms of a hacker

Obviously and (I had assumed)
1.  - the files would have tight unix security file permissions applied
2.  - indeed the key would be stored on an internal tightly managed box
(or device)

Another Assumption
--
Encrypting / decrypting all data on the fly would be too expensive and grind
the app to a halt

So the question again :-

Any ideas on how to avoid having data files stored with absolutely
no protection against copying 


If there is no solution to this then MySql should not be used on internet
accessible boxes for dynamic web sites


Thomas






-Original Message-
From: Fagyal, Csongor [mailto:[EMAIL PROTECTED]
Sent: 26 November 2003 12:51
To: Curley, Thomas
Cc: [EMAIL PROTECTED]
Subject: Re: Security Question


Thomas,

I am trying to find a solution to the following security issue with 
MySql DB on linux

- Someone copies the DB files to another box, starts a mysql instance, 
loads the DB and presto - views the 'private' data !!!
  

Well, someone should not have access rights to the DB files on the 
first hand.

Ideally I would like to know if there is any option in MySql to store 
the DB files in a secure format and one that needs a key or similiar to
open the DB
  

If someone was able to access your DB files, he would probably also be 
able to access that key (that you must store _somewhere_), wouldn't he?

- Csongor



*
This email and any attachments are confidential and intended for the sole
use of the intended recipient(s).If you receive this email in error please
notify [EMAIL PROTECTED] and delete it from your system. Any
unauthorized dissemination, retransmission, or copying of this email and any
attachments is prohibited. Euroconex does not accept any responsibility for
any breach of confidence, which may arise from the use of email. Please note
that any views or opinions presented in this email are solely those of the
author and do not necessarily represent those of the Company. This message
has been scanned for known computer viruses. 

*

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

*
This email and any attachments are confidential and intended for the sole use of the 
intended recipient(s).If you receive this email in error please notify [EMAIL 
PROTECTED] and delete it from your system. Any unauthorized dissemination, 
retransmission, or copying of this email and any attachments is prohibited. Euroconex 
does not accept any responsibility for any breach of confidence, which may arise from 
the use of email. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of the Company. This 
message has been scanned for known computer viruses. 
*

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http

Recommended Books

2002-10-07 Thread Curley, Thomas

Hi,

Any anyone have recommendations on MySql books currently in print.  What's the best or 
is the online manual all that's needed !

Thomas

-
Before posting, please check:
   http://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