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

3094 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan + {' [! H+ c9 Z) K3 K
* v4 V, K+ \1 x( i* @7 H$ Q6 S
  1. , }# Q2 z. @! B2 N! G- V# }: n
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######7 K+ E8 V! j9 q0 m" C; K6 x
  3. & B7 D* q  }% [/ b7 l. D
  4. ### What we need ###/ y) r' [- m5 t# {* B! m# w5 e
  5. Naturally, we will need a MySQL server to store the data for us, this document 9 ~% v, l  [) w! F: i6 s
  6. will not explain how this can be done - there are documents out there for the
    ; d: p  o9 ^% w3 e4 y4 n" F
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    0 Y4 T( H" f2 {
  8. and a user account (username + password) that has the permissions to do stuff, b! A, j9 A) L2 I2 I
  9. with the database. Additionally, you will need a vendor library installed on the- Q5 g3 x' ^7 |3 `; ]  a
  10. local machine, this came with my MySQL install.
    $ y. |8 w5 @( c. x5 l; b
  11. These instructions will not tell you how you might transfer your data from the
    , q8 s9 w4 J% `+ K& ]
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL( A1 {; I, t9 z# i
  13. database." r" L+ V2 }9 P
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    , _) j* |8 g* \3 o/ N
  15. the time of writing, there are still too many issues - check the current status
    ' Z3 P. @! I1 r0 L9 f8 L
  16. in the TeamSpeak forums if you are interested.3 b  A! O& V8 |0 y, v5 `. J
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    9 q6 a" D$ o: i1 _- s. L) r$ ?  j
  18. Borland was used. This driver can only interface with the client library that
    , r* H! v! [( B  m
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this7 e! i6 U9 ^: q, N# x9 U, a
  20. client library - basically all you have to do is to use a 3.x client library as 8 P3 o( F2 \0 c) P: d5 _
  21. "VendorLib" and a 4.x database to connect to.
    . B) C; n; p' U3 P/ _
  22. If you need more info about dbExpress, you can contact Borland.# x/ [8 C$ [6 D
  23. " {5 ?5 R% ~+ Y1 H% j8 y
  24. ### Doing the work ###+ M) B5 u- Z) \: S- O6 k
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ( L) m% `# |9 B! I+ |' v# z
  26. the perquisites right, just open your server.ini file, and add this section at
    * L  I9 k' R4 s+ N) ]8 P! }
  27. the end:
    0 {$ h$ k5 K3 i) {4 T
  28. ---cut here---2 i& y7 R5 E, t! s/ x
  29. [DBEXPRESS]- `) h7 s2 Z) u, h/ c* \. |6 m
  30. sqldir=mysql_sql
    : Q8 e9 t. N6 _& {
  31. Drivername=mysql
    0 _! Q# y6 V* {3 S1 r! `
  32. Database=Your_Database_Name_Here( I2 ]( ]* ?: i1 a( Q) j
  33. Hostname=The_PC_the_MySQL-Server_is_on9 I5 h3 P( z5 q. _* ^& p0 J2 \
  34. User_name=User_name_on_the_MySQL-Server
    5 j7 V" ^; Y% O$ N
  35. Password=Password_to_go_with_above_user_name
    ) Y! V" O9 h0 b2 Y& R) f
  36. GetDriverFunc=getSQLDriverMYSQL: g7 y! }2 W( _: @* V1 e
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    9 c4 X6 b% d" ~; Y1 J* R! P
  38. LibraryName=path_to_libsqlmy_libary+ V  j$ x4 `- x/ b# b
  39. Active=1
    8 k$ ?: ^+ m6 ]1 A4 z# M
  40. ---cut here---" v5 C: V3 I6 x' P
  41. In my environment (a linux box with a MySQL server running locally) I have:
    , R7 A% {4 A* e! M3 T
  42. ---example---) @  b! x5 g/ Y. A4 D: i# @5 W
  43. [DBEXPRESS]
      f; q; v1 X# f" X) F. y2 K
  44. sqldir=mysql_sql
    " _! G0 s8 w6 `9 k
  45. Drivername=mysql
    2 Q: i* j- l/ v* {0 X" I& f
  46. Database=test5 ]2 T) @! i0 {. B7 c- M' W7 o4 ]
  47. Hostname=localhost4 `) F2 P" X  Y, P" K! `" \
  48. User_name=testuser
    . U) h+ p. S+ a4 U
  49. Password=my_password; S' _) ~  B" c' Z
  50. GetDriverFunc=getSQLDriverMYSQL
    4 T0 [/ H6 G! k1 N& l% a1 b2 a
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    & ]6 R! ]# a4 ?6 g! _0 d# f' t
  52. LibraryName=./libsqlmy.so
    , F9 j2 j( X7 q2 k
  53. Active=1
      P& C4 {% z* j8 X/ q
  54. ---example---3 V! c1 c, X5 D7 t; G2 H) i
  55. 8 f/ Y, T( ~2 r* O6 o1 n. K3 h
  56. On a windows box, also running the MySQL server locally, it would be:
    0 j. A' v5 f: s2 i& Q
  57. ---example---
    $ X$ N. L( j$ j7 x, {' t
  58. [DBEXPRESS]2 N$ a/ U8 a7 h
  59. sqldir=mysql_sql6 d4 u  h* ~3 R. ^' u- @
  60. Drivername=mysql
    % C4 m( h/ c7 X' a* d* L- j& K
  61. Database=test
    % M) O7 r; U! I% U. M& f' L1 H: {
  62. Hostname=127.0.0.1
    6 u' Z' j3 N& v8 a  [
  63. User_name=testuser" v' h. L" C# u* g
  64. Password=my_password
    9 ~4 d# t6 ]/ `$ C& k) m
  65. GetDriverFunc=getSQLDriverMYSQL7 t* W3 m2 n4 n5 Q4 u/ i
  66. VendorLib=libmysql.dll' M8 }5 f' o4 [& g
  67. LibraryName=dbexpmysql.dll
    % H0 _/ A2 T; U8 j! r  R9 H7 s* Q
  68. Active=1
    - m0 I* ?! V. A2 ~
  69. ---example----+ o7 [, l  X/ c
  70. - written 02.03.04 by pwk.linuxfan0 [" l+ Z6 [, }

  71. 0 p% E- J3 C: O) L3 q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看( @' w  F8 \: s2 I1 L! P/ N
  1. % o0 Q$ X5 B( N% ]3 y4 H+ V
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    , r8 O. Z- y# E! s
  3. 9 t- _$ h# [* C( ?' G. r
  4. # # #我们所需要# # #
    2 P# f, p9 r; ^) A; C
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ; b5 ^. I7 M( O4 n2 W
  6. 不会解释如何做到这一点-也有文件存在,为
    - A& `4 j4 ^$ M) D8 Y$ K4 j" o
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用6 n* _( T; N9 \( h/ d
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    # Y# q: e0 n3 j7 w
  9. 随着数据库。此外,你需要一个卖方图书馆安装于0 k" _; _3 z! V) H
  10. 本地机器,这是我的MySQL安装。
    ) N* z% t7 T5 b' }0 C
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ( ~. u7 x; ], O2 \' [! Z& M
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    + W# T7 \" G2 b  v3 Q
  13. 数据库。 4 Y% |5 ^2 N) i+ T4 P" ^
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    1 S% M; Y5 t6 |3 q" v0 O
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    % E5 _4 m' i5 ~7 q5 W3 s, u- O
  16. 在teamspeak论坛,如果你有兴趣。 & T+ g+ ]: X! f
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机' O# x- o. q  J9 F* o& i% k
  18. Borland公司使用。这个司机只能界面与客户端库
    . p2 }- {3 D7 y  g& C/ j6 h
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这: T8 Y. G1 [! u- R. R
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ) ~2 d* B" |0 [! q" |; j% J
  21. " vendorlib " ,并解数据库连接。 ' u' z9 D. c  W/ G1 Q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 * w! X* u& K+ ~

  23. % R# K" C- L7 @
  24. # # #做好工作# # # 9 t  }0 ]& O' D' ~3 b  i
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    8 ]3 u0 S: N/ f. i
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    $ _  x0 D& _7 n* g+ J- }4 _
  27. 结束:
    4 d: y% r9 e! J% U+ l* B1 D& G2 D
  28. ---削减这里--- ' g+ i! V; X" e  U$ q
  29. [ dbexpress ] % l3 @+ X' v+ ~8 [; [. C- f7 c5 A
  30. sqldir = mysql_sql ! \6 E0 X# Q/ x) \6 `9 ?/ F6 v4 J% Y
  31. drivername = MySQL中
    * ?6 k! z. h! D* |: o
  32. 数据库= your_database_name_here
    - t3 Q( ~# T5 P/ k; |8 l( ]
  33. 主机= the_pc_the_mysql - server_is_on 0 c5 w" O3 I& Y
  34. user_name = user_name_on_the_mysql服务器
    , u+ ]7 m: Q- ]+ }% I
  35. 密码= password_to_go_with_above_user_name 5 v3 Q: k; ~' ?  G% |: |
  36. getdriverfunc = getsqldrivermysql * J$ R9 x/ G7 o- t& j9 Y7 ~: g( G
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    * f% V- x5 S6 Y% d
  38. libraryname = path_to_libsqlmy_libary
    9 E' k6 j* _9 [, h& l. F
  39. 积极= 1 % Y" X* w0 m0 h% e; ?# l* U
  40. ---削减这里--- 5 C( n: h: r. j0 p" \5 X4 k
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ; P) {4 Q$ M8 r3 q( v3 k
  42. ---例如---
    " V! w' `- k4 G8 {6 v' C1 P
  43. [ dbexpress ]
    , @# P  c+ q( B
  44. sqldir = mysql_sql
    3 m* x" F% A7 n
  45. drivername = MySQL中9 X- P# z3 y8 N3 e' `
  46. 数据库=测试
    - o# B" M  F8 z- K5 W& [# K
  47. 主机=本地主机
    5 ?" c1 p" o! C8 R8 g
  48. user_name = testuser 1 v* ]' |  `/ Q/ ]
  49. 密码= my_password
      K$ }& t- J4 h, I  D" u: d
  50. getdriverfunc = getsqldrivermysql 9 d# _) `% }6 I
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 0 y7 o& \: B$ b- a* l
  52. libraryname =. / libsqlmy.so
      O% e9 R+ o. E, [/ a
  53. 积极= 1
    3 x3 c2 ^; y& t: T
  54. ---例如--- " }! `& Y6 G' L( Z! Q0 T( n* w

  55. 3 z8 h+ F2 {7 J9 ?3 d5 S4 B
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    - l. w& Q6 h; x
  57. ---例如--- % S- `. l. Y9 m0 V0 Q
  58. [ dbexpress ]
    - r$ x: m, n( l0 @. L, m' W" `
  59. sqldir = mysql_sql ' @4 K. t, z0 D/ S  j5 V
  60. drivername = MySQL中5 x2 o; F% a8 [6 Y" L
  61. 数据库=测试
    . K4 a# v8 K, P& i' x" C
  62. 主机= 127.0.0.1
    6 t" x, D; ^. o: o# P  l+ b9 S. ]
  63. user_name = testuser
    , g. E; f5 I. {) d
  64. 密码= my_password
    2 E" M1 G. x  H8 }/ `3 z% _3 q
  65. getdriverfunc = getsqldrivermysql 8 I9 I6 u" o0 S7 n3 K3 ?
  66. vendorlib = libmysql.dll在
    1 n) \* p% H! p6 m: W* E
  67. libraryname = dbexpmysql.dll
    5 `! K" r( Q; D% Z6 B6 L6 C6 X
  68. 积极= 1
    ! }9 l( l' H/ G+ _) d- N  N' d
  69. ---例如---- ) A. L" E2 Z" |, f( Q+ Q
  70. -写在0 2.03.04由p wk.linuxfan9 m$ B1 t3 A4 a3 m6 Z5 I5 _% H6 E* ?
复制代码
发表于 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
1 W4 }. n  B) |) v
. r9 y( [; C. P/ x7 pbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-31 04:52 , Processed in 0.106409 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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