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

3036 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ) A  S8 i4 F- Q' T( j
# k% c5 R: U& v8 M, G: n$ G+ Y" ^- f

  1. , [3 E5 ]+ P% \* B
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######) i2 ?( d4 E" d% `

  3. ! e" F  g' f. m7 B1 S. M9 M/ V
  4. ### What we need ###  J# ~0 n- B& ^) W6 V6 a  E" S
  5. Naturally, we will need a MySQL server to store the data for us, this document
    4 J" p& G7 t' Q8 w% ^7 k
  6. will not explain how this can be done - there are documents out there for the
    ( r( {! _, D! t  C
  7. interested. The requirements include a (empty) database for TeamSpeak to use% f3 \; Z! o+ t3 `$ X, h. X6 k: e3 J
  8. and a user account (username + password) that has the permissions to do stuff
    4 B9 J2 i/ v* u! {$ V
  9. with the database. Additionally, you will need a vendor library installed on the
    1 `2 b0 ?1 L9 r& e, t$ u- r. k
  10. local machine, this came with my MySQL install.
    ' ?/ \7 N1 a1 [6 z9 m4 A$ L% E
  11. These instructions will not tell you how you might transfer your data from the3 B$ O3 g4 y2 _8 A0 d  X# A0 k
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL/ X" w' \4 Z! e/ [
  13. database.
    ! \9 y  V1 R" M. y
  14. Some users have reported ways to import a SQLite database into MySQL, but at* o) D+ X+ g/ |5 }' \  y2 g
  15. the time of writing, there are still too many issues - check the current status
    7 i3 l: A9 [4 G0 x. A& X6 Z
  16. in the TeamSpeak forums if you are interested.
    * S" ]# {7 Y- W: c: w2 t6 i
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from! k. j% Y! i# E- y2 _
  18. Borland was used. This driver can only interface with the client library that 5 c4 D5 l' a) ^
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this! \  ?3 n* G) Y3 h. l
  20. client library - basically all you have to do is to use a 3.x client library as / t5 K( X  c* Y
  21. "VendorLib" and a 4.x database to connect to.
    ; q/ h. Z- `! w* A% a
  22. If you need more info about dbExpress, you can contact Borland.
    & A# Y. _5 V. B7 W1 D

  23. # u- _/ m" j$ ^" h4 P. _* {
  24. ### Doing the work ###0 G* h3 x1 y1 y2 @8 i: V) _2 ~& W
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    6 I7 T0 Q. ]( c% F
  26. the perquisites right, just open your server.ini file, and add this section at
    / e( e! a7 d6 h
  27. the end:
    9 ~8 d9 H) ]5 ~+ r9 a
  28. ---cut here---
    & N; i% j+ x+ o7 y- K# R& s
  29. [DBEXPRESS]
    4 R  }+ j2 e+ ?( ], a& ~
  30. sqldir=mysql_sql
      P  k3 p. {( Y
  31. Drivername=mysql
    & k! W5 C7 }7 u: h
  32. Database=Your_Database_Name_Here/ m+ D+ p, z/ t- b% I! g
  33. Hostname=The_PC_the_MySQL-Server_is_on7 b' T! _6 ~* `! W! `& ?
  34. User_name=User_name_on_the_MySQL-Server4 _- r$ z- E. y7 l
  35. Password=Password_to_go_with_above_user_name& ^' e, R1 |6 ?; D9 H, u9 U
  36. GetDriverFunc=getSQLDriverMYSQL- K: g; s% [/ V3 @' R0 `* Y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    . i5 {6 o3 p. G& f- t
  38. LibraryName=path_to_libsqlmy_libary
    - d) _- t! M4 @" X: F  `1 N
  39. Active=1
    6 t, U! o, W; P: J% @" H
  40. ---cut here---
    & t/ m$ i; r- p
  41. In my environment (a linux box with a MySQL server running locally) I have:: `) j4 [$ @$ |2 p  m+ a: R
  42. ---example---# E2 r4 ~# @5 F+ t1 x5 d
  43. [DBEXPRESS]3 a$ F+ k; t' M
  44. sqldir=mysql_sql! {7 a9 Q* ^4 H6 z; l1 X
  45. Drivername=mysql. |3 F# h/ m) k. I( |) n" r( g$ m
  46. Database=test
    0 X, f# ^! K0 y, q' u! `& S
  47. Hostname=localhost
    # R7 c! g" H- A6 _0 _7 J; g+ ?& c
  48. User_name=testuser5 j) p) v  O* C5 Y6 a  n1 D
  49. Password=my_password
    % e' w; l- D* `3 [1 Y# F  @
  50. GetDriverFunc=getSQLDriverMYSQL2 ~) X8 W8 D; k4 z/ V
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    0 o9 X3 }, R1 O' K+ G8 N. U, x
  52. LibraryName=./libsqlmy.so% l' g6 b0 g( A( f
  53. Active=1
    2 `: |! p* C# k- z& H) g
  54. ---example---$ n& Z1 u+ O; S3 T8 `; x

  55. & j9 r0 d( E* j3 d3 n
  56. On a windows box, also running the MySQL server locally, it would be:7 C& F/ a' i+ N, c& k
  57. ---example---
    6 `4 h: y8 V' s! m4 ?3 s* T
  58. [DBEXPRESS]
    5 W( P& h8 ]. g7 s  _8 j
  59. sqldir=mysql_sql
    & Y0 r0 b- k. G; @8 S* C
  60. Drivername=mysql7 w, v! o& D/ z) o% G4 L
  61. Database=test+ D* W- O6 R& }  J8 s9 Y; M/ I1 P
  62. Hostname=127.0.0.13 Y1 _. O  C1 _6 q6 W; R3 d
  63. User_name=testuser5 B6 ]6 Z! z9 K% r1 n) w
  64. Password=my_password
    & \) P# \2 Z" U3 `7 Y" \& }
  65. GetDriverFunc=getSQLDriverMYSQL
    . q' `; O" X  J/ O$ O4 n, K+ l0 O5 F
  66. VendorLib=libmysql.dll6 ^$ c, g& J) {6 H8 l" B' L) a1 K" A
  67. LibraryName=dbexpmysql.dll: Z6 q" |, C# v2 R9 {3 Z- L
  68. Active=1
    $ g  {; E+ {4 ]: {9 n
  69. ---example----
    , \' W* P$ m* |) ~( }( ~) m- Q
  70. - written 02.03.04 by pwk.linuxfan
    7 u  u3 A. j7 x/ Y* k& o
  71. 5 N) z# `8 b0 b9 p: T8 s! E$ w
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
7 a& C0 d- Y. B" P

  1. 7 ]) R* K' N- X4 \
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    4 W! `' l; F( v& x
  3. ) X, R. L$ n. @. I
  4. # # #我们所需要# # # " {% I* v- F- _) A3 c" }
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件8 k4 `: [. f3 d( d  y0 H" j
  6. 不会解释如何做到这一点-也有文件存在,为
    % ?/ R' z, s) ]" O: }
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ! V' r, e  l/ J! ^
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西) Y8 }% ^% U3 e( J4 O' a' a2 p' d
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 f" ^" {0 F# z% k
  10. 本地机器,这是我的MySQL安装。
    , ~$ u5 P; w2 W. T# o9 u
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从$ N, k9 I, C& [* x
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    - |& g- v' O8 k) w0 ]: C
  13. 数据库。
    ' x7 Y7 p. t; K7 V$ O& T
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在8 D8 H, A; M  B6 H
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ; ?, G0 }6 O5 n7 n# `' v9 v2 \) _6 ?
  16. 在teamspeak论坛,如果你有兴趣。
      k3 X" R3 ~% C0 V
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机/ F3 D( c6 m+ o3 \* o9 J, H5 ?
  18. Borland公司使用。这个司机只能界面与客户端库& [/ C1 z" I* n: J5 o; v2 @
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    * M/ x6 |6 K" @
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    6 {  k) C4 [) f% k
  21. " vendorlib " ,并解数据库连接。 , c9 u7 d% Q" f8 }; U" a
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! D9 u, \. k6 Y- e% S4 ]

  23. - F! H, R+ E1 B: @- j* n. b
  24. # # #做好工作# # #
    1 y# {7 _, o6 f- h2 f$ w7 [
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    " i& d& w; s: x4 ?! D
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
      j9 C3 R# J5 c( T- Q
  27. 结束: * C, g% W! V6 J' d
  28. ---削减这里--- , m6 C& d5 Z3 W% E$ J0 P( q
  29. [ dbexpress ] . u' `% w" t/ q3 d$ G! t4 `
  30. sqldir = mysql_sql 0 K% p; }0 j- n+ \3 I
  31. drivername = MySQL中
    + U' P* w; h6 w# L9 E1 O/ y! W
  32. 数据库= your_database_name_here
    / J1 \. K2 T5 Y2 p" e4 c% O" P
  33. 主机= the_pc_the_mysql - server_is_on 1 C7 W+ G) r6 p9 V# g% E7 z
  34. user_name = user_name_on_the_mysql服务器+ l2 N7 X- l1 X* V# O4 D
  35. 密码= password_to_go_with_above_user_name
    , I2 W4 k) S# e7 h1 ~6 Y
  36. getdriverfunc = getsqldrivermysql : U, E; `9 j' B* r9 d! M' z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib : m' B0 e- ]" f- \# b, p3 I$ O
  38. libraryname = path_to_libsqlmy_libary
    7 \; d3 V; a: e# E' L3 {
  39. 积极= 1 7 m! X* V+ M( c6 U
  40. ---削减这里---
    % t2 ?. e3 w9 ~) w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: & n% ^6 I' F/ {8 S/ T# n# \
  42. ---例如--- 6 z. d, w8 A: R1 y" S, |
  43. [ dbexpress ] " f+ C1 S4 q& R: I+ U6 G9 L, f
  44. sqldir = mysql_sql
    4 j1 }# p  X) C9 P; X, T( a
  45. drivername = MySQL中! w& |5 e. J; r( E8 E
  46. 数据库=测试
    * n; S' r/ Z6 L! M
  47. 主机=本地主机% W; h1 y! w. V/ R+ \: b" `; g4 e
  48. user_name = testuser
    . b, _7 g: P7 A  l
  49. 密码= my_password
    " \9 }0 o" |2 x
  50. getdriverfunc = getsqldrivermysql ) b# |1 R! _' l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 4 h6 a. T7 S+ L$ o4 t3 T: ?! O
  52. libraryname =. / libsqlmy.so
    5 Y, ?/ f6 t2 d) m6 g* o: t
  53. 积极= 1
    9 e+ M# s) V" @( A6 J
  54. ---例如--- + v  N$ n0 d5 ^+ p: a+ z

  55. 2 p6 I  v, X- m8 P# u% }; i* u
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    6 b) |. {% Z8 F0 W2 S9 ]2 m
  57. ---例如---
      O0 H6 P; P$ [/ [
  58. [ dbexpress ]
    ' ?( H6 M/ {* n" W; J( |$ u
  59. sqldir = mysql_sql & `- U. p- K7 {4 }( `. p- h9 l0 l- s
  60. drivername = MySQL中: j' J* e7 o) m4 e! r
  61. 数据库=测试( N1 M+ V( O8 O6 R" c1 y, D1 m/ p6 s
  62. 主机= 127.0.0.1 . Q) t2 o4 Q8 M' `& j, K3 N
  63. user_name = testuser
    8 |7 a, I3 H" F, A
  64. 密码= my_password # w7 L8 O. w: m% ?
  65. getdriverfunc = getsqldrivermysql . {6 l- l& s) k  o8 ^
  66. vendorlib = libmysql.dll在
    ; V8 F. T1 F7 B
  67. libraryname = dbexpmysql.dll
    8 R. Z8 |. T9 @( A
  68. 积极= 1
    " _2 B% M' j0 A
  69. ---例如----
    5 A3 t, y$ L8 u% s* H: ~- u
  70. -写在0 2.03.04由p wk.linuxfan
    0 F3 X& M$ t' ^' `0 z: h
复制代码
发表于 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
! \8 @8 Z9 x5 d, ~" B  H% N0 D9 K# j
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-18 08:32 , Processed in 0.121374 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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