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

2683 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 4 y- o: }/ J1 G

( d8 ~! U  K! O6 ?4 ^. m
  1. 0 T1 q0 C* B" ^: C9 G- v: G) t9 n
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ' [$ ~; W+ x: U+ H! s
  3. 9 p& y) [+ _& B% J6 b
  4. ### What we need ###
    / Q! t6 B! G8 ^* H. g
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ! h) G  e: u8 H
  6. will not explain how this can be done - there are documents out there for the
    . h+ i8 f1 P! T  j5 q9 j6 I1 C2 Z; c0 b
  7. interested. The requirements include a (empty) database for TeamSpeak to use, i+ A& T- R1 c  o  x2 C2 S
  8. and a user account (username + password) that has the permissions to do stuff
    ( w' E" C6 ?5 x1 _0 k3 D) U
  9. with the database. Additionally, you will need a vendor library installed on the" Y9 h5 S; C' `4 G9 U
  10. local machine, this came with my MySQL install.
    8 m- _, Y2 x9 C1 C5 h
  11. These instructions will not tell you how you might transfer your data from the. p1 w3 ]" A% D; y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " q9 q: k) w2 [
  13. database.* g3 U2 Z8 Z3 Y  ?* J5 s
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    7 k5 ?' i* b- D) Z" C
  15. the time of writing, there are still too many issues - check the current status# G$ |7 ?# Z# T1 j
  16. in the TeamSpeak forums if you are interested.# h' [1 P6 |5 v  j$ O! i1 E2 b
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from$ R; }2 V6 m7 F4 p8 K; L2 q
  18. Borland was used. This driver can only interface with the client library that ) Y' W3 f3 i! K$ S" F
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this+ i7 t  t. x4 A8 P5 i
  20. client library - basically all you have to do is to use a 3.x client library as : I$ \/ O: [: L: n5 F) G2 V: ]9 l* `! F
  21. "VendorLib" and a 4.x database to connect to.
    ( j$ ?1 f1 c$ y
  22. If you need more info about dbExpress, you can contact Borland.. C$ z; {; K3 H6 t7 {0 ^% Y+ P

  23. 2 Y! H! w; |( l7 Y1 u. w9 |+ Y
  24. ### Doing the work ###5 }' Z9 [! T$ P  ]8 @. K/ g. x
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ) A! o9 ~  \+ N. ^8 }7 o/ P" ]% O
  26. the perquisites right, just open your server.ini file, and add this section at
    ! S5 n7 @* j* J% K, m  [2 d
  27. the end:+ W) x0 U$ H$ e3 k
  28. ---cut here---
    3 Z% Q/ ^/ B; Q9 L* t; y
  29. [DBEXPRESS]
    ' G% e( P6 p+ [# z5 |$ }
  30. sqldir=mysql_sql
    5 n' C0 d+ U, [" r
  31. Drivername=mysql2 u2 n$ o. p6 R0 j
  32. Database=Your_Database_Name_Here( ^6 l: R4 m# n4 s, `+ [: Y2 ]2 N
  33. Hostname=The_PC_the_MySQL-Server_is_on
    % \( s) Y, \" s
  34. User_name=User_name_on_the_MySQL-Server
    " f# E' @& V, I) {" c4 Z- S: `
  35. Password=Password_to_go_with_above_user_name
    ; @5 e! [9 c; s) H9 G: Z# Q  i, t
  36. GetDriverFunc=getSQLDriverMYSQL
    ' k( s- U" \* L0 K# Z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ) A' N6 ?# P& {# f# l
  38. LibraryName=path_to_libsqlmy_libary7 ~' o+ s% {6 g: ~5 ^7 |" t
  39. Active=1
      _; K, j5 _; Q+ ?/ b
  40. ---cut here---% @/ X/ G6 _+ b. b
  41. In my environment (a linux box with a MySQL server running locally) I have:
    9 y! a! h4 L( g  Y; k6 @
  42. ---example---
    . V+ t2 O: [2 q) O( L* u
  43. [DBEXPRESS]- B% n* c* _2 r! X0 P
  44. sqldir=mysql_sql! a, C0 h9 K- }) k$ k8 h2 Z
  45. Drivername=mysql
    % Z2 G- `' R) j) z* H5 F
  46. Database=test/ r9 r2 t; _- b% z
  47. Hostname=localhost
    , \/ X' C6 T. K( a
  48. User_name=testuser
    * P- J$ u& v( }8 q% U
  49. Password=my_password+ P) w7 u1 b) L7 e
  50. GetDriverFunc=getSQLDriverMYSQL9 p& e. [$ q2 n& l. y8 C2 p8 g
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0) Y. J2 `5 X! @, ?4 F4 l% Q3 n
  52. LibraryName=./libsqlmy.so
    8 ?! P: q8 ~, x8 a& h9 B3 r
  53. Active=1- E( ^$ j. z6 W; ?: {2 u0 m
  54. ---example---( t* v1 t+ `1 \) p9 p8 S' Z5 Z! K

  55. . m# d4 [- e" X" @+ \
  56. On a windows box, also running the MySQL server locally, it would be:
    5 ]  {8 k  R4 w7 x
  57. ---example---
    / }/ y: G- K9 I
  58. [DBEXPRESS]/ {! D0 K4 [- l0 {$ Q
  59. sqldir=mysql_sql
    3 p0 \) @2 Q/ P- P# U6 {
  60. Drivername=mysql5 B) J* x  F* M! G% K, @+ e. _
  61. Database=test% J0 `' x5 q5 c; v" t' d3 t' M
  62. Hostname=127.0.0.1
    2 R1 }3 D3 e3 R
  63. User_name=testuser/ H, O) b& u0 I, {2 q+ @. d8 c
  64. Password=my_password  [6 s( X0 \) b, [7 [$ q
  65. GetDriverFunc=getSQLDriverMYSQL
    4 U+ ^. q8 X- |7 S6 f
  66. VendorLib=libmysql.dll
    9 I. [; v: N: t3 v
  67. LibraryName=dbexpmysql.dll0 A/ d' W- u  Z1 I6 _/ Z- P
  68. Active=1
    # _( k# K# j5 F. D! y
  69. ---example----
    ! b8 _7 j2 G( Q4 i' h
  70. - written 02.03.04 by pwk.linuxfan
    7 ?/ E, o0 q/ z4 x+ @% r

  71. 9 N) f8 x7 {4 c6 \! O
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看- b! B% x: m: K; Q- U$ g# U) I

  1. 6 s: e; c# D/ s: S" L) \( L4 ^7 j" ?7 \
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    , I5 t+ c7 s' M2 e4 j- Q% t

  3. " T! L+ R2 R. s+ t$ f* f5 e& e0 q
  4. # # #我们所需要# # # " ?3 n9 X" l* }
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    5 Y( r: A9 I" G" W4 y/ F+ {
  6. 不会解释如何做到这一点-也有文件存在,为
    , C) r3 ~+ L( C9 u8 I
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用3 h/ i% \5 S+ C: @$ }; ?9 S7 _- O
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西4 H3 g8 K9 c# d+ P. t4 a# `
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    / y: |! Q  ]3 M( p7 A! I
  10. 本地机器,这是我的MySQL安装。
    ; F: r' r! c4 A
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从) n( V* w# I# P+ q0 Q+ a
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    2 W) Q: ^# J! ~2 [) J
  13. 数据库。
    1 a$ j* [' v, [( H) b
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    & A6 T- Q& u) {/ C( Q3 \
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    6 S9 j$ s8 N. j- o7 y
  16. 在teamspeak论坛,如果你有兴趣。 * H& m2 p' o4 u0 b+ V" h
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机* b+ v  g' f: Z* o) b  G( n
  18. Borland公司使用。这个司机只能界面与客户端库5 q- Q9 v7 j! G1 @; R
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    * x/ _! o8 z( l" _- P0 x/ [
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为1 |  R0 j% v0 p- \6 a: B9 r0 r
  21. " vendorlib " ,并解数据库连接。
    $ V  b/ Q& V. \" z0 c3 e
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 9 C* s' Q9 W# U) [2 W$ D% \; `

  23. $ C% l* m* D" N' d6 S0 Y. w$ K
  24. # # #做好工作# # #
    , F0 S2 L! e) e" u* n* `
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ' f+ E6 g- R/ Z# I' W4 e$ z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在# M- ?5 E9 c+ r  {  x% Y
  27. 结束:
    0 e+ o  p4 K2 O* C) {5 p" H
  28. ---削减这里---
    9 {/ Q; c9 w6 l* `  c0 ~( d9 G; @! w. @
  29. [ dbexpress ] 4 ^% |$ L7 t- e2 M  C  F
  30. sqldir = mysql_sql
    9 q% v9 a# E1 @: {% r  ?
  31. drivername = MySQL中4 p9 [* k" f3 g
  32. 数据库= your_database_name_here
    1 B2 O- |% n4 ]% W
  33. 主机= the_pc_the_mysql - server_is_on
    2 f9 T: f$ l/ h6 {& i3 ^& W% p
  34. user_name = user_name_on_the_mysql服务器
    : ^" L! Q6 |4 ~2 Z+ n  M) g
  35. 密码= password_to_go_with_above_user_name
    1 U5 y' a8 E9 w1 u, e
  36. getdriverfunc = getsqldrivermysql
    6 `1 v$ f2 ^; y5 f  {
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib * w) x" x% c# y7 b
  38. libraryname = path_to_libsqlmy_libary
    % u: a( B2 ~& P* P- {2 j
  39. 积极= 1
    ) N9 \5 j& j* w$ q/ E; F/ u0 n
  40. ---削减这里---
    % @0 A. A3 \2 Z9 \6 B
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    1 Q4 K5 F1 w  |; c6 l
  42. ---例如--- 3 L2 ?3 F. w! D, a# A' _
  43. [ dbexpress ] 0 G  `: [. }, h& i  W+ ], q
  44. sqldir = mysql_sql
    9 L1 I: [. v3 W
  45. drivername = MySQL中7 N% |1 }$ H' }9 l+ S0 S4 t
  46. 数据库=测试
    7 X  C* F/ f' l' D* E$ \
  47. 主机=本地主机
    . D% B  F! |8 ~# }. n% k
  48. user_name = testuser
    / ?% [: A, R. H4 t1 {  g* U5 L
  49. 密码= my_password 9 ]6 S' |+ w' P3 d
  50. getdriverfunc = getsqldrivermysql
    1 Y! Q1 [4 _  d( a% ^
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ) C* V( b2 v% {% O3 `, ?
  52. libraryname =. / libsqlmy.so
    % V- S# u& L6 G* {
  53. 积极= 1 9 ~- d& L" o% X8 i* h% c" l
  54. ---例如--- ) |. N  a2 G) k. @8 K8 y# F1 N
  55. # J4 i8 @  S( }7 w5 x& c
  56. 对Windows中,也运行MySQL服务器本地的,那就是: # j* J* v- x. U$ b9 {% M; s
  57. ---例如---
    9 h6 Y: P6 b% w2 f$ O7 w7 ?
  58. [ dbexpress ]
    8 q- z8 Z' a5 U2 G
  59. sqldir = mysql_sql 8 q3 X* R4 j& G" j
  60. drivername = MySQL中& f/ l1 N* \+ q- f1 Y% }) J& s9 \0 p
  61. 数据库=测试: L/ L  H3 q' n- M& j  V
  62. 主机= 127.0.0.1
    ' E% q8 D0 T6 ~! @) j$ A& ]* \( ~
  63. user_name = testuser $ x' X* I7 g! w5 O; b
  64. 密码= my_password 6 @4 _9 s2 y  y5 q+ @' p6 _" M1 v. K
  65. getdriverfunc = getsqldrivermysql ) n  k5 u- h8 L( g( [9 R# |. A
  66. vendorlib = libmysql.dll在% D9 Q' P3 B& @) x4 @: @
  67. libraryname = dbexpmysql.dll
    ; C  P9 }: q: @4 @7 ?' F
  68. 积极= 1
    " g6 p8 J' [4 L+ S6 [$ Z- F
  69. ---例如---- 5 \$ r2 P. {# S: Q* i. b8 p
  70. -写在0 2.03.04由p wk.linuxfan
    8 |7 p4 y! r+ o
复制代码
发表于 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 words3 Y% K, ?9 Y: O& W2 _4 m

8 E6 P; ]8 @8 \0 \7 o! Nbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-30 16:57 , Processed in 0.098721 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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