亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? manual_porting.html

?? MySQL參考手冊中文版
?? HTML
?? 第 1 頁 / 共 2 頁
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0074)manual_Porting.html -->
<html>

<head>
<title>MySQL Reference Manual for version 3.23.7-alpha. - G Comments on porting to other 
systems</title>
<meta content="text/html; charset=gb2312" http-equiv="Content-Type">
<!-- This HTML file has been created by texi2html 1.52 (hacked by david@detron.se)
     from /dr1/my/masters/mysql-3.23/Docs/manual.texi on 9 December 1999 -->
<meta content="Microsoft FrontPage 3.0" name="GENERATOR">
</head>

<body bgColor="#ffffff" link="#101090" text="#000000" vLink="#7030b0">

<p>Go to the <a href="manual_Introduction.html">first</a>, <a href="manual_TODO.html">previous</a>, 
<a href="manual_Regexp.html">next</a>, <a href="manual_Concept_Index.html">last</a> 
section, <a href="manual_toc.html">table of contents</a>. </p>

<hr>

<h1><a href="manual_toc.html#Porting" name="Porting">G Comments on porting to other 
systems</a></h1>

<p>A working Posix thread library is needed for the server. On Solaris 2.5 we use SUN 
PThreads (the native thread support in 2.4 and earlier versions are not good enough) and 
on Linux we use LinuxThreads by Xavier Leroy, <a href="mailto:Xavier.Leroy@inria.fr">Xavier.Leroy@inria.fr</a>. 
</p>

<p>The hard part of porting to a new Unix variant without good native thread support is 
probably to port MIT-pthreads. See <tt>`mit-pthreads/README'</tt> and <a
href="http://www.humanfactor.com/pthreads/">Programming POSIX Threads</a>. </p>

<p>The <strong>MySQL</strong> distribution includes a patched version of Provenzano's 
Pthreads from MIT (see <a href="http://www.mit.edu:8001/people/proven/pthreads.html">MIT 
Pthreads web page</a>). This can be used for some operating systems that do not have POSIX 
threads. </p>

<p>It is also possible to use another user level thread package named FSU Pthreads (see <a
href="http://www.informatik.hu-berlin.de/~mueller/pthreads.html">FSU Pthreads home page</a>). 
This implementation is being used for the SCO port. </p>

<p>See the <tt>`thr_lock.c'</tt> and <tt>`thr_alarm.c'</tt> programs in the <tt>`mysys'</tt> 
directory for some tests/examples of these problems. </p>

<p>Both the server and the client need a working C++ compiler (we use <code>gcc</code> and 
have tried SparcWorks). Another compiler that is known to work is the Irix <code>cc</code>. 
</p>

<p>To compile only the client use <code>./configure --without-server</code>. </p>

<p>There is currently no support for only compiling the server. Nor is it likly to be 
added unless someone has a good reason for it. </p>

<p>If you want/need to change any <tt>`Makefile'</tt> or the configure script you must get 
Automake and Autoconf. We have used the <code>automake-1.2</code> and <code>autoconf-2.12</code> 
distributions. </p>

<p>All steps needed to remake everything from the most basic files. </p>

<pre>/bin/rm */.deps/*.P
/bin/rm -f config.cache
aclocal
autoheader
aclocal
automake
autoconf
./configure --with-debug --prefix='your installation directory'

# The makefiles generated above need GNU make 3.75 or newer.
# (called gmake below)
gmake clean all install init-db
</pre>

<p>If you run into problems with a new port, you may have to do some debugging of <strong>MySQL</strong>! 
See section <a href="manual_Porting.html#Debugging_server">G.1 Debugging a MySQL server</a>. 
</p>

<p><strong>Note:</strong> Before you start debugging <code>mysqld</code>, first get the 
test programs <code>mysys/thr_alarm</code> and <code>mysys/thr_lock</code> to work. This 
will ensure that your thread installation has even a remote chance to work! </p>

<h2><a href="manual_toc.html#Debugging_server" name="Debugging_server">G.1 Debugging a 
MySQL server</a></h2>

<p>If you are using some functionality that is very new in <strong>MySQL</strong>, you can 
try to run mysqld with the <code>--skip-new</code> (which will disable all new, 
potentially unsafe functionality) or with <code>--safe-mode</code> which disables a lot of 
optimization that may cause problems. See section <a href="manual_Problems.html#Crashing">18.1 
What to do if MySQL keeps crashing</a>. </p>

<p>If <code>mysqld</code> doesn't want to start, you should check that you don't have any <code>my.cnf</code> 
file that interferes with your setup! You can check your <code>my.cnf</code> arguments 
with <code>mysqld --print-defaults</code> and avoid using them by starting with <code>mysqld 
--no-defaults ...</code>. </p>

<p>If you have some very specific problem, you can always try to debug <strong>MySQL</strong>. 
To do this you must configure <strong>MySQL</strong> with the option <code>--with-debug</code>. 
You can check whether or not <strong>MySQL</strong> was compiled with debugging by doing: <code>mysqld 
--help</code>. If the <code>--debug</code> flag is listed with the options then you have 
debugging enabled. <code>mysqladmin ver</code> also lists the <code>mysqld</code> version 
as <code>mysql ... -debug</code> in this case. </p>

<p>If you are using gcc or egcs, the recommended configure line is: </p>

<pre>CC=gcc CFLAGS=&quot;-O6&quot; CXX=gcc CXXFLAGS=&quot;-O6 -felide-constructors -fno-exceptions -fno-rtti&quot; ./configure --prefix=/usr/local/mysql --with-debug
</pre>

<p>This will avoid problems with the libstdc++ library and with C++ exceptions. </p>

<p>If you can cause the <code>mysqld</code> server to crash quickly, you can try to create 
a trace file of this: </p>

<p>Start the <code>mysqld</code> server with a trace log in <tt>`/tmp/mysql.trace'</tt>. 
The log file will get very <em>BIG</em>. </p>

<p><code>mysqld --debug --log</code> </p>

<p>or you can start it with </p>

<p><code>mysqld --debug=d,info,error,query,general,where:O,/tmp/mysql.trace</code> </p>

<p>which only prints information with the most interesting tags. </p>

<p>When you configure <strong>MySQL</strong> for debugging you automatically enable a lot 
of extra safety check functions that monitor the health of <code>mysqld</code>. If they 
find something ``unexpected,'' an entry will be written to <code>stderr</code>, which <code>safe_mysqld</code> 
directs to the error log! This also means that if you are having some unexpected problems 
with <strong>MySQL</strong> and are using a source distribution, the first thing you 
should do is to configure <strong>MySQL</strong> for debugging! (The second thing, of 
course, is to send mail to <a href="mailto:mysql@lists.mysql.com">mysql@lists.mysql.com</a> 
and ask for help. Please use the <code>mysqlbug</code> script for all bug reports or 
questions regarding the <strong>MySQL</strong> version you are using! </p>

<p>On most system you can also start <code>mysqld</code> from <code>gdb</code> to get more 
information if <code>mysqld</code> crashes. </p>

<p>With some <code>gdb</code> versions on Linux you must use <code>run --one-thread</code> 
if you want to be able to debug <code>mysqld</code> threads. In this case you can only 
have one thread active at a time. </p>

<p>If you are using gdb 4.17.x on Linux, you should install a <tt>`.gdb'</tt> file, with 
the following information, in your current directory: </p>

<pre>set print sevenbit off
handle SIGUSR1 nostop noprint
handle SIGUSR2 nostop noprint
handle SIGWAITING nostop noprint
handle SIGLWP nostop noprint
handle SIGPIPE nostop
handle SIGALRM nostop
handle SIGHUP nostop
handle SIGTERM nostop noprint
</pre>

<p>Here follows an example how to debug mysqld: </p>

<pre>shell&gt; gdb /usr/local/libexec/mysqld
gdb&gt; run
...
back   # Do this when mysqld crashes
info locals
up
info locals
up
...
(until you get some information about local variables)

quit
</pre>

<p>Include the above output in a mail generated with <code>mysqlbug</code> and mail this 
to <code>mysql@lists.mysql.com</code>. </p>

<p>If <code>mysqld</code> hangs you can try to use some system tools like <code>strace</code> 
or <code>/usr/proc/bin/pstack</code> to examine where <code>mysqld</code> has hanged. </p>

<p>If <code>mysqld</code> starts to eat up CPU or memory or if it ``hangs'', you can use <code>mysqladmin 
processlist status</code> to find out if someone is executing some query that takes a long 
time. It may be a good idea to run <code>mysqladmin -i10 processlist status</code> in some 
window if you are experiencing performance problems or problems when new clients can't 
connect. </p>

<p>If <code>mysqld</code> dies or hangs, you should start <code>mysqld</code> with <code>--log</code>. 
When <code>mysqld</code> dies again, you can check in the log file for the query that 
killed <code>mysqld</code>. Note that before starting <code>mysqld</code> with <code>--log</code> 
you should check all your tables with <code>myisamchk</code>. See section <a
href="manual_Maintenance.html#Maintenance">13 Maintaining a MySQL installation</a>. </p>

<p>If you are using a log file, <code>mysqld --log</code>, you should check the 'hostname' 
log files, that you can find in the database directory, for any queries that could cause a 
problem. Try the command <code>EXPLAIN</code> on all <code>SELECT</code> statements that 
takes a long time to ensure that mysqld are using indexes properly. See section <a
href="manual_Reference.html#EXPLAIN">7.22 <code>EXPLAIN</code> syntax (Get information 
about a <code>SELECT</code>)</a>. You should also test complicated queries that didn't 
complete within the <code>mysql</code> command line tool. </p>

<p>If you find the text <code>mysqld restarted</code> in the error log file (normally 
named <tt>`hostname.err'</tt>) you have probably found a query that causes <code>mysqld</code> 
to fail. If this happens you should check all your tables with <code>myisamchk</code> (see 
section <a href="manual_Maintenance.html#Maintenance">13 Maintaining a MySQL installation</a>), 
and test the queries in the <strong>MySQL</strong> log files if someone doesn't work. If 
you find such a query, try first upgrading to the newest <strong>MySQL</strong> version. 
If this doesn't help and you can't find anything in the <code>mysql</code> mail archive, 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久久久97三级| 日韩欧美一级片| 国产成人在线视频网站| 日本美女视频一区二区| 日本强好片久久久久久aaa| 亚洲综合另类小说| 亚洲主播在线观看| 亚洲成人一区二区| 青青草国产成人99久久| 麻豆国产欧美一区二区三区| 精品在线免费视频| 国产成人在线影院| 在线看国产一区| 欧美日韩二区三区| 欧美成人精品1314www| 国产午夜精品一区二区三区视频| 久久久精品2019中文字幕之3| 欧美激情一区不卡| 一区二区三区四区激情| 日本午夜精品视频在线观看| 欧美96一区二区免费视频| 九九九精品视频| 成人听书哪个软件好| 91香蕉视频在线| 欧美日韩1234| 久久久久久综合| 一区二区三区视频在线看| 爽好久久久欧美精品| 国产一区三区三区| 91国内精品野花午夜精品| 欧美一卡二卡在线| 国产日产亚洲精品系列| 亚洲在线视频一区| 国产在线一区二区综合免费视频| 99久久er热在这里只有精品66| 8v天堂国产在线一区二区| 欧美精品一区二区三区蜜臀| 中文字幕一区二区三| 毛片不卡一区二区| 97超碰欧美中文字幕| 欧美r级在线观看| 亚洲免费资源在线播放| 国产在线看一区| 欧美性大战久久| 国产精品久久久一本精品| 免费久久精品视频| 色国产精品一区在线观看| 久久久久久久综合色一本| 午夜不卡av在线| av激情亚洲男人天堂| 2欧美一区二区三区在线观看视频 337p粉嫩大胆噜噜噜噜噜91av | 欧美一级高清片| 国产精品乱码一区二三区小蝌蚪| 日韩精品欧美精品| 色欧美乱欧美15图片| 国产蜜臀av在线一区二区三区 | 日韩欧美国产一区二区在线播放| 国产精品国产三级国产aⅴ入口| 麻豆视频一区二区| 欧美日韩1234| 亚洲一区二区五区| 91国产福利在线| 国产精品白丝在线| 成人动漫精品一区二区| 久久久不卡网国产精品一区| 免费日本视频一区| 欧美日韩国产一区二区三区地区| 国产精品久久久久久久久快鸭| 国产老妇另类xxxxx| 精品成a人在线观看| 男女男精品视频网| 在线综合+亚洲+欧美中文字幕| 一二三区精品视频| 色素色在线综合| 亚洲一区二区三区国产| 日本福利一区二区| 亚洲第一成年网| 欧美欧美午夜aⅴ在线观看| 天天影视网天天综合色在线播放| 在线看国产一区| 舔着乳尖日韩一区| 欧美日韩成人综合天天影院| 一个色综合网站| 91精品国产一区二区人妖| 日韩极品在线观看| 日韩精品一区在线| 美国十次了思思久久精品导航| 久久九九久精品国产免费直播| 粉嫩aⅴ一区二区三区四区| 日本一区二区久久| 色域天天综合网| 亚洲h精品动漫在线观看| 欧美成人欧美edvon| 国产99久久久精品| 亚洲另类色综合网站| 欧美羞羞免费网站| 久久福利视频一区二区| 久久久久国产精品免费免费搜索| 国产乱码一区二区三区| 中文字幕一区二区三中文字幕| 欧美性猛交xxxxxx富婆| 日韩中文字幕不卡| 国产日韩精品一区二区三区| 成a人片亚洲日本久久| 一区二区三区久久| 日韩女优av电影在线观看| 成人午夜视频网站| 亚洲国产乱码最新视频 | 成人午夜视频福利| 一区二区三区精品| 久久奇米777| 精品视频在线免费观看| 国产乱码精品一区二区三区av| 亚洲欧美aⅴ...| 精品99999| 欧美日韩一级二级| 成人激情午夜影院| 欧美aⅴ一区二区三区视频| 国产精品视频一区二区三区不卡| 欧美伦理电影网| 成人毛片视频在线观看| 老司机午夜精品| 亚洲综合av网| 国产精品久久久久永久免费观看| 91精品福利在线一区二区三区| 99久久精品国产一区二区三区| 麻豆91精品视频| 亚洲电影一区二区三区| 国产欧美中文在线| 日韩精品一区国产麻豆| 欧美日韩一区中文字幕| 99国产精品久久久久久久久久 | 亚洲va天堂va国产va久| 国产精品九色蝌蚪自拍| 亚洲一区在线看| 久久日韩粉嫩一区二区三区| 欧美高清视频一二三区| 欧美亚洲一区三区| 色婷婷狠狠综合| 色婷婷久久一区二区三区麻豆| 国产美女一区二区| 九一久久久久久| 免费成人深夜小野草| 首页国产欧美日韩丝袜| 亚洲午夜久久久久久久久电影网| 亚洲欧美一区二区三区国产精品| 国产视频视频一区| 久久久久久麻豆| 国产午夜精品久久久久久久| 精品成人一区二区| 337p日本欧洲亚洲大胆色噜噜| 欧美成人一区二区三区| 欧美一区二区播放| 精品日韩在线观看| 精品久久一二三区| 26uuu另类欧美亚洲曰本| 精品国产欧美一区二区| 精品人伦一区二区色婷婷| 精品捆绑美女sm三区| 久久伊人中文字幕| 欧美国产日韩a欧美在线观看 | 99久久精品国产导航| 99久久精品免费看国产| 一本一道久久a久久精品| 色嗨嗨av一区二区三区| 欧美精品日韩综合在线| 日韩精品最新网址| 久久久777精品电影网影网| 国产精品人成在线观看免费| 一色屋精品亚洲香蕉网站| 一区二区视频在线看| 天天操天天干天天综合网| 奇米一区二区三区av| 韩国女主播成人在线| 99久久久无码国产精品| 欧美日韩一级黄| 久久久久久久久伊人| 亚洲欧洲性图库| 青青草精品视频| 成人福利在线看| 欧美一区二区性放荡片| 国产午夜三级一区二区三| 一区二区三区国产| 国产主播一区二区三区| 色播五月激情综合网| 精品嫩草影院久久| 亚洲色图一区二区| 久久国产精品色| 日本韩国精品一区二区在线观看| 欧美一级一区二区| 1024成人网| 九一九一国产精品| 91精品福利视频| 国产欧美精品区一区二区三区 | 久久成人免费日本黄色| 99精品久久免费看蜜臀剧情介绍| 在线综合亚洲欧美在线视频| 国产精品视频看| 蜜臀va亚洲va欧美va天堂| 91麻豆蜜桃一区二区三区|