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

2504 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan % n4 {+ |# f4 ]6 S8 s$ l
& _& ^7 ?  l" E5 j0 D
  1.   ]+ G5 t- n4 E' B% K% g+ }
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ) y& Q  J7 z$ A5 [/ E

  3. 7 ^' ^8 T3 r8 d% @% ^% e! ~# N1 }
  4. ### What we need ###
    # I4 g, x/ d# N9 t
  5. Naturally, we will need a MySQL server to store the data for us, this document
    + _6 [- d% b3 N7 y: g0 [8 X& Q
  6. will not explain how this can be done - there are documents out there for the , W* B3 B5 ~4 _9 h
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    * i8 p' m- I/ `' ~7 A( X$ j
  8. and a user account (username + password) that has the permissions to do stuff1 S- r1 J6 ?- ?
  9. with the database. Additionally, you will need a vendor library installed on the
    ! p9 a5 \/ \0 {" x) Q
  10. local machine, this came with my MySQL install.( v( P( a5 ], J8 ?6 X
  11. These instructions will not tell you how you might transfer your data from the
    / z; d/ E/ h/ i, W. k6 P, K2 _
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! X$ J& S# r+ U3 W
  13. database.
    4 H6 J( N8 J4 K( \; E
  14. Some users have reported ways to import a SQLite database into MySQL, but at; {; q. Z! Z) I0 o
  15. the time of writing, there are still too many issues - check the current status
    . C% U* T# X$ \1 j& ^
  16. in the TeamSpeak forums if you are interested." m. T' {& J5 V
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from/ W" [# x! @# Q8 v6 j0 J4 ^
  18. Borland was used. This driver can only interface with the client library that ( b+ I0 r8 l4 s2 n
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    , R( W' e! M; f6 K, n+ ~* a
  20. client library - basically all you have to do is to use a 3.x client library as * i$ c( H/ h3 y% h; s
  21. "VendorLib" and a 4.x database to connect to.) G5 }" S  }5 u- o
  22. If you need more info about dbExpress, you can contact Borland.' Q* s; P* y2 w, C3 K

  23. 9 g1 @! T6 ], H! t8 ~4 c
  24. ### Doing the work ###% V5 q3 e: O/ G! E) p3 [
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    5 y6 [% U8 X2 V7 Y& A
  26. the perquisites right, just open your server.ini file, and add this section at5 t! v* E) E; D$ Z& K( N
  27. the end:
    & a5 _" P) a1 c1 r# F2 ]1 K' W, B
  28. ---cut here---
    3 y6 O. i7 e# w
  29. [DBEXPRESS]9 v: \4 r0 I4 o* \7 d7 v5 ~
  30. sqldir=mysql_sql* w" q: _+ J$ ^( m4 l. w, o4 n
  31. Drivername=mysql
    0 @+ O: S* W& h6 U
  32. Database=Your_Database_Name_Here) z1 b: _8 L: A& N; e% v$ o4 R
  33. Hostname=The_PC_the_MySQL-Server_is_on0 Q7 b4 G5 L( J1 F
  34. User_name=User_name_on_the_MySQL-Server$ j. c% K& j4 O
  35. Password=Password_to_go_with_above_user_name$ l$ K& u. ~& y- Y% n9 H6 o0 ?
  36. GetDriverFunc=getSQLDriverMYSQL
    ) v: [, S$ q- b+ K8 |; m$ L
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    . ^  E+ \4 I* a( _6 K* d" N' L
  38. LibraryName=path_to_libsqlmy_libary/ e9 M4 t% @0 h: p, j8 X
  39. Active=1
    . }1 N& b2 H; y- H2 u
  40. ---cut here---! _) H; @& ]$ r7 E4 d, o
  41. In my environment (a linux box with a MySQL server running locally) I have:
    : x0 [' j# b1 |9 d* o) `1 S
  42. ---example---1 f# N  d  O6 z$ I8 E7 u/ T  V
  43. [DBEXPRESS]7 d0 k. z4 a' [( E3 {+ M6 c
  44. sqldir=mysql_sql! z9 B, {/ C7 m2 w% ^; W
  45. Drivername=mysql: m( ^( d1 y- ]- \( J# P& Y
  46. Database=test
    & B# `( J; a+ W; h% [
  47. Hostname=localhost% |9 p# I, D$ s0 _
  48. User_name=testuser
    + z& R- w$ Q' ]; b
  49. Password=my_password: ?, y; T7 z/ J
  50. GetDriverFunc=getSQLDriverMYSQL
    # O6 G( v" O8 [/ ]. x9 c
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    # K% G+ u: [' ?. R& e
  52. LibraryName=./libsqlmy.so# W# q. [& a4 h+ j
  53. Active=1. i$ g5 N9 N% }$ U- q
  54. ---example---' k3 I9 C/ C1 f

  55. % k9 O3 d1 F3 R
  56. On a windows box, also running the MySQL server locally, it would be:# s. A2 }" |0 @! i
  57. ---example---5 }. ^+ F  }. a2 G5 [% e% \
  58. [DBEXPRESS]4 K( Y, g+ u. x# x$ ~8 I
  59. sqldir=mysql_sql
    ( f! j/ e6 J! W
  60. Drivername=mysql
    ( K) k: |3 a% d
  61. Database=test6 B2 y: S% N) Y: o" x
  62. Hostname=127.0.0.1; h' k9 ?" c& P! L9 i
  63. User_name=testuser7 H- v. ?) D1 {: V5 Q! z9 W! B+ e
  64. Password=my_password0 U8 h* V3 M. t5 ?: [# l( H. F2 Y$ @. a
  65. GetDriverFunc=getSQLDriverMYSQL
    . s& E+ F# c- k5 O- K9 n+ M. O
  66. VendorLib=libmysql.dll# v8 O& _1 S5 ?8 R" \- u
  67. LibraryName=dbexpmysql.dll
    , N# J# M% y2 [2 Y( w( H+ c
  68. Active=1: f/ d% I. i3 ^$ N$ h; l1 i
  69. ---example----
    . y$ H7 ?# K  w1 l
  70. - written 02.03.04 by pwk.linuxfan1 i! _. v& j" A1 g

  71. . i" \' y+ @% G' h9 b+ p
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看. }  W3 r9 X3 `! \
  1. ( c: F. a5 U  g- I$ e+ Y3 B
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    8 Y; H$ e# `1 `9 T! k' {
  3. " ~& V: h8 D  E. j
  4. # # #我们所需要# # # 9 g& F% Z- a6 V/ Q5 N4 P5 @
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ) j- S( U; v4 V* j0 F
  6. 不会解释如何做到这一点-也有文件存在,为6 D' B$ Y: @- H2 W
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ) O- {+ |% v* \4 w% h
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西+ |  B7 W  Z2 ]. z  O" ]% L  N
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    8 u( H# R; ]) H" H( W! U9 ~
  10. 本地机器,这是我的MySQL安装。 & j% M2 L# [! |" l& w( P1 W. M
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    7 z- e- z) I. a  s2 F
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL " j! Q" ~2 n, Z: `0 t
  13. 数据库。
    * N1 G+ ^! N+ P; H& O
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在- \( w4 P9 a/ B. x6 a
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    $ Z$ k$ _& s6 W/ s: E  \, b! z0 T
  16. 在teamspeak论坛,如果你有兴趣。 ) ^4 ^$ ?* m* U
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ' m; S3 s! @, r5 f5 n: t4 u' I$ a
  18. Borland公司使用。这个司机只能界面与客户端库
    & O4 Z! C& h4 x- e8 A( s6 J& w
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    9 J1 V- ^% i4 T+ [
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    : {# T6 A$ f. l
  21. " vendorlib " ,并解数据库连接。
    2 ], @  t, t8 K1 g- A  l  B
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    " v. \& V0 I6 a( F5 ?( ?% V$ Q
  23. . h$ V  E5 y. |
  24. # # #做好工作# # # - w* \- D8 B8 n) c
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都% Z# W7 x2 A) S0 @) r6 L, C6 s
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在0 O% [, _! a- B/ N( g1 M' B3 s
  27. 结束:
    * o  E! a  Z# M: c1 u- C  d
  28. ---削减这里---   S/ V; _) Y% e  D
  29. [ dbexpress ]
    / X0 H9 \; m! l" c9 x3 t: C
  30. sqldir = mysql_sql
    $ y' r8 A1 v4 N* ?' T) D4 D% \, B6 y
  31. drivername = MySQL中9 A6 H9 Y( m; T1 P
  32. 数据库= your_database_name_here " L' y  ?; L3 b; X
  33. 主机= the_pc_the_mysql - server_is_on # M( N; j% y$ ?9 Q' q
  34. user_name = user_name_on_the_mysql服务器
    * ~* H5 O- o6 T, f' `
  35. 密码= password_to_go_with_above_user_name
    8 n7 H/ x7 j) |+ Y3 m4 K( ]" r$ r
  36. getdriverfunc = getsqldrivermysql
    + w/ M, u0 c* x( T
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib $ [/ @! z) l) u, J# z: y  W& b9 e
  38. libraryname = path_to_libsqlmy_libary
    & t  i, g1 W4 m3 U- p/ e2 M
  39. 积极= 1 8 A0 d% w2 L/ J/ Y
  40. ---削减这里---
    ' U" B+ D$ |: P& O
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 0 z! l$ W6 ^! O# u
  42. ---例如---
    5 H3 G: p1 a( A3 W
  43. [ dbexpress ] 7 t8 L0 j$ m. x* o0 _* R
  44. sqldir = mysql_sql # }" @' ~0 q' n$ t# T9 V
  45. drivername = MySQL中& v7 q1 w, J/ K, z/ e! v& {% V
  46. 数据库=测试
    8 }% I! n. i( R% i9 l, M
  47. 主机=本地主机
    : X* N! B) a2 |3 T
  48. user_name = testuser / F. k0 h+ j" ^- D9 V9 [
  49. 密码= my_password
    - l4 x4 l1 z( h/ U; I
  50. getdriverfunc = getsqldrivermysql ' Y, v! e+ H: s2 `' j  ^& n, j* M# U
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
      U% Z$ `" S% E8 s9 i# p
  52. libraryname =. / libsqlmy.so . U$ I$ ?- j1 S/ X/ k
  53. 积极= 1
    ' X" o2 G7 V2 d3 f$ ]7 n
  54. ---例如--- ' ?0 Q9 ]& c" }. B% \

  55. # ]+ w( T2 [* I. M) j* w
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 7 b, z, |# K3 S- w7 `' E$ f0 H
  57. ---例如--- 5 E3 ]5 `4 r+ d
  58. [ dbexpress ] 0 B3 d3 I- K- c# c
  59. sqldir = mysql_sql
    % E9 d/ `1 j0 g# Y- T
  60. drivername = MySQL中
    / O0 t4 q* E; `- c
  61. 数据库=测试% _  v3 J: G" Y1 w3 K
  62. 主机= 127.0.0.1
    ( }1 j: d5 f, u8 G6 Y
  63. user_name = testuser ' l! |3 g0 A) ~9 i# Q9 k
  64. 密码= my_password + L# [# U" O; B" s% {
  65. getdriverfunc = getsqldrivermysql 0 H. o' ]0 m7 h3 _/ A3 A+ j  C7 a
  66. vendorlib = libmysql.dll在
    5 J& X! i3 r* u# m
  67. libraryname = dbexpmysql.dll
    5 H5 w& G( D9 a3 g* ~# h
  68. 积极= 1
    ! t  \! u! ~0 z6 h3 l4 r' O' c
  69. ---例如---- . k; D; M0 n- y5 C, E6 r& k
  70. -写在0 2.03.04由p wk.linuxfan  W" J4 f) `2 ]" I& L. G" [# _& \" t
复制代码
发表于 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. }+ {- ~" f! v& ?5 S

& w5 U& l! x% n! k+ g6 ?% @: Pbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-11 16:05 , Processed in 0.103020 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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