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

2728 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 8 A" d  `! f1 c7 ~9 f" \: o

1 g9 i4 S# D2 ~' I- G/ o  T5 t
  1. 8 h$ q- s$ I# f7 B
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    5 v* W6 ?$ F+ Q) \, {+ Y2 `
  3. ( h/ @4 m6 A7 M  O
  4. ### What we need ###: o% v5 W( f1 k% H1 {8 ~( _
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ! y) ?9 `  ~! h6 j
  6. will not explain how this can be done - there are documents out there for the
    ! @2 q' ?0 ~! T- c% X' m
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    & ^$ Q& b1 R% o$ V
  8. and a user account (username + password) that has the permissions to do stuff" i- |3 L1 B" \  n* g
  9. with the database. Additionally, you will need a vendor library installed on the7 I2 V- f1 P& p. w1 D
  10. local machine, this came with my MySQL install.- j. P1 o# G( u' g5 I5 ?( h
  11. These instructions will not tell you how you might transfer your data from the
    # U. y& z4 Y9 I7 u
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL7 F9 Z2 A4 {, q: z: V4 }
  13. database.
    6 P/ \9 k; X$ J2 v8 m5 K, f$ B
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    . q( s7 I% M; _2 S
  15. the time of writing, there are still too many issues - check the current status
    ! X! A" ^; `2 Z9 V6 G! d
  16. in the TeamSpeak forums if you are interested.+ Y! k; ^- g" P9 ]' k
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from$ c* N/ n, j$ F- R0 g: U
  18. Borland was used. This driver can only interface with the client library that / @& }9 ^2 z9 s# x
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this  i3 R+ b  {+ R$ p; n
  20. client library - basically all you have to do is to use a 3.x client library as
    , K& v. W& ^! u, E% M
  21. "VendorLib" and a 4.x database to connect to.9 h+ `! U" O9 ]
  22. If you need more info about dbExpress, you can contact Borland./ n. D+ P1 o5 }" b

  23. % u: T* P$ {/ }: v
  24. ### Doing the work ###
    : j7 J7 L; R4 Y- Y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
      Z" T' Q/ H5 e4 F
  26. the perquisites right, just open your server.ini file, and add this section at
    $ _2 c  V) [% M# s$ P/ n. Y
  27. the end:' z  f+ c2 w: F" C" I2 |+ g9 z% ^
  28. ---cut here---
    $ d3 V* y% E( a# O7 B7 H6 p
  29. [DBEXPRESS]7 F; m* W& l* J4 |7 S9 ?! K
  30. sqldir=mysql_sql) ]" l3 s7 V6 @8 N0 t
  31. Drivername=mysql1 w* v' U3 j  n' @5 N( }% ?
  32. Database=Your_Database_Name_Here
    2 D, P; C- t* Z' d8 x$ H  r/ D7 O
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ' F, u7 d" J% ^' {$ w! e% @
  34. User_name=User_name_on_the_MySQL-Server$ ^' y1 E" F) o; ]# ]& C0 C
  35. Password=Password_to_go_with_above_user_name5 C" Y6 j. x/ ]& G: B5 Q  t3 o& H
  36. GetDriverFunc=getSQLDriverMYSQL. A8 p( l) Q7 c
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    0 U: F* ^9 S$ Z! m0 M
  38. LibraryName=path_to_libsqlmy_libary
      T1 _, K  Z6 i! P
  39. Active=1# s! p5 x; @3 T& A$ u, b
  40. ---cut here---
      h. g% x& k9 e3 {3 ?
  41. In my environment (a linux box with a MySQL server running locally) I have:, X# L+ B& i% @# @8 e& M/ o
  42. ---example---
    8 Q2 i* r2 ^1 D
  43. [DBEXPRESS]+ q4 c! L( ^. T7 d: ^
  44. sqldir=mysql_sql/ R) z& r" r5 {3 h$ W$ d
  45. Drivername=mysql
    $ P2 n5 k) E# h- F6 Y3 T
  46. Database=test
    . m  c% |  \' E, h  {
  47. Hostname=localhost
    0 {! U) \' k6 {
  48. User_name=testuser
    6 E. X5 G3 q5 e8 V% f
  49. Password=my_password* y* D9 o- y& M
  50. GetDriverFunc=getSQLDriverMYSQL0 b8 j2 {; _/ H/ S4 k- d( \
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.06 e" p) V. h! `: ^! P6 z0 h6 M
  52. LibraryName=./libsqlmy.so
    ( y: R3 l* D( C$ g
  53. Active=1/ v  v  ~& b* t/ l0 a
  54. ---example---1 Q( J6 z: q- u2 B

  55. ' {' q1 y" x- i5 Z; V# E4 u
  56. On a windows box, also running the MySQL server locally, it would be:; I" m/ C. m. ?- Z, g6 s/ o
  57. ---example---
      e7 v9 e; o# b# X$ _' a
  58. [DBEXPRESS]
      w1 }; U6 S9 P  M6 E
  59. sqldir=mysql_sql8 ^* P  S& k* @" ^4 g9 p% u- i5 M" B
  60. Drivername=mysql
    5 y$ r7 C  q$ F* `: d- a. s8 W! r
  61. Database=test
    % i# A1 L+ N; `: e8 l. M
  62. Hostname=127.0.0.1
    ; Q+ T5 s! r, i, g* n& H
  63. User_name=testuser. U- L0 ]% X$ x' K1 f
  64. Password=my_password8 t# R  W7 T! S- s' O7 u
  65. GetDriverFunc=getSQLDriverMYSQL
    % G/ h, P& R/ @
  66. VendorLib=libmysql.dll
    * S2 M7 v, ]3 A- @7 L6 J
  67. LibraryName=dbexpmysql.dll
    $ a. S3 r' c" Q5 |# _
  68. Active=1
    2 l- S3 j8 D9 z' p
  69. ---example----
    / {7 [; l/ [2 z! e" f3 v% B, V
  70. - written 02.03.04 by pwk.linuxfan
    1 ~; \% `* T, {8 }" c4 j! n: V9 m% ~2 }6 O
  71. + h5 B1 [: A; H: p0 Q# z1 X5 C
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看7 U  j0 ^  l+ M( S; [' b% S2 n2 X
  1. 0 j& u8 P8 w8 E  f5 \1 {
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    $ ?& h2 A7 a5 L( `

  3. ! F) s0 V+ J" E" J4 W
  4. # # #我们所需要# # #
    ) C5 _4 ~4 e3 F# U
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件3 h2 e5 M! g; c. z" ?' N7 t+ D) V
  6. 不会解释如何做到这一点-也有文件存在,为
    2 ~2 h& Y3 [( j( X9 B! N; i
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    4 K' O/ O& c, \, F
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    , j% q- ?2 h' H" q: \
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    6 s# ?" k# ?9 B. ~
  10. 本地机器,这是我的MySQL安装。
    3 C2 ]: k; `6 y. X
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从* }$ M5 \  |) L* F% [
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL * ]: T2 [& G. ]6 T- ]  I
  13. 数据库。 2 g/ g* V6 P6 R5 a/ \- \
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在2 b% ]0 V: T3 V  a5 Y
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    0 D6 ?7 \% V7 c, Y$ x0 i7 z! O; r
  16. 在teamspeak论坛,如果你有兴趣。 3 }+ w( N  ?! `* z* i3 X. a1 e
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    - h2 m3 o+ v- p- g6 W
  18. Borland公司使用。这个司机只能界面与客户端库$ t! @, B% R& G' d7 _# D" C
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这4 @  |2 b" L& O: X% U; _! A
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为4 t7 M$ Z9 \4 J% v8 V0 ]$ u4 W
  21. " vendorlib " ,并解数据库连接。
    + f2 H+ `) `/ J; V9 U
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 3 P9 p/ x$ A$ O
  23. 8 [1 q& v3 v$ n2 t
  24. # # #做好工作# # # ; M' u3 D/ x. i5 k
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都) ~8 L8 ~: n/ {( P" F( e5 A
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在4 _$ o# i/ E; P  W
  27. 结束:
    $ ~3 e& X1 {% R' z- @* T4 |, F+ k
  28. ---削减这里---
    " W, E. o# ^8 I1 ?. ]
  29. [ dbexpress ]
    / H$ p2 H# y& i; v7 \
  30. sqldir = mysql_sql 5 q: N5 s6 K- _* l( u  j) `/ [
  31. drivername = MySQL中
      i8 F! d0 z/ B: }, p
  32. 数据库= your_database_name_here - M6 E% z2 I6 {( }0 w' ~; p8 X" M
  33. 主机= the_pc_the_mysql - server_is_on + q: P; t# R- ~6 O- B
  34. user_name = user_name_on_the_mysql服务器
    2 t2 `6 D/ @! N6 Q# k( y9 n. U! o  g
  35. 密码= password_to_go_with_above_user_name : X5 k/ f! I) X( H
  36. getdriverfunc = getsqldrivermysql " F* k* |2 _/ ]  w
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ) I" b. @" W) @4 P3 ]7 \5 Q0 y
  38. libraryname = path_to_libsqlmy_libary
    + X9 y8 h& }+ U) j& g
  39. 积极= 1 ( m3 K" ?( G: Q; H$ |4 W
  40. ---削减这里---
    # C0 X' P* d! R5 S' S
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 8 `" u* [5 l+ \  i- D8 V
  42. ---例如---
    & A5 D8 o; P5 p  F  C. K5 m0 j
  43. [ dbexpress ]
    8 H3 \6 B- M  m' @' y
  44. sqldir = mysql_sql / q8 i9 K, |+ q) M3 s2 Z
  45. drivername = MySQL中9 \5 _# e# z% M0 v
  46. 数据库=测试) F, R$ w( ~: I5 O
  47. 主机=本地主机
    + Y  Y+ p0 h4 v
  48. user_name = testuser - R3 a4 h% `7 A9 t% z, B: {
  49. 密码= my_password
    $ @) |; j8 F: J- A7 x
  50. getdriverfunc = getsqldrivermysql ( o; d; x5 ]+ j
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ! P  a. o% z' V, u" f4 b: x
  52. libraryname =. / libsqlmy.so . u* k; {9 i! _; x2 u7 Y* E+ [) i
  53. 积极= 1
    - B: p" [& f1 P# a5 Q( I* H8 P
  54. ---例如--- 0 E; [0 S$ a: B% i% T

  55. 8 g" \$ x- {' l
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
      F4 U$ B- a1 Z  y
  57. ---例如---
    + e  @+ p; E9 q) u
  58. [ dbexpress ]   w! E2 i& p& e0 I2 t; j
  59. sqldir = mysql_sql ; x; a4 w- \1 m. V
  60. drivername = MySQL中1 @7 ~  S+ z% C
  61. 数据库=测试# B2 ^) ?& q  I% s' _* S( N
  62. 主机= 127.0.0.1 ' p  I2 r8 }5 g0 M
  63. user_name = testuser
    . h* a# q& ^+ P! g/ }8 K
  64. 密码= my_password , I$ @' r8 x5 y. }5 B+ [
  65. getdriverfunc = getsqldrivermysql ! b4 J3 t0 J) e( L" k) [# e
  66. vendorlib = libmysql.dll在
    ! d4 ]( c( }1 g0 Q
  67. libraryname = dbexpmysql.dll
    # ?. P/ S8 |9 I. D( h6 E% h" B
  68. 积极= 1 ) k6 V( x7 w& L# l
  69. ---例如----
    1 c" U5 m. {6 N' n
  70. -写在0 2.03.04由p wk.linuxfan6 C1 {/ ]( T6 ]$ X2 K; }
复制代码
发表于 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 words# y3 c  x$ |* n/ W9 I* ?/ z+ y& b

9 E+ O9 j; B% g; g( Z/ B- Gbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-9 08:40 , Processed in 0.092188 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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