完美国际电信一霹雳区交流版 收藏本版 今日: 0 主题: 1794

2265 17

锡灵,你英文好,麻烦进来帮个忙--(或者谁的英文自己觉得不错的话也可以)

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
+ I% f& h4 k; I- H9 J( P( X! Z% v. i" x4 X( |( q7 R- e* \% K
  1. ! ^7 y. C( p; o- }7 z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    5 H( q5 a4 e+ b+ U
  3. / t  R, H. G/ t$ y7 q1 u& x$ ^5 S
  4. ### What we need ###
    : ~8 r9 S! Q5 I1 w' S# D3 l4 Y* k
  5. Naturally, we will need a MySQL server to store the data for us, this document
    % r3 E% y& l/ e* n
  6. will not explain how this can be done - there are documents out there for the ( L) x: g6 v. q% {8 k' X; h; L8 O+ V
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    + Y6 f0 Y' y' O9 R9 b9 d
  8. and a user account (username + password) that has the permissions to do stuff/ p/ c5 f" |) s# d. {0 J1 X: F
  9. with the database. Additionally, you will need a vendor library installed on the2 ^5 Q5 W2 t" y. c% c
  10. local machine, this came with my MySQL install.
    9 A/ v- R+ i! p4 q/ y- \; }2 R
  11. These instructions will not tell you how you might transfer your data from the  Z4 ~" ^. H# L+ A1 I% R
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    , V, f1 l8 n, o+ K3 j/ E* D
  13. database.  p1 a6 N% y# A/ a
  14. Some users have reported ways to import a SQLite database into MySQL, but at' j  e+ Q) Q  U; q0 F
  15. the time of writing, there are still too many issues - check the current status0 @- `: f9 }# |+ O* P! G) E
  16. in the TeamSpeak forums if you are interested.( h8 W+ K! v- V  _# U  X5 I/ M
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    1 H* h6 I/ N1 ~; d
  18. Borland was used. This driver can only interface with the client library that
    / U, F( W8 N2 g
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    + k, p+ d- d8 N
  20. client library - basically all you have to do is to use a 3.x client library as
    . F. H! d1 F/ f. U
  21. "VendorLib" and a 4.x database to connect to.% O. V7 p' r9 Q2 v4 B
  22. If you need more info about dbExpress, you can contact Borland.1 f  Y( _: j. i) ~* @) L' z
  23. 2 k& c+ S6 B' A9 y( |
  24. ### Doing the work ###
    . [' W/ |9 L, w2 [  D
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all6 k; R  v& o2 {' o/ F# G
  26. the perquisites right, just open your server.ini file, and add this section at
    * x, f5 H) c- e" c
  27. the end:) G5 d$ z/ Q$ j. u8 s
  28. ---cut here---
    : u4 Y4 a6 A. o+ r8 y* q
  29. [DBEXPRESS]+ a0 k! o2 c: R
  30. sqldir=mysql_sql' _, _# b! j  i" C
  31. Drivername=mysql$ H9 m, E; T$ p) i& h4 H% z% @
  32. Database=Your_Database_Name_Here
    2 X2 d4 i  R' M1 o! K5 O8 B1 p
  33. Hostname=The_PC_the_MySQL-Server_is_on
    & u$ c% D' h- G" ^& Y$ Y3 ?
  34. User_name=User_name_on_the_MySQL-Server/ @  B: y* x- X7 r+ E
  35. Password=Password_to_go_with_above_user_name  J& ?# q# ~* y- L! f8 C$ b
  36. GetDriverFunc=getSQLDriverMYSQL
      ]; C5 C$ ?5 z8 ~5 @% @. e# C& r
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    . l) |# E/ X8 g" Y; o- w# l
  38. LibraryName=path_to_libsqlmy_libary
    / V) y# A- o) P% T- o( |
  39. Active=1; t2 j( e9 P3 @6 B
  40. ---cut here---
    * V" D3 C/ J" A8 \+ Q1 w+ }; R& B
  41. In my environment (a linux box with a MySQL server running locally) I have:
    : Q$ C. S  f' V# N# \
  42. ---example---
    ) C& V& H" l& e2 r- a$ k; u" V8 O
  43. [DBEXPRESS]
    " K1 G8 ?: @* x( V: C
  44. sqldir=mysql_sql
    1 h2 R. A& L9 x9 k6 B
  45. Drivername=mysql
    7 h# C- p  s* j+ k
  46. Database=test
    ) Z$ s8 v/ n) R" d: V/ x5 V
  47. Hostname=localhost$ G" l1 {( \9 ]3 o) y& u
  48. User_name=testuser
    ) y+ E3 I, f% V
  49. Password=my_password
    ' T2 x7 c+ {5 l: R- P
  50. GetDriverFunc=getSQLDriverMYSQL. H4 D# |0 I, c$ o# l
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.04 }+ u& Z7 f% ]" p
  52. LibraryName=./libsqlmy.so
    * k, ~8 g# \# e- z' r
  53. Active=1+ J+ |% E( k3 i( u, A
  54. ---example---
    ' p  B0 E+ ]" U/ Z$ K9 b4 v

  55. ! a2 w1 ^8 o  _& r7 @' n8 J- b
  56. On a windows box, also running the MySQL server locally, it would be:% S9 e: _! m" P! L
  57. ---example---
    . j: s% v$ c4 \2 i3 ]" |
  58. [DBEXPRESS]
    1 _( p" T  [* z% h; _
  59. sqldir=mysql_sql" R$ ~& }( u6 V& F8 v
  60. Drivername=mysql
    2 ~4 [- H  O1 x2 G' J$ V
  61. Database=test9 ], |% h+ i5 x
  62. Hostname=127.0.0.1& U" C4 v- T# \0 b+ k/ C6 q
  63. User_name=testuser8 i; \3 _$ s0 \5 C; x- R
  64. Password=my_password
    3 @& u/ z9 F7 M8 W; f
  65. GetDriverFunc=getSQLDriverMYSQL
    1 c, U. j& ?7 A& f
  66. VendorLib=libmysql.dll7 S* s3 f. w7 r1 j' I& A6 g
  67. LibraryName=dbexpmysql.dll" f# O' w  N/ Q$ B
  68. Active=1" i$ ]& w# k4 E8 J3 _. ^3 u
  69. ---example----
    1 }9 T" ~7 O% r
  70. - written 02.03.04 by pwk.linuxfan
    + k4 I* P% C) J/ V8 p5 K
  71. # i9 ?; ?0 c& a% f3 k, Z+ y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看* D+ C' i- q! m

  1. $ o/ r4 Z1 i6 N, J! N
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    6 O' z4 `$ L( ?1 [; w

  3. ' _3 N, {2 Z) b6 e* X& X/ g
  4. # # #我们所需要# # #
    * Q  v5 X$ A0 V4 y0 W: L
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件( }; e9 p4 K. G4 k: S0 T9 f0 i  b
  6. 不会解释如何做到这一点-也有文件存在,为
    * y3 j5 J' M" U7 \
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用' `- s& e2 U  G
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西$ Q, k& q) ^, z( j' f
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    * w5 X" E- l! r* Q- x7 {/ ^
  10. 本地机器,这是我的MySQL安装。 $ w- [$ Z8 y% x
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从8 A7 Y* Q% ^% T2 Q6 z8 B7 d
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " |$ ?* w3 ^" \- l7 g* e( Q7 Q
  13. 数据库。 5 c# Q! c8 M2 k% P! W
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    & p) ^  j! |, [% I, ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状1 m! p5 h% P4 y6 W. [
  16. 在teamspeak论坛,如果你有兴趣。 ' n& ^( x6 x9 j' k' x+ o' W% \
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机* u! y7 o3 e" E$ o1 b
  18. Borland公司使用。这个司机只能界面与客户端库/ b2 H# a! `( _- _
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    + t. V2 y- r' x0 q7 O9 \2 \* {
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    8 k4 u, C% f% I  a9 C: F
  21. " vendorlib " ,并解数据库连接。 / p  Z2 n" U7 N
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 " v6 R: ?( r. e, I7 O, O) [4 z4 l

  23. ( \* b( @* o4 `9 K# P
  24. # # #做好工作# # #
      i( g6 f. \6 W$ h5 I: w0 o9 t1 S$ u* x
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    3 g: G% J, X9 G8 F; C4 O( ]+ F, ]- n0 k, B
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    - ^/ N" M* D6 Z/ L, ]8 X: O/ n) k- O
  27. 结束: : h8 Q; _; f1 L, a2 E8 ~$ E
  28. ---削减这里---
    2 |9 V/ z% H7 F' A- _! ?/ x
  29. [ dbexpress ] $ y/ }9 t1 G* m
  30. sqldir = mysql_sql ; K$ _4 [/ r8 I' ]5 d
  31. drivername = MySQL中% m# i1 C/ I. _' O: X
  32. 数据库= your_database_name_here 0 j8 M% {7 z3 e/ i! H3 \
  33. 主机= the_pc_the_mysql - server_is_on
    3 N4 H/ W+ I( n( s$ K
  34. user_name = user_name_on_the_mysql服务器5 K- F! S& x/ M! M* F( |
  35. 密码= password_to_go_with_above_user_name ' Y  N9 W/ }% v: s
  36. getdriverfunc = getsqldrivermysql " `4 f8 I- Z' R1 z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ! }# z" l7 @+ z3 g) ^! Y
  38. libraryname = path_to_libsqlmy_libary
    # S! S. g- a9 {4 Z" g+ n
  39. 积极= 1 $ U$ P6 W# X- T4 V
  40. ---削减这里--- . P7 v" K9 K/ b) \+ \; u
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 0 z2 h- w% z( ]/ c# q& H
  42. ---例如--- 8 J( e4 j, s! i' i  x
  43. [ dbexpress ] 9 ?  L9 ?) c* ?
  44. sqldir = mysql_sql " w! w8 c  y3 J2 H; S5 p: ]4 u
  45. drivername = MySQL中) I- T$ _. u5 X) X; `) W. f3 e' a
  46. 数据库=测试8 y$ f6 g2 O+ V
  47. 主机=本地主机
    & V( d# {. Y9 q4 G& z- J
  48. user_name = testuser ( M9 O5 z2 \& ]3 U. R
  49. 密码= my_password
    % N3 Q" k, s% `
  50. getdriverfunc = getsqldrivermysql
    ! ]! G6 l( F0 o% ?3 M, m
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    " F+ l7 s; \6 O" q# [3 x+ L6 b% o
  52. libraryname =. / libsqlmy.so
    9 J( p1 Y! Q2 v2 w
  53. 积极= 1 8 u+ |( ~" R. P& @3 c$ O& T5 q' W
  54. ---例如---
    & u& ^+ F  A: m& a$ x

  55. # \" p/ G! V, W" b8 i
  56. 对Windows中,也运行MySQL服务器本地的,那就是: " @+ j& C3 r3 v. y$ @0 c3 l
  57. ---例如---
    $ P& N* Y: O. m* g% P& J# `5 x
  58. [ dbexpress ] 5 `2 |& W( D. u, G5 u) v! b( Q$ Y
  59. sqldir = mysql_sql 9 t2 ^5 x* Z& e( J0 c5 @; I
  60. drivername = MySQL中! G; ~0 U4 B1 v% ]9 _
  61. 数据库=测试
    % W+ ]9 r& ~1 Y# m- }$ t& V7 z
  62. 主机= 127.0.0.1
    . U+ o7 g' W( T/ z4 _( ]6 ?
  63. user_name = testuser
    , ~/ }9 G$ j: f/ {; ^
  64. 密码= my_password
    1 r" [" [3 f  y- y/ m# G3 D/ x% z$ I
  65. getdriverfunc = getsqldrivermysql + y) }( E7 g% k$ o1 J
  66. vendorlib = libmysql.dll在) H+ l5 }/ w; e# p
  67. libraryname = dbexpmysql.dll ) z; G( r" ^/ {9 i4 g
  68. 积极= 1
      J: |4 F& W  s8 F+ v* Y
  69. ---例如---- # A9 A5 V3 L- E& E) E% X4 g" P
  70. -写在0 2.03.04由p wk.linuxfan
    , e/ N6 k& A2 p9 C0 U
复制代码
发表于 2008-1-18 15:57:50 | 显示全部楼层
zhu48t zhu48t zhu48t 火星语言
发表于 2008-1-18 16:02:23 | 显示全部楼层
我现在正在我们自己的服务器上调试TS与论坛结合,这篇文章里的大概操作方法我是明白了,但是我怕翻译过来可能有点出入,所以还是要专业的英文水平高的人看看才行:xhan
发表于 2008-1-18 18:45:35 | 显示全部楼层
那你只有找哪个马来人了。。。
发表于 2008-1-20 18:35:58 | 显示全部楼层
zhu45t 俄有自知之明
发表于 2008-1-21 11:37:51 | 显示全部楼层
比 考4级还难懂!!
发表于 2008-1-21 13:54:07 | 显示全部楼层
怎么不问我呢 我晕
发表于 2008-1-21 14:15:44 | 显示全部楼层
sorry for the late, i think the best way is i go to TS and translate for you. coz now i cannot type chinese words7 u1 L! |$ ?8 Q0 X: \0 V' B

, f+ o. B4 A" l: l$ V* Ybut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

傲天阁游戏公会
联系我们
咨询电话 : 020-88888888
事务 QQ : 85075421
电子邮箱 : admin@admin.com

小黑屋|手机版|Archiver|傲天阁游戏公会 ( 粤ICP备14058347号 )|免责声明

GMT+8, 2026-2-5 15:14 , Processed in 0.095769 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表