<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="MSHTML 6.00.2800.1491" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Georgia size=2>HI, I'm using Debian Linux(while I have no idea 
how to check its version), and running SER on my PC.</FONT></DIV>
<DIV><FONT face=Georgia size=2>I installed&nbsp;MySQL 4.1.14 and SER 0.9.4, 
chmoded the /tmp directory to 777, and the MySQL server runs well.</FONT></DIV>
<DIV><FONT face=Georgia size=2>But when I start SER, it does not run and leaves 
some error message in syslog like this:</FONT></DIV>
<DIV><FONT 
size=2>--------------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT size=2>Oct 10 14:31:03 Serverhost /usr/sbin/ser[6525]: Maxfwd module- 
initializing<BR>Oct 10 14:31:03 Serverhost /usr/sbin/ser[6525]: 
new_connection(): Can't connect to local MySQL server through socket 
'/var/run/mysqld/mysqld.sock' (2)<BR>Oct 10 14:31:03 Serverhost 
/usr/sbin/ser[6525]: db_init(): Could not create a connection<BR>Oct 10 14:31:03 
Serverhost /usr/sbin/ser[6525]: ERROR: auth_db_ver: unable to open database 
connection<BR>Oct 10 14:31:03 Serverhost /usr/sbin/ser[6525]: 
auth_db:str_fixup(): Error while querying table version<BR>Oct 10 14:31:03 
Serverhost /usr/sbin/ser[6525]: ERROR: fix_expr : fix_actions 
error<BR>--------------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT size=2><FONT face=Georgia>The file /var/run/mysqld/mysqld.sock doest 
not exist, but the MySQL still runs well. I also don't know if it is 
correct.</FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Georgia>Does anyone know how to resolve this? Thank 
you!</FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Georgia></FONT></FONT>&nbsp;</DIV>
<DIV><FONT size=2><FONT face=Georgia>ser.cfg, "gulab.twbbs.org" is my 
domain.</FONT></FONT></DIV>
<DIV><FONT 
size=2>--------------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT size=2>#<BR># $Id: ser.cfg,v 1.25.2.1 2005/02/18 14:30:44 andrei Exp 
$<BR>#<BR># simple quick-start config script<BR>#</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2># ----------- global configuration parameters 
------------------------</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>#debug=3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
debug level (cmd line: 
-dddddddddd)<BR>#fork=yes<BR>#log_stderror=no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
# (cmd line: -E)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>/* Uncomment these lines to enter debugging 
mode<BR>fork=no<BR>log_stderror=yes<BR>*/</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>check_via=no&nbsp;&nbsp;&nbsp; # (cmd. line: 
-v)<BR>dns=no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
(cmd. line: -r)<BR>rev_dns=no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (cmd. line: 
-R)<BR>#port=5060<BR>#children=4<BR>fifo="/tmp/ser_fifo"</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2># ------------------ module loading 
----------------------------------</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2># Uncomment this if you want to use SQL database<BR>loadmodule 
"/usr/lib/ser/modules/mysql.so"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>loadmodule "/usr/lib/ser/modules/sl.so"<BR>loadmodule 
"/usr/lib/ser/modules/tm.so"<BR>loadmodule 
"/usr/lib/ser/modules/rr.so"<BR>loadmodule 
"/usr/lib/ser/modules/maxfwd.so"<BR>loadmodule 
"/usr/lib/ser/modules/usrloc.so"<BR>loadmodule 
"/usr/lib/ser/modules/registrar.so"<BR>loadmodule 
"/usr/lib/ser/modules/textops.so"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2># Uncomment this if you want digest authentication<BR># 
mysql.so must be loaded !<BR>loadmodule 
"/usr/lib/ser/modules/auth.so"<BR>loadmodule 
"/usr/lib/ser/modules/auth_db.so"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2># ----------------- setting module-specific parameters 
---------------</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2># -- usrloc params --</FONT></DIV>
<DIV>&nbsp;</DIV><FONT size=2>
<DIV><BR>#modparam("usrloc", "db_mode",&nbsp;&nbsp; 0)</DIV>
<DIV>&nbsp;</DIV>
<DIV># Uncomment this if you want to use SQL database<BR># for persistent 
storage and comment the previous line<BR>modparam("usrloc", "db_mode", 2)</DIV>
<DIV>&nbsp;</DIV>
<DIV># -- auth params --<BR># Uncomment if you are using auth 
module<BR>#<BR>modparam("auth_db", "calculate_ha1", yes)<BR>#<BR># If you set 
"calculate_ha1" parameter to yes (which true in this config),<BR># uncomment 
also the following parameter)<BR>#<BR>modparam("auth_db", "password_column", 
"password")</DIV>
<DIV>&nbsp;</DIV>
<DIV># -- rr params --<BR># add value to ;lr param to make some broken UAs 
happy<BR>modparam("rr", "enable_full_lr", 1)</DIV>
<DIV>&nbsp;</DIV>
<DIV># -------------------------&nbsp; request routing logic 
-------------------</DIV>
<DIV>&nbsp;</DIV>
<DIV># main routing logic</DIV>
<DIV>&nbsp;</DIV>
<DIV>route{</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # initial sanity checks -- 
messages with<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # max_forwards==0, 
or excessively long requests<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if 
(!mf_process_maxfwd_header("10")) 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
sl_send_reply("483","Too Many 
Hops");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
};<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (msg:len &gt;=&nbsp; 2048 ) 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
sl_send_reply("513", "Message too 
big");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # we record-route all messages 
-- to make sure that<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # subsequent 
messages will go through our proxy; 
that's<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # particularly good if 
upstream and downstream entities<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
use different transport protocol<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
if (!method=="REGISTER") record_route();</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # subsequent messages withing a 
dialog should take the<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # path 
determined by record-routing<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if 
(loose_route()) 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
# mark routing logic in 
request<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
append_hf("P-hint: 
rr-enforced\r\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
route(1);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!uri==myself) 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
# mark routing logic in 
request<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
append_hf("P-hint: 
outbound\r\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
route(1);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # if the request is for 
other domain use UsrLoc<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (in 
case, it does not work, use the following 
command<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # with proper names and 
addresses in it)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if 
(uri=~"gulab.twbbs.org") {</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
if (method=="REGISTER") {</DIV>
<DIV>&nbsp;</DIV>
<DIV># Uncomment this if you want to use digest 
authentication<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
if (!www_authorize("gulab.twbbs.org", "subscriber")) 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
www_challenge("gulab.twbbs.org", 
"0");<BR>&nbsp;&nbsp;&n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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
sl_send_reply("404", "Not 
Found");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
};<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
};<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; append_hf("P-hint: usrloc 
applied\r\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
route(1);<BR>}</DIV>
<DIV>&nbsp;</DIV>
<DIV>route[1]<BR>{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # send it out 
now; use stateful forwarding as it works 
reliably<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # even for 
UDP2TCP<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!t_relay()) 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
sl_reply_error();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<BR>}</DIV>
<DIV></FONT>&nbsp;</DIV>
<DIV><FONT 
size=2>--------------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT size=2><FONT face=Georgia>my.cnf</FONT></FONT></DIV>
<DIV><FONT 
size=2>--------------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT size=2>#<BR># The MySQL database server configuration file.<BR>#<BR># 
You can copy this to one of:<BR># - "/etc/mysql/my.cnf" to set global 
options,<BR># - "/var/lib/mysql/my.cnf" to set server-specific options or<BR># - 
"~/.my.cnf" to set user-specific options.<BR>#<BR># One can use all long options 
that the program supports.<BR># Run program with --help to get a list of 
available options and with<BR># --print-defaults to see which it would actually 
understand and use.<BR>#<BR># For explanations see<BR># <A 
href="http://dev.mysql.com/doc/mysql/en/server-system-variables.html">http://dev.mysql.com/doc/mysql/en/server-system-variables.html</A></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2># This will be passed to all mysql clients<BR># It has been 
reported that passwords should be enclosed with ticks/quotes<BR># escpecially if 
they contain "#" chars...<BR># Remember to edit /etc/mysql/debian.cnf when 
changing the socket 
location.<BR>[client]<BR>port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= 3306<BR>socket&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
/var/run/mysqld/mysqld.sock<BR><BR># Here is entries for some specific 
programs<BR># The following values assume you have at least 32M ram</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2># This was formally known as [safe_mysqld]. Both versions are 
currently 
parsed.<BR>[mysqld_safe]<BR>socket&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 

/var/run/mysqld/mysqld.sock<BR>nice&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= 0</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>[mysqld]<BR>#<BR># * Basic 
Settings<BR>#<BR>user&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= mysql<BR>pid-file&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
/var/run/mysqld/mysqld.pid<BR>socket&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 

/var/run/mysqld/mysqld.sock<BR>port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= 3306<BR>basedir&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
/usr<BR>datadir&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
/var/lib/mysql<BR>tmpdir&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
/tmp<BR>language&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
/usr/share/mysql/english<BR>skip-external-locking<BR>#<BR># For compatibility to 
other Debian packages that still use<BR># libmysqlclient10 and 
libmysqlclient12.<BR>old_passwords&nbsp;&nbsp; = 1<BR>#<BR># Instead of 
skip-networking the default is now to listen only on<BR># localhost which is 
more compatible and is not less 
secure.<BR>bind-address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= 127.0.0.1<BR>#<BR># * Fine 
Tuning<BR>#<BR>key_buffer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= 16M<BR>max_allowed_packet&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
16M<BR>thread_stack&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= 128K<BR>#<BR># * Query Cache 
Configuration<BR>#<BR>query_cache_limit&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
1048576<BR>query_cache_size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
16777216<BR>query_cache_type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
1<BR>#<BR># * Logging and Replication<BR>#<BR># Both location gets rotated by 
the cronjob.<BR># Be aware that this log type is a performance 
killer.<BR>#log&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 

/var/log/mysql.log<BR>#log&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= /var/log/mysql/mysql.log<BR>#<BR># Error logging goes to syslog. This is a 
Debian improvement :)<BR>#<BR># Here you can see queries with especially long 
duration<BR>#log-slow-queries&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
/var/log/mysql/mysql-slow.log<BR>#<BR># The following can be used as easy to 
replay backup logs or for 
replication.<BR>#server-id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 

1<BR>log-bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= /var/log/mysql/mysql-bin.log<BR># See /etc/mysql/debian-log-rotate.conf for 
the number of files 
kept.<BR>max_binlog_size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
104857600<BR>#binlog-do-db&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= include_database_name<BR>#binlog-ignore-db&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= include_database_name<BR>#<BR># * BerkeleyDB<BR>#<BR># According to an MySQL 
employee the use of BerkeleyDB is now discouraged<BR># and support for it will 
probably cease in the next versions.<BR>skip-bdb<BR>#<BR># * InnoDB<BR>#<BR># 
InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.<BR># Read 
the manual for more InnoDB related options. There are many!</FONT></DIV>
<DIV><FONT size=2>#<BR># * Security Features<BR>#<BR># Read the manual, too, if 
you want chroot!<BR># chroot = /var/lib/mysql/<BR>#<BR># If you want to enable 
SSL support (recommended) read the manual or my<BR># HOWTO in 
/usr/share/doc/mysql-server/SSL-MINI-HOWTO.txt.gz<BR># 
ssl-ca=/etc/mysql/cacert.pem<BR># ssl-cert=/etc/mysql/server-cert.pem<BR># 
ssl-key=/etc/mysql/server-key.pem<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>[mysqldump]<BR>quick<BR>quote-names<BR>max_allowed_packet&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= 16M</DIV>
<DIV>&nbsp;</DIV>
<DIV>[mysql]<BR>#no-auto-rehash # faster start of mysql but no tab 
completition</DIV>
<DIV>&nbsp;</DIV>
<DIV>[isamchk]<BR>key_buffer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
= 16M<BR><BR>#<BR># * NDB Cluster<BR>#<BR># See 
/usr/share/doc/mysql-server-*/README.Debian for more information.<BR>#<BR># The 
following configuration is read by the ndbd storage daemons,<BR># not from the 
ndb_mgmd management daemon.<BR>#<BR># [MYSQL_CLUSTER]<BR># 
ndb-connectstring=127.0.0.1<BR></FONT></DIV>
<DIV><FONT 
size=2>--------------------------------------------------------------------------------------------</DIV></FONT></BODY></HTML>