Re: Wrong path for temp file
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm (http://www.ezmlm.org) From: [EMAIL PROTECTED] Date: Mon, 23 Sep 2002 11:57:19 -0800 (AKDT) News-Group: list.mysql Reply-To: [EMAIL PROTECTED] Description: While trying to run this query: SELECT users_1.* FROM users AS users_1, users AS users_2 WHERE users_1.email_address = users_2.email_address AND users_1.id users_2.id ORDER BY users_1.email_address I got this error: Can't create/write to file '/root/tmp/#sql107d_bdf_2.MYI' (Errcode: 13) I know that this is a permission denied error, but the MySQL deamon is running as mysql, so it shouldn't be trying to write to /root/tmp anyway. It should be writing to /tmp Adjust the safe_mysqld file, you will find a temp setting within. - 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
Wrong path for temp file
Description: While trying to run this query: SELECT users_1.* FROM users AS users_1, users AS users_2 WHERE users_1.email_address = users_2.email_address AND users_1.id users_2.id ORDER BY users_1.email_address I got this error: Can't create/write to file '/root/tmp/#sql107d_bdf_2.MYI' (Errcode: 13) I know that this is a permission denied error, but the MySQL deamon is running as mysql, so it shouldn't be trying to write to /root/tmp anyway. It should be writing to /tmp How-To-Repeat: Run above query, or one like it. Fix: Unknown Submitter-Id: Joshua Kugler Originator:[EMAIL PROTECTED] Organization: Associated Students of the University of Alaska Fairbanks MySQL support: none Synopsis: Writing temp file to wrong directory Severity: serious Priority: low Category: mysql Class: sw-bug Release: mysql-3.23.51 (Source distribution) Environment: System: Linux deuel.asuaf.org 2.4.17-jjk-20020110 #1 SMP Thu Jan 10 10:35:30 AKST 2002 i686 unknown Architecture: i686 Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc GCC: Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/specs gcc version 2.96 2731 (Mandrake Linux 8.1 2.96-0.63.1mdk) Compilation info: CC='gcc' CFLAGS='' CXX='g++' CXXFLAGS='' LDFLAGS='' LIBC: lrwxrwxrwx1 root root 13 Sep 10 15:19 /lib/libc.so.6 - libc-2.2.4.so -rwxr-xr-x1 root root 1285896 Aug 8 15:43 /lib/libc-2.2.4.so -rw-r--r--1 root root 27474114 Aug 8 15:01 /usr/lib/libc.a -rw-r--r--1 root root 178 Aug 8 15:01 /usr/lib/libc.so Configure command: ./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --enable-assembler --disable-shared - 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