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

2386 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ) Z- S! {; A- P) j1 b2 s# X& g
; u0 c  ]" k0 |, Y! K
  1. " w# x+ M; n- [9 S  f3 E
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 \) r( D8 q: ?6 x4 ^9 b
  3. / s+ ~( c2 ~# Y  @% X
  4. ### What we need ###
    * z6 d5 d; H! g
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ! G: h/ u4 [  _7 t3 \
  6. will not explain how this can be done - there are documents out there for the
    ! g9 ?: M$ G$ m
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    2 ~# z5 |+ J0 r8 t7 m7 T
  8. and a user account (username + password) that has the permissions to do stuff
    / J0 D) Y! X8 \% d8 R1 l
  9. with the database. Additionally, you will need a vendor library installed on the
    4 m8 Z2 i6 u% u, C) Z! U
  10. local machine, this came with my MySQL install.9 @, i2 t9 H: \; a% s  V
  11. These instructions will not tell you how you might transfer your data from the2 \9 \6 L& J3 @9 o6 X' b  t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    % W$ ?  W2 _" T3 _# Z6 u7 C7 J1 i- H
  13. database.
    ) F* Y& ^7 K8 m* ?
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    4 {9 [' q# \& y7 W4 r: \
  15. the time of writing, there are still too many issues - check the current status- T* |9 p* a& Y" l5 ~
  16. in the TeamSpeak forums if you are interested.
    7 {' y( s. e3 Q  m4 j' I
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from* l1 }0 {/ V- x* M- I) O/ k
  18. Borland was used. This driver can only interface with the client library that 2 B, e8 H* o5 ~! H: j1 W! y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    7 }. t! B- E3 o8 ~3 V  w/ d
  20. client library - basically all you have to do is to use a 3.x client library as , A7 f/ O0 a! s: \
  21. "VendorLib" and a 4.x database to connect to.
    0 v! r  f/ n( A1 W% h6 d
  22. If you need more info about dbExpress, you can contact Borland.
    - A8 |1 _, v7 D

  23. + p# D7 W. v# ]
  24. ### Doing the work ###
    / K0 A( t; E1 U$ i1 f
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    8 T' |2 B6 h  R3 i
  26. the perquisites right, just open your server.ini file, and add this section at
    6 _. a' l  E) u* H9 W& `6 Y6 p
  27. the end:; H! W. O/ w) |6 o& a, |
  28. ---cut here---1 e  o: v. R, x3 c5 X
  29. [DBEXPRESS]3 {6 Y' P; i. p! t% Z
  30. sqldir=mysql_sql
    : H: i/ A7 F3 s1 H; u" F( T( @
  31. Drivername=mysql, U' \6 D! b2 X4 q4 S
  32. Database=Your_Database_Name_Here
    1 _6 o9 k$ ~- {8 r
  33. Hostname=The_PC_the_MySQL-Server_is_on- z8 h0 b6 x2 |: m
  34. User_name=User_name_on_the_MySQL-Server' X& w0 L2 [  M/ E: z8 y) G
  35. Password=Password_to_go_with_above_user_name
    0 S9 T* n* b1 Q, h
  36. GetDriverFunc=getSQLDriverMYSQL
    7 z* y: [" h! F( i1 n
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ; Y. J' g5 [" m9 R- x
  38. LibraryName=path_to_libsqlmy_libary
    2 F; L4 u& w: ~* C- h# C3 Y
  39. Active=14 E* s' T) l9 r4 t# w9 a# ~
  40. ---cut here---
      ^) O& n+ I, {2 R
  41. In my environment (a linux box with a MySQL server running locally) I have:+ h, W( r. k, Z8 P  o! h- K
  42. ---example---
    , w0 Q1 g: ]0 ^/ R( e
  43. [DBEXPRESS]
    6 D7 S/ i% [6 o. B0 C
  44. sqldir=mysql_sql
    * \4 z3 q% i+ K0 ?( n7 Q; `
  45. Drivername=mysql
    . G& ^6 Y7 Y  k# T
  46. Database=test6 H$ l/ `8 o8 U) @% ^
  47. Hostname=localhost3 F  [# M% Y* f6 a% }# w0 }8 {* |; t
  48. User_name=testuser
    " N5 r8 `- g0 h: y4 ~7 I
  49. Password=my_password' W! `3 D3 i; y0 q( I
  50. GetDriverFunc=getSQLDriverMYSQL
    : T. P, @0 P( q; l+ k/ z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    5 Y- w: r8 V7 a1 z  q
  52. LibraryName=./libsqlmy.so
    4 J( F/ n) e+ Q! X; ^  ?4 B( H( [
  53. Active=1" ^' ]7 O0 Y+ p3 d
  54. ---example---/ ?% r' R2 y* X2 i/ f$ u3 ?6 _
  55. 0 ~. m# T& X! p, d
  56. On a windows box, also running the MySQL server locally, it would be:4 D+ Q$ e2 N: V- |# x! E. a' ?
  57. ---example---
    4 |! q  y; L4 I0 w  [! g
  58. [DBEXPRESS]
    9 q3 V7 m9 n: N6 K1 B* w
  59. sqldir=mysql_sql
    , u& g1 N9 V) q; V2 O9 n  m) `
  60. Drivername=mysql$ Q7 r  T( @3 M; ^  i
  61. Database=test
    5 t  N& d; Z6 H) v0 p* P5 ?! s
  62. Hostname=127.0.0.1
    + B  y& M3 _! l5 a- J( N
  63. User_name=testuser
    0 }! N( m+ `6 `+ ^. I6 [, G
  64. Password=my_password
    & X1 X9 r* ?' V" o. v3 L
  65. GetDriverFunc=getSQLDriverMYSQL
    - q. O+ X( C; f1 p  \/ R
  66. VendorLib=libmysql.dll
    % _5 X: s5 [" j) p6 ?7 A
  67. LibraryName=dbexpmysql.dll
    9 Z' a, X. v( l) F1 w
  68. Active=17 {  ^# `6 ?. |" ^: g$ u9 b( x% ~8 ]6 t
  69. ---example----$ L$ E& U- h! i1 z
  70. - written 02.03.04 by pwk.linuxfan* e1 g! f5 X& a5 b+ n
  71. / p- N2 y6 I  g% Y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看2 g- b' ^' z# f. s4 [8 p5 V
  1. / x. j! r* i+ K! ~7 R) B& ]
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    8 i  F* D5 o3 q9 x/ j' U

  3. % n! I" i2 E( n0 e9 v, p/ s
  4. # # #我们所需要# # # $ X4 M  E! U' R1 {  B
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    + I; w# p! `; k: n! J* C/ @
  6. 不会解释如何做到这一点-也有文件存在,为
    9 l# O1 ^1 K& Y# q* v( }
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用& D2 @& O' q5 ^* c# M
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ' D6 w0 b; h1 o! t
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 s$ S2 V6 z. z+ x# G+ Y4 Q( h; p2 `: G
  10. 本地机器,这是我的MySQL安装。 . [4 l$ C3 C0 c" W+ r
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    1 j1 r  ~) {2 t6 q# W; ^8 L+ ~
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL # h: X( a0 S4 K7 l- H7 f& {; N
  13. 数据库。 ! z4 ^- Y) E' i- c
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在$ x3 U( A7 R# J1 R; O, N" \5 G
  15. 编写本报告的时候,仍然有太多的问题-检查现状2 h* ]1 L/ F* N# }0 o' z
  16. 在teamspeak论坛,如果你有兴趣。
    , t2 m  m' T6 h) v; ^3 y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
      l) m4 I) d7 P/ D
  18. Borland公司使用。这个司机只能界面与客户端库, J- L3 B: o/ Z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
      k; @$ k7 Y$ Y% l  I( j* B) w' o' F
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    , a7 [+ x! L4 u+ p
  21. " vendorlib " ,并解数据库连接。 ( q$ z& D8 T5 i/ F' M+ A
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    3 _! R' ^8 O4 u! g- p5 G& f0 b
  23. " [0 u; S: X+ x2 i" y
  24. # # #做好工作# # #
    # Z' c1 [6 Y% k$ m2 O& _; \
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都" i+ v4 X2 G7 E% R( \# V
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    + o1 ]- f" T  z. n( H( H
  27. 结束:
    7 w8 }% ~/ T0 s5 X1 {( M
  28. ---削减这里--- 6 o( k% |% n  @8 o3 v( U4 U* x
  29. [ dbexpress ] 1 l' l1 i$ j: k) p' E
  30. sqldir = mysql_sql
    & j8 ]& e1 Q6 J6 `9 u0 B+ Q' P! z
  31. drivername = MySQL中' S+ j7 u+ m2 h- A7 M
  32. 数据库= your_database_name_here
    / ?* z) ]$ @; `. L, n4 v& I& C
  33. 主机= the_pc_the_mysql - server_is_on 3 M, ]/ k* ?' {, A  \
  34. user_name = user_name_on_the_mysql服务器3 B0 O( m% p$ H6 f
  35. 密码= password_to_go_with_above_user_name
    1 g7 h( X+ {% a* B7 `
  36. getdriverfunc = getsqldrivermysql 5 @5 i( U% H! [
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib # m( J9 E6 Y9 m8 ]/ T0 o0 W
  38. libraryname = path_to_libsqlmy_libary
    2 W: b  [( v( }% a) ~
  39. 积极= 1
    7 O8 ~$ z/ ]; u8 z% a1 l: M
  40. ---削减这里---
    / u5 }: ~3 o" ?6 e+ a9 o+ Y0 Q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    4 A: l; s# v4 o/ Y' T; D
  42. ---例如---
    5 g9 q! N6 \& w5 X* O
  43. [ dbexpress ]
      U( O2 c# `- C& z
  44. sqldir = mysql_sql
    % }1 {* k* T; q6 s0 `
  45. drivername = MySQL中
    6 g% v/ ]: G) G" }9 ^+ z1 H5 V" L& e
  46. 数据库=测试
    % x, D( B6 a6 I2 n4 _  d. `) K. o
  47. 主机=本地主机
    . E/ @, ^3 C  q5 d) X& Q
  48. user_name = testuser $ R* @" T5 ?2 a1 @! T
  49. 密码= my_password
    + ~% [7 \( f& u4 d, S
  50. getdriverfunc = getsqldrivermysql
    ! a% ?% ^* r6 P7 H# S# B
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ) b' H2 P3 @8 k; y" F4 x% Z
  52. libraryname =. / libsqlmy.so 9 U0 B( ^+ n# P* w5 {' P
  53. 积极= 1 ( \, a! y' d" c4 A# I3 Y
  54. ---例如---
    ( }; B7 o  s/ p

  55. ! R6 f9 i3 g# M3 I
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    2 V  s8 S/ T: O! a" G
  57. ---例如---
    9 K  _  Y5 e& [, Z
  58. [ dbexpress ] " B8 ]. l9 u4 H+ I' [9 X; e
  59. sqldir = mysql_sql . l/ R/ U) V/ I, [$ t
  60. drivername = MySQL中/ Q: H  }5 t* c& I4 F; ^& v$ |
  61. 数据库=测试4 Q8 Z! l+ `  [! U
  62. 主机= 127.0.0.1
    1 y0 _' D1 |7 Q& I6 i
  63. user_name = testuser 0 t" d6 v2 z; K1 n) k9 z
  64. 密码= my_password
    % C2 o/ j) |& I1 T. j; t
  65. getdriverfunc = getsqldrivermysql , ?* k! C7 a7 b3 M
  66. vendorlib = libmysql.dll在' F0 ?9 v$ U1 [' A9 ?2 q3 j, `! j" F
  67. libraryname = dbexpmysql.dll
    1 K  }2 y) m( \
  68. 积极= 1 9 l3 T0 l9 d  k! `4 M
  69. ---例如----
    9 k) Y0 i; h5 k
  70. -写在0 2.03.04由p wk.linuxfan: p4 s( V% L: N# _0 k/ E0 _
复制代码
发表于 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
# N  @2 _$ A, q; {
2 C! y. C( F" R9 @* Y5 k" tbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-15 05:25 , Processed in 0.099782 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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