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

3288 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan " X, }& x! S& R) b5 r# \

; t) N2 P' V) `) C# e& [- T- D) F6 K

  1. 5 {& x+ j( ~) X+ Q6 `. w
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    3 w$ h, N- [+ n3 i9 D; I  K' q. L
  3. 2 F! |2 Y. N# p5 b1 q2 ^
  4. ### What we need ###
    2 R5 c: \1 t: T/ r. P; U; @
  5. Naturally, we will need a MySQL server to store the data for us, this document   Y9 d( t( I6 `, ~/ F+ ?
  6. will not explain how this can be done - there are documents out there for the
    " z. x) S4 _; p
  7. interested. The requirements include a (empty) database for TeamSpeak to use- V& k! T0 o; r3 d+ d* w2 v2 t3 H. x
  8. and a user account (username + password) that has the permissions to do stuff( ]; v$ t( `' t0 E
  9. with the database. Additionally, you will need a vendor library installed on the
    9 c; Y% y# W% V9 d2 d# Z
  10. local machine, this came with my MySQL install.# }; ~6 z9 t' {4 p4 A. o/ W4 F" P
  11. These instructions will not tell you how you might transfer your data from the5 N  u5 k$ H8 {; c% d
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    8 X+ F* Q( J* O; @! y; M; K
  13. database.
    - u' D; J- S8 k$ f0 ]  \; v
  14. Some users have reported ways to import a SQLite database into MySQL, but at* y2 Z- S, Q# s% ^& Q0 z
  15. the time of writing, there are still too many issues - check the current status0 z* d2 T! ]% b+ ^" V! D
  16. in the TeamSpeak forums if you are interested.
    " ^* i% n# I! X% V0 j0 ]
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    & [0 N( Z( i4 K; J& z8 v& r. Y, x/ ~
  18. Borland was used. This driver can only interface with the client library that ) L: `- G( y8 ^5 Z9 q0 u8 ?3 [# \
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    3 u8 Q9 S6 ~1 [  o
  20. client library - basically all you have to do is to use a 3.x client library as
    $ C$ y" \4 V9 O$ K- D6 z/ W9 ?* U
  21. "VendorLib" and a 4.x database to connect to.
    + O: A( F# \- N# s
  22. If you need more info about dbExpress, you can contact Borland.
    ; E, V+ W$ Q$ I$ d+ N( M' F
  23. ' a% m' b: X' s% F7 K
  24. ### Doing the work ###7 p& U, y( R+ X* M, u) y- _: N- q* `
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    - V# }5 ^! j. E4 D8 Y
  26. the perquisites right, just open your server.ini file, and add this section at
    3 E% w9 p& x7 i& S
  27. the end:1 q; ~9 ^6 B& a
  28. ---cut here---. ]9 x, e& m7 v0 Y
  29. [DBEXPRESS]
    ; m5 q  _! Z* P2 l! s7 z3 s
  30. sqldir=mysql_sql
    " p8 M. T6 k, g, y
  31. Drivername=mysql
    * [4 y8 A6 t1 z( C* J, a0 G  L( x; p5 D
  32. Database=Your_Database_Name_Here
    # J: A+ N: Q8 T, |) y
  33. Hostname=The_PC_the_MySQL-Server_is_on* H  n3 ^& h4 U" ~7 I- r# W
  34. User_name=User_name_on_the_MySQL-Server
    ! G' ]8 T7 v) u# L# g
  35. Password=Password_to_go_with_above_user_name
    ; D" |5 b, l& N
  36. GetDriverFunc=getSQLDriverMYSQL
    0 C; c9 }3 u3 g( D5 N0 O4 I
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    & W8 |1 S/ `9 n$ T$ j
  38. LibraryName=path_to_libsqlmy_libary
    ! q2 m( l0 }2 k4 g8 n( L8 {
  39. Active=1
    0 C) Y% [; |, f- w% L
  40. ---cut here---
    + ~7 V9 ?, V1 K  x' E1 }4 ~/ d
  41. In my environment (a linux box with a MySQL server running locally) I have:
    7 z( V* y" c: F5 v4 G
  42. ---example---
    & T$ H3 T% u, t4 }' m
  43. [DBEXPRESS]
    5 C, n1 o) k! ^7 h
  44. sqldir=mysql_sql
    - I1 r1 D' @' k. A# \( ?
  45. Drivername=mysql
    5 f! \. f+ e/ o
  46. Database=test+ |0 v6 h0 m! I& l0 V- M* z+ u
  47. Hostname=localhost7 U+ r+ M3 n% \( Y4 p) i
  48. User_name=testuser
    + l/ z; q1 E9 f5 u/ |% ?6 {
  49. Password=my_password
    / L( P& e9 O6 h8 H
  50. GetDriverFunc=getSQLDriverMYSQL
    , W- g* a( L; L! R# e: Q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0* k$ F" ]1 [  [3 x' {# ?
  52. LibraryName=./libsqlmy.so
    1 P- b- S; w" Q4 d# L$ g$ d% K
  53. Active=1
    ( N  _, o0 x3 W5 c/ f
  54. ---example---# z  P' H! q$ I" G; t8 i: o
  55. & J7 ^8 f" z7 T: x
  56. On a windows box, also running the MySQL server locally, it would be:
    ) z/ G, S+ V  N0 u
  57. ---example---$ d/ B! S& U2 s0 A  V
  58. [DBEXPRESS]
      ?6 `. b0 [( v9 ?
  59. sqldir=mysql_sql
    ; T5 @2 T' O! X" W3 [0 |+ X, F( s
  60. Drivername=mysql" E. }( P* I0 I# x4 L# }
  61. Database=test
    . f: \6 q: }6 c4 E' A6 w
  62. Hostname=127.0.0.11 ]5 E% @$ j2 R6 b
  63. User_name=testuser
    7 }( Y, m& I- h! E7 L: F# K
  64. Password=my_password
    - B: d. o! p2 w7 L' G  h8 |
  65. GetDriverFunc=getSQLDriverMYSQL1 b3 E3 j% Q; d
  66. VendorLib=libmysql.dll
    , B8 Q1 y* K% n* r4 [
  67. LibraryName=dbexpmysql.dll
    & y) e1 g6 |7 D$ K9 t) o6 L& f
  68. Active=1
    1 {0 m% j, L/ ~+ W' k% N! V
  69. ---example----
    $ S6 V  v8 i- D6 c* L5 g# ^  }5 i
  70. - written 02.03.04 by pwk.linuxfan
    4 q9 |/ r8 n5 C% |4 m* S$ K# }
  71. 5 |# l7 V: G8 s* f
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看% t. s- _7 q2 L

  1. / @7 W5 Z3 w, P. u5 P4 Q' R) P
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ' o) i5 O+ C/ r1 T0 s

  3. % k7 J3 N# ]  W$ ^) t+ V- J' |& r! b2 ]
  4. # # #我们所需要# # # ! _! e+ v! [* y# y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    # Q9 D, J& A. E& ~: Z) I, R: }7 o
  6. 不会解释如何做到这一点-也有文件存在,为2 o2 J' @) q  d1 w
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用& l8 {3 n/ i5 e2 [  b
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    8 F1 M: c9 |, [- A
  9. 随着数据库。此外,你需要一个卖方图书馆安装于  I4 ?- n& [; ^+ M( h) ^
  10. 本地机器,这是我的MySQL安装。
    3 z' N/ e* x( t) h& h
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从: S+ B- x6 N/ m' h
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 3 t6 f# Z4 f9 V- o6 P% [7 ~3 M
  13. 数据库。
    . O$ i7 ]: X& K% @" C0 q6 z5 I
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在) {. M1 S2 e% Y4 a7 V5 o7 W/ {( r9 [
  15. 编写本报告的时候,仍然有太多的问题-检查现状* u3 I" x+ l- C; [, @5 e7 J; J
  16. 在teamspeak论坛,如果你有兴趣。 7 _( k3 }' R* r9 L- b+ b* s# \
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机: e  K9 _* Y% w
  18. Borland公司使用。这个司机只能界面与客户端库
    8 G4 o/ ^2 ]6 W
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    & {! D. a' j4 [. I
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为% X4 n: H* _0 C
  21. " vendorlib " ,并解数据库连接。 " _7 s/ e) T  j
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    . V2 Y3 C2 R, I5 z5 K9 W2 p/ d5 n

  23. 2 t2 a- P: k$ h0 w/ n
  24. # # #做好工作# # # , s. x# x" [, c! }
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都9 I( U, W6 L2 h1 j" i* v1 G
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    & N& Y/ ]& T+ l+ V! z
  27. 结束: 0 c( F( w& E9 U& W. m. g& P
  28. ---削减这里---
    ( X9 ?0 |+ s% V+ J! ]6 p. n
  29. [ dbexpress ]
    0 V9 [& R5 P6 ~
  30. sqldir = mysql_sql * b) _' N3 |/ f7 \6 z
  31. drivername = MySQL中
    ! O* K" d( k& E3 w; v9 p
  32. 数据库= your_database_name_here 7 v) c$ H' I; N1 L
  33. 主机= the_pc_the_mysql - server_is_on
    : h4 j% Z( P  j% a4 v$ p
  34. user_name = user_name_on_the_mysql服务器
    ( F7 s5 \* J: G4 t
  35. 密码= password_to_go_with_above_user_name ' T5 r* b) ^; G4 e! {; m
  36. getdriverfunc = getsqldrivermysql ; ~" ?% q0 w, ?, k. ]
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib : w: h# R3 D' i* `  o( {
  38. libraryname = path_to_libsqlmy_libary
    * ?. x; K/ P' K
  39. 积极= 1
    2 M2 u+ o( f$ Z/ ^) L9 W# d$ P
  40. ---削减这里---
    * k9 C4 P4 _! x
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: : w/ o4 w5 Y! k" G
  42. ---例如--- ; d0 s9 g) `; x' p
  43. [ dbexpress ] . W5 p+ G, q5 e% K
  44. sqldir = mysql_sql
    8 i1 U: ]1 D  }. s+ ?3 n
  45. drivername = MySQL中
    ! s. K" A) z" S: Z* m
  46. 数据库=测试
      N# V2 `+ \  }0 }( Z# H% Q7 A
  47. 主机=本地主机, x" L7 L& l6 I( r/ x
  48. user_name = testuser
    4 J% a9 h- j% I- |9 |! T
  49. 密码= my_password ) G9 P) _0 n  H1 Q. g
  50. getdriverfunc = getsqldrivermysql
    7 h, R0 @$ i1 L; u% Y: g7 t- I
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 + y* ~* N8 y8 k+ h* Z' r
  52. libraryname =. / libsqlmy.so
    : ?# _2 K  Z% V, |  B9 Q5 z4 l
  53. 积极= 1
    4 k  A- \: y8 W9 v
  54. ---例如---
    # x$ R' I- u# e/ ?+ b' J2 m/ e- t
  55. ) c" G0 R3 z% _: |( J& g
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    * E& H1 o7 O! H) d9 E9 Y" n5 D
  57. ---例如---
    8 a% F" X! a6 _. Y" I% h
  58. [ dbexpress ] ; c; Y; m  |3 ]) P; a  T, I
  59. sqldir = mysql_sql 0 z# q% `% |. q  y) R* Q# }  P( H# y
  60. drivername = MySQL中7 M1 v0 j8 R- ]7 L& h
  61. 数据库=测试- }/ s# g# b5 j
  62. 主机= 127.0.0.1 # T( k8 N! O$ n* J5 r1 k
  63. user_name = testuser 8 i9 L; H, g, R5 x. K0 x
  64. 密码= my_password - j6 {' X/ {4 b4 n" X+ w
  65. getdriverfunc = getsqldrivermysql
    $ @  q7 ~& A1 L: y4 t9 W' X
  66. vendorlib = libmysql.dll在6 Q) ]& o9 m5 Q6 j
  67. libraryname = dbexpmysql.dll # r5 m' o  b" ]2 H4 V# [+ R& P
  68. 积极= 1
    9 z& f9 @  m0 m: z! h
  69. ---例如---- # n1 e" Q# ^" L# k- ?8 E& y0 H
  70. -写在0 2.03.04由p wk.linuxfan
    ; N# l& a+ e" X* Q$ j4 @
复制代码
发表于 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
: x7 D, x! ~& m; \' q. i9 u' `
, m) ~* D) f, M( s3 q5 Ubut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-4 11:13 , Processed in 0.102092 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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