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

3116 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 5 {! D1 t0 X% ^( e

7 \& Q% [# m6 O3 {- D5 H

  1.   x# R2 w. G9 S2 k  A7 D7 Z2 g
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ) k8 g1 I2 R6 X( S& S
  3. - u, ?( F2 l% [4 V
  4. ### What we need ###
    ; G6 m6 |7 f& a4 e
  5. Naturally, we will need a MySQL server to store the data for us, this document 4 |$ U2 B$ d( Y4 E% ?9 |
  6. will not explain how this can be done - there are documents out there for the   C" e( A: M3 Q  U+ x) I
  7. interested. The requirements include a (empty) database for TeamSpeak to use& ], l2 O& C% L2 U" P; g6 A
  8. and a user account (username + password) that has the permissions to do stuff7 [& C9 t4 T) E. H: \: W
  9. with the database. Additionally, you will need a vendor library installed on the+ `8 p4 k& P8 m
  10. local machine, this came with my MySQL install.) b  {* D, P7 A: T
  11. These instructions will not tell you how you might transfer your data from the
    " H: B7 @1 y. J4 t0 d4 G
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL' j9 h0 s7 z3 h* n% @! I; P: E; k
  13. database.
    0 X; o6 Z$ @( X) _
  14. Some users have reported ways to import a SQLite database into MySQL, but at7 e9 T7 H2 u! y7 D1 \
  15. the time of writing, there are still too many issues - check the current status
    8 U- \' W: V: I, L" M
  16. in the TeamSpeak forums if you are interested.
    , M: v) C* ^/ g
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from5 D+ {9 |" U2 L% b" g/ t
  18. Borland was used. This driver can only interface with the client library that
    9 H3 U3 y' L1 F' N1 ]* {4 Z5 L3 f3 H
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    7 m5 O$ u& ~$ U* i  w% W) n
  20. client library - basically all you have to do is to use a 3.x client library as
    , t1 r" q9 F4 x5 R5 u) e- `. g
  21. "VendorLib" and a 4.x database to connect to.: Y' @8 f  i+ f4 e2 w  x
  22. If you need more info about dbExpress, you can contact Borland.
    ( {( j; z9 v" x! [; v8 e3 M) Q

  23. 1 U- v6 n( n( x
  24. ### Doing the work ###5 M9 o) J& T( k& I
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    . j; W# J) [+ N1 t. @- M
  26. the perquisites right, just open your server.ini file, and add this section at: Y% e  P9 l, y' Z, p* P* i/ `5 x
  27. the end:( [( O# T* E5 |" h8 A
  28. ---cut here---5 G- w  i' ]& x
  29. [DBEXPRESS]
    1 m7 d  L/ e: J. `& Q
  30. sqldir=mysql_sql/ P2 F7 [' s! ]; ^" B4 z4 ]
  31. Drivername=mysql
    ; X5 L9 S6 \: l8 ]
  32. Database=Your_Database_Name_Here- U7 w3 P% @5 i/ v; u3 `; `
  33. Hostname=The_PC_the_MySQL-Server_is_on0 ^/ ^5 F& k2 ^# k  R
  34. User_name=User_name_on_the_MySQL-Server
    ' C1 ?1 `6 n% C
  35. Password=Password_to_go_with_above_user_name
    $ R0 Q; V8 t4 ~" q
  36. GetDriverFunc=getSQLDriverMYSQL" w( l6 U: B2 ^( F( M
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib3 R! Q: m, Q  X- z3 e1 G8 q( k) w
  38. LibraryName=path_to_libsqlmy_libary
    ; a, ?8 L- C  Y. A
  39. Active=1
    1 Y5 S7 N! r( z8 y
  40. ---cut here---
    - ?( G$ M; x# A3 e- H" V' b
  41. In my environment (a linux box with a MySQL server running locally) I have:; g. A9 A* V7 v0 f4 n
  42. ---example---' {% p6 _# t. o* C' e. A0 u- p5 d
  43. [DBEXPRESS]% t/ T( J; s; N8 l- T
  44. sqldir=mysql_sql% k( X4 C/ |+ E0 d. |. _
  45. Drivername=mysql
      o( f: i% i; d1 A8 e, [0 I0 b  H
  46. Database=test5 h' j' |- L9 V0 k
  47. Hostname=localhost
    . Z( {! |) k) j  ~$ E# F  H4 X
  48. User_name=testuser
    4 s+ s" r; X& `# t
  49. Password=my_password/ K5 ^. V! V  C9 Z1 n5 L
  50. GetDriverFunc=getSQLDriverMYSQL
    4 Z/ `( S6 M8 h) P1 Y. E' D+ ]
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0& [9 v7 P7 P. L. n# u
  52. LibraryName=./libsqlmy.so
    9 x% F, ~7 d7 [# z2 e' Y: o
  53. Active=1
    " I" }+ L% z, G* O( C
  54. ---example---
    2 a: V; i) s' H
  55. 0 O; j3 j8 Z: p$ J/ G
  56. On a windows box, also running the MySQL server locally, it would be:" V, ]2 |" d9 J) j
  57. ---example---- v$ T! P/ T1 w' r- O6 C' Y2 i
  58. [DBEXPRESS]6 Q9 J; i8 O1 e4 e( p: w( ]
  59. sqldir=mysql_sql' ?$ A/ E8 S; m% a* h$ @8 X" |
  60. Drivername=mysql0 ~9 q; s" }; ~5 N7 |
  61. Database=test
    - y$ B2 A! T; J
  62. Hostname=127.0.0.1! \) O, {) S0 T% ~
  63. User_name=testuser
    6 p2 L. f! y& A( z
  64. Password=my_password# Y1 K4 }  `# ?7 [+ T7 X& n4 g2 T
  65. GetDriverFunc=getSQLDriverMYSQL( w2 Z; K7 K# O0 ^& X# p+ ^
  66. VendorLib=libmysql.dll
    / r6 D' l5 \! _' Z, E
  67. LibraryName=dbexpmysql.dll
    1 {5 U) T* K' K- y) r8 P( _* E- Z
  68. Active=1
    + S% D/ |4 W6 @+ [. ]) D' N" @
  69. ---example----
    : K2 Z* ^+ Z9 ]* e0 W/ H
  70. - written 02.03.04 by pwk.linuxfan
    # F) O: ]0 S; {( h5 P8 ?

  71. $ p  f% T' H" k0 Q5 ?3 O
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看5 L( N1 e0 P: j

  1. " @7 M- U8 J( p
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ( |3 [" E2 {5 }5 C. k3 b
  3. . c3 Z/ t& z6 F, O
  4. # # #我们所需要# # #
    " y. I- H; ^0 j9 R
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件: J3 p4 o4 Z5 ~
  6. 不会解释如何做到这一点-也有文件存在,为
    * Y, r4 r9 G0 P) @9 T4 i
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    9 A1 Q9 V! v1 H1 I: a9 b; l
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西* X$ f* j- O5 e% W; h, Y9 f) `
  9. 随着数据库。此外,你需要一个卖方图书馆安装于8 Z, ~& N0 y5 q; k, F
  10. 本地机器,这是我的MySQL安装。 4 k: `+ o8 k! c9 P1 |( h
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    , ~4 I6 Q( Z4 p' n+ z8 a1 L6 q8 C
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ! w: G2 Q0 s$ `6 o& J4 x1 G) w/ u0 v
  13. 数据库。   r# H# l' `2 j) p. F% `8 M: M
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在$ f- `) M7 X! v; H% W
  15. 编写本报告的时候,仍然有太多的问题-检查现状5 a( q1 A* \- i& ^8 B
  16. 在teamspeak论坛,如果你有兴趣。 + d8 F. p- `1 I- Q5 x
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ! _3 G/ S$ X' G: C, y
  18. Borland公司使用。这个司机只能界面与客户端库
    4 e" A% y7 L; Z3 _  B
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    3 \5 ]: m8 L: p$ Z- z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    4 U7 X. o3 l4 W4 H7 X
  21. " vendorlib " ,并解数据库连接。 ! D9 R( w# ^: |- I: g4 @2 W
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    9 A6 I7 O0 V+ }

  23. & Z. W; _4 c) \4 Y
  24. # # #做好工作# # # 0 U! M5 g) }, @# ?
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    , j( ]1 n1 h0 Q' L' `
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    8 y& C9 ]: \% Y) b2 R% v) o! L* ?
  27. 结束: 8 |8 K0 v& \1 N* ~! z* ]4 y
  28. ---削减这里---
      \" ]' b) Y( v; K
  29. [ dbexpress ] 7 G! {3 T+ D6 r/ @. [# B
  30. sqldir = mysql_sql
    8 m- Z1 R; b9 b* Y+ h7 f
  31. drivername = MySQL中+ q" C+ x$ q& \# |/ c- H) [# U
  32. 数据库= your_database_name_here 8 h0 |/ l5 B. a* n  H0 ^% n
  33. 主机= the_pc_the_mysql - server_is_on   g( J9 ?3 ~  T6 P
  34. user_name = user_name_on_the_mysql服务器
    9 n. v0 g. N! R! [( m$ h
  35. 密码= password_to_go_with_above_user_name
    - h0 d' l1 N: o9 {, L) W
  36. getdriverfunc = getsqldrivermysql ! @7 `1 p' ]% f% t1 |
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ; ?$ J9 R9 K' Q" H
  38. libraryname = path_to_libsqlmy_libary
    * D# Z: R8 E% N
  39. 积极= 1 * W% p! X" o' V% e% m' \7 E& [
  40. ---削减这里---
    ' ]5 T2 M8 y- F1 V$ b+ |: h
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    / ~9 x" [, o" w( F% X" v0 o
  42. ---例如---
    8 u/ N# k+ }1 K/ U! N; v
  43. [ dbexpress ]
    + |0 s$ b# |( Q% }5 _4 `. G) o% {. Z
  44. sqldir = mysql_sql ; n1 {& c& a+ i7 d0 {* T$ o8 Z7 F
  45. drivername = MySQL中
    4 O; M6 E! h6 m
  46. 数据库=测试9 }. |( C6 {5 H. A( R' m: q
  47. 主机=本地主机) o- ~, Z/ Y3 X
  48. user_name = testuser 9 }) r1 R" v8 M
  49. 密码= my_password
    ; d! U& }: e! H( Q6 O2 }
  50. getdriverfunc = getsqldrivermysql ' R  g& I, U) P" m( @" w
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ' P) p/ p) G$ n
  52. libraryname =. / libsqlmy.so - w: y& V/ S4 m
  53. 积极= 1 # I* w5 i, s8 S( [' \% D4 j- C
  54. ---例如---
    - k! J0 n8 b: `6 `+ f  n

  55. # w+ S" h) r$ w3 x. V# r
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ; S0 n( @% \9 ^7 B- i
  57. ---例如---
    : k. k" h6 {4 d( R) ?: W
  58. [ dbexpress ]
    # P) F* ]: N6 s! L
  59. sqldir = mysql_sql / `8 `- J  Z! t* |1 _- t% l. ?2 ~
  60. drivername = MySQL中
    & Y$ u8 o6 q( w" R+ {
  61. 数据库=测试" D% K8 |- B1 t- {( _: {! ?3 F5 S
  62. 主机= 127.0.0.1
    : L- A( a' }  l/ m" u! s
  63. user_name = testuser ( {# O+ z- y$ f/ W" s
  64. 密码= my_password
    ! ?# B' J! @& w$ J0 v
  65. getdriverfunc = getsqldrivermysql $ S/ X1 C9 |9 h6 U- r' ?4 T
  66. vendorlib = libmysql.dll在! d  m5 u3 G1 ~) W# `
  67. libraryname = dbexpmysql.dll ! n4 f$ s6 c; [1 @( H; {9 U
  68. 积极= 1
    , ]' k) d) _: s" \" |( Q$ D+ P/ r* _
  69. ---例如----
    % E7 q' g2 }- m
  70. -写在0 2.03.04由p wk.linuxfan
    # n% E6 g- ?5 D
复制代码
发表于 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 words6 y# C5 q" F: ]5 n& e
: W* F: U& [4 N# X+ V* l" |
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-5 07:34 , Processed in 0.101848 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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