Solaris Notes
168
If you would like MySQL to start automatically, you can copy
support-files/mysql.server
to
/
etc/init.d
and create a symbolic link to it named
/etc/rc3.d/S99mysql.server
.
If too many processes try to connect very rapidly to
mysqld
, you should see this error in the MySQL
log:
Error in accept: Protocol error
You might try starting the server with the
--back_log=50
[437]
option as a workaround for this.
(Use
-O back_log=50
before MySQL 4.)
To configure the generation of core files on Solaris you should use the
coreadm
command. Because of
the security implications of generating a core on a
setuid()
application, by default, Solaris does not
support core files on
setuid()
programs. However, you can modify this behavior using
coreadm
. If
you enable
setuid()
core files for the current user, they will be generated using the mode 600 and
owned by the superuser.
2.20.3.1. Solaris 2.7/2.8 Notes
Normally, you can use a Solaris 2.6 binary on Solaris 2.7 and 2.8. Most of the Solaris 2.6 issues also
apply for Solaris 2.7 and 2.8.
MySQL should be able to detect new versions of Solaris automatically and enable workarounds for the
following problems.
Solaris 2.7 / 2.8 has some bugs in the include files. You may see the following error when you use
gcc
:
/usr/include/widec.h:42: warning: `getwc' redefined
/usr/include/wchar.h:326: warning: this is the location of the previous
definition
If this occurs, you can fix the problem by copying
/usr/include/widec.h
to
.../lib/gcc-lib/
os/gcc-version/include
and changing line 41 from this:
#if !defined(lint) && !defined(__lint)
To this:
#if !defined(lint) && !defined(__lint) && !defined(getwc)
Alternatively, you can edit
/usr/include/widec.h
directly. Either way, after you make the fix, you
should remove
config.cache
and run
configure
again.
If you get the following errors when you run
make
, it is because
configure
didn't detect the
curses.h
file (probably because of the error in
/usr/include/widec.h
):
In file included from mysql.cc:50:
/usr/include/term.h:1060: syntax error before `,'
/usr/include/term.h:1081: syntax error before `;'
The solution to this problem is to do one of the following:
1. Configure with
CFLAGS=-DHAVE_CURSES_H CXXFLAGS=-DHAVE_CURSES_H ./configure
.
2. Edit
/usr/include/widec.h
as indicated in the preceding discussion and re-run
configure
.
3. Remove the
#define HAVE_TERM
line from the
config.h
file and run
make
again.
If your linker cannot find
-lz
when linking client programs, the problem is probably that your
libz.so
file is installed in
/usr/local/lib
. You can fix this problem by one of the following methods:
• Add
/usr/local/lib
to
LD_LIBRARY_PATH
.
• Add a link to
libz.so
from
/lib
.
Содержание 5.0
Страница 1: ...MySQL 5 0 Reference Manual ...
Страница 18: ...xviii ...
Страница 60: ...40 ...
Страница 396: ...376 ...
Страница 578: ...558 ...
Страница 636: ...616 ...
Страница 844: ...824 ...
Страница 1234: ...1214 ...
Страница 1426: ...MySQL Proxy Scripting 1406 The following diagram shows an overview of the classes exposed by MySQL Proxy ...
Страница 1427: ...MySQL Proxy Scripting 1407 ...
Страница 1734: ...1714 ...
Страница 1752: ...1732 ...
Страница 1783: ...Configuring Connector ODBC 1763 ...
Страница 1793: ...Connector ODBC Examples 1773 ...
Страница 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Страница 1842: ...Connector Net Installation 1822 5 Once the installation has been completed click Finish to exit the installer ...
Страница 1864: ...Connector Net Visual Studio Integration 1844 Figure 20 24 Debug Stepping Figure 20 25 Function Stepping 1 of 2 ...
Страница 2850: ...2830 ...
Страница 2854: ...2834 ...
Страница 2928: ...2908 ...
Страница 3000: ...2980 ...
Страница 3122: ...3102 ...
Страница 3126: ...3106 ...
Страница 3174: ...3154 ...
Страница 3232: ...3212 ...