Oracle 5.0 Reference Manual page 2978

Table of Contents

Advertisement

• Specify to the client the directory where the character set definition files are located. For many
clients, you can do this with the
• Copy the character definition files to the path where the client expects them to be.
C.5.2.18.
'File' Not Found
If you get
ERROR '...' not found (errno:
any other error with
file descriptors for the MySQL server. You can use the
error number means:
shell>
perror 23
OS error code
shell>
perror 24
OS error code
shell>
perror 11
OS error code
The problem here is that
tell
mysqld
mysqld.
To tell
mysqld
the value of the
prevent running out of file descriptors because in some circumstances the server may attempt to
extend the cache size temporarily, as described in
Tables". Reducing the value of
default value is 100).
To change the number of file descriptors available to mysqld, you can use the
[248]
limit
Section 5.1.4, "Server System
to your option file. See
that does not support setting the open files limit, you can edit the
commented-out line
this line, and change the number
mysqld.
--open-files-limit
the limit imposed by the operating system. There is also a "hard" limit that can be overridden only if you
start
mysqld_safe
[424]
--user
need to increase the operating system limit on the number of file descriptors available to each process,
consult the documentation for your system.
C.5.2.19. Table-Corruption Issues
If you have started
repair
MyISAM
writes an entry in the
by
Warning: Repairing table
without
mysqld
investigated further.
Common Errors When Using MySQL Programs
and Similar Errors
or
errno 23
errno 24
23:
File table overflow
24:
Too many open files
11:
Resource temporarily unavailable
is trying to keep open too many files simultaneously. You can either
mysqld
not to open so many files at once or increase the number of file descriptors available to
to keep open fewer files at a time, you can make the table cache smaller by reducing
[498]
table_cache
max_connections
option to
mysqld_safe
Variables". The easiest way to set these values is to add an option
Section 4.2.3.3, "Using Option
ulimit -n 256
256
[248]
and
or
as
mysqld
option in this case so that it does not continue to run as
Note
If you run the
tcsh
values when you ask for the current limits. In this case, you should start
using sh.
mysqld_safe
with
mysqld
--myisam-recover
tables if they are marked as 'not closed properly' or 'crashed'. If this happens, MySQL
hostname.err
having died unexpectedly just before, then something is wrong and needs to be
--character-sets-dir
23),
Can't open file: ... (errno:
from MySQL, it means that you haven't allocated enough
perror
system variable (the default value is 64). This may not entirely
Section 8.8.3, "How MySQL Opens and Closes
[467]
or set the
open_files_limit
Files". If you have an old version of
in the script. You can remove the "#" character to uncomment
to set the number of file descriptors to be made available to
can increase the number of file descriptors, but only up to
ulimit
(just remember that you also need to start the server with the
root
shell,
does not work!
ulimit
[415], MySQL automatically checks and tries to
file
'Warning: Checking table ...'
if the table needs to be repaired. If you get a lot of these errors,
2958
option.
utility to get a description of what the
also reduces the number of open files (the
--open-files-
[480]
system variable. See
mysqld_safe
after it starts up). If you
root
also reports incorrect
tcsh
24), or
mysqld
script. There is a
which is followed

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents