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

3002 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ' z/ L5 a3 g* Y
' _+ @6 ~( `$ b5 a) g/ Z$ O

  1. 0 c0 C4 D6 N* j# t; k8 q/ `/ m
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######, @, K7 _9 O" r8 ?* E
  3. 6 S3 ]% T8 V2 W8 l
  4. ### What we need ###9 r' K: d) p! S" m' o0 }- C
  5. Naturally, we will need a MySQL server to store the data for us, this document 9 {5 k4 h' D* A2 L2 K/ M) _
  6. will not explain how this can be done - there are documents out there for the : N3 @% B; ]) z
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    $ K2 L( _$ H2 Y" T$ f9 f1 h
  8. and a user account (username + password) that has the permissions to do stuff
    ! \- F/ }! K1 ^6 U
  9. with the database. Additionally, you will need a vendor library installed on the
    ! k9 J% ]1 g) M  k- Z
  10. local machine, this came with my MySQL install.
    : C1 C- N. ^: n1 p) v2 Z
  11. These instructions will not tell you how you might transfer your data from the% H- d( s) B. U4 h  E5 J
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL: S9 h4 ^5 J$ M1 L5 t' m
  13. database.% {, ?5 u9 A6 k3 X, B8 |
  14. Some users have reported ways to import a SQLite database into MySQL, but at
      s" k% m* C& p( I$ f& B
  15. the time of writing, there are still too many issues - check the current status' U' Q6 c1 Z! k
  16. in the TeamSpeak forums if you are interested.( T* G8 k! N7 n; {
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from6 F  Y' b# {( X. A
  18. Borland was used. This driver can only interface with the client library that 9 v1 P9 T  x7 ~- h
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ; S- o& \: Z) b' r
  20. client library - basically all you have to do is to use a 3.x client library as
    0 c2 D) t7 Z$ v  c6 R! F% m8 P- r
  21. "VendorLib" and a 4.x database to connect to.
    # R) V* ^1 s; {! c5 u5 `% q
  22. If you need more info about dbExpress, you can contact Borland.
    & e6 {$ n- J$ o

  23. $ }/ `3 B1 W  {0 j/ N$ l
  24. ### Doing the work ###& M0 T4 S( b$ s$ T) {3 a- E4 n# B: \
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all- w) x% _& _8 a5 v/ \; [
  26. the perquisites right, just open your server.ini file, and add this section at
    4 \4 @$ S8 L7 H) _& c# |
  27. the end:! I0 C; M* `; z. k
  28. ---cut here---; P0 V& }2 F3 e! z2 U& ?: |8 D
  29. [DBEXPRESS]
    0 t! \! }# r6 `4 N* V) X& C
  30. sqldir=mysql_sql$ v( o3 K5 W/ s3 y
  31. Drivername=mysql
    0 C6 o' w4 F+ f1 @2 k, W1 M1 r
  32. Database=Your_Database_Name_Here" r- o" m7 ~' S9 q/ G
  33. Hostname=The_PC_the_MySQL-Server_is_on( n$ y  x. M- N0 I5 H6 [
  34. User_name=User_name_on_the_MySQL-Server
      h2 A5 @- E+ s5 j  L
  35. Password=Password_to_go_with_above_user_name
    & ^4 H9 D' J$ k$ n0 R: M
  36. GetDriverFunc=getSQLDriverMYSQL/ I* }, T, ?' ]" D9 c. |  I4 ~4 V4 P
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ) N% r% j, @+ P
  38. LibraryName=path_to_libsqlmy_libary  E2 P- S" k2 A" }
  39. Active=1
    $ H5 X( E& y* c" Q2 l0 H
  40. ---cut here---$ C6 V* B% C& [& B2 p
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ' E/ w7 A6 m* h- m/ b+ ]  m+ H; ~: V+ K1 D
  42. ---example---  m: y5 D  p2 M# e' O
  43. [DBEXPRESS]
    # g: W% u9 K. h) H: F
  44. sqldir=mysql_sql
    - l0 D; M0 {# p- Z
  45. Drivername=mysql
    % R4 Y  W$ h$ r
  46. Database=test& Y7 g. z/ a6 w8 Y# W% Z5 `
  47. Hostname=localhost
    3 g) w( H9 v+ ~7 B3 G: [7 E
  48. User_name=testuser
      S& k5 K; \* O6 i; T* R/ z
  49. Password=my_password& F, _# b4 v9 H
  50. GetDriverFunc=getSQLDriverMYSQL) A" |" b1 s; i) W3 e& M/ D
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - ]0 Z0 @# ?' z! `8 E% e) c
  52. LibraryName=./libsqlmy.so& v7 N# G: F. {0 m8 T
  53. Active=1
    + @& ^! X' {- g3 Z6 F, Q7 r( ]+ l
  54. ---example---' `' R5 m2 C/ D4 v; m

  55. : `9 V( M) f7 a- A. B  e$ y
  56. On a windows box, also running the MySQL server locally, it would be:& [; J' ?4 v. ?1 o, Z; Y, e
  57. ---example---
    + s9 ?( v$ L7 v
  58. [DBEXPRESS]
    + q4 V) Q" p$ m$ f# q
  59. sqldir=mysql_sql9 c2 T8 \, A3 k& k  e  s
  60. Drivername=mysql
    . O6 k# u$ j7 `- c' g
  61. Database=test
    1 T. [6 x. N+ `1 l& t  W) q
  62. Hostname=127.0.0.1
    , N6 e& U" I- }, I3 E
  63. User_name=testuser. n% {. i( ?5 U7 n4 E
  64. Password=my_password: T4 \4 \+ u$ @
  65. GetDriverFunc=getSQLDriverMYSQL, I5 f: h8 f* P6 _. w8 Y& p
  66. VendorLib=libmysql.dll7 d/ S- T  \8 M' V$ T! ~, \
  67. LibraryName=dbexpmysql.dll) ?9 g( K5 w. u9 a: H: [! R
  68. Active=1
    8 P7 m0 h% y. i( q& B
  69. ---example----5 O2 n+ U! j. C2 \% Y0 c  S8 i, w
  70. - written 02.03.04 by pwk.linuxfan
    & p5 E' ^5 E4 L. v1 ^

  71. ) B! |& F- Y% U  L/ d9 I
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看. h! M" M4 H/ r0 E6 E
  1. ' P2 C- d8 ~# X3 F8 I1 h# f/ _
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    6 m" V  c0 U) p: ?: C
  3. 3 f6 x/ A; a: M* A9 ?9 n0 }* L
  4. # # #我们所需要# # #
    - V0 B7 y5 j7 O. k4 P: P$ _
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    + A! z( ]& F8 V4 w% l1 v$ \+ K1 U
  6. 不会解释如何做到这一点-也有文件存在,为
    , C- E2 U' @4 {' l- b. N& J
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用2 A! G" K7 Y% ^4 \3 o
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    9 E( }8 e& I4 u% w
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    - I* T9 S, ^8 k/ e' v% ?
  10. 本地机器,这是我的MySQL安装。 5 ^" O5 G  V& X( E
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从0 N) I) t) J& p
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL , f0 a9 M1 H& F- `9 H$ s& _; ]& c
  13. 数据库。 / I5 \0 g/ @% V( A$ Q4 }7 A
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    2 p5 R: j# ]* |5 ^- a
  15. 编写本报告的时候,仍然有太多的问题-检查现状0 W8 c6 H6 E+ k1 b
  16. 在teamspeak论坛,如果你有兴趣。 . W: j% F  ]# m! D7 z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    , z; T  J7 s! Q4 T
  18. Borland公司使用。这个司机只能界面与客户端库& g" e) o7 U% R) v3 _
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ( s  L5 V2 S" L. K& ?
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    9 c9 j; V: {6 H/ v
  21. " vendorlib " ,并解数据库连接。 + G% ^* e/ b) q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 0 t1 T3 L; x) ]3 _0 U/ D

  23. * t, c! M  F  g6 i7 }; g  h
  24. # # #做好工作# # #
    ! E( C2 h3 n4 l5 l5 k6 q; k2 }+ _; d
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都- j4 d9 \: P! a
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在* E* u8 N/ y% l& n
  27. 结束: 7 o0 C, S/ o, {% U
  28. ---削减这里--- " a' ~0 Q4 R0 Z- R6 g2 C& a
  29. [ dbexpress ]
    / {4 m. p& k$ s# v* H) O
  30. sqldir = mysql_sql 4 l' Q8 R& P* T% K  T( V
  31. drivername = MySQL中0 R8 e" F0 {" v- b6 ?% n, `
  32. 数据库= your_database_name_here $ R' x; k0 T5 [( z9 V
  33. 主机= the_pc_the_mysql - server_is_on
    7 [4 H9 \+ t2 n* E' A! _$ u
  34. user_name = user_name_on_the_mysql服务器
    9 i; \  w. G& X) U* N
  35. 密码= password_to_go_with_above_user_name " n8 \( }2 o4 D& g' [) \+ E3 e
  36. getdriverfunc = getsqldrivermysql $ I: ^5 i- G4 s+ o+ e& b& r* C: r
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 4 ]$ \- g1 i7 T- y+ e" u
  38. libraryname = path_to_libsqlmy_libary , j3 G9 Z' }; @& B: Q8 p3 Y
  39. 积极= 1 / A! q! B% I- T4 j- q( d* k7 m" D
  40. ---削减这里---
    % `: U: _, Z+ s. q+ r
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ( m* f7 a1 ?$ t6 E7 h
  42. ---例如---
    4 @( ^8 U" s' L9 P" a: ]& {
  43. [ dbexpress ]
    ' s5 R" p1 b  I
  44. sqldir = mysql_sql
    0 W' d: o/ K! _1 h" j
  45. drivername = MySQL中  Z; v3 Z: q: [
  46. 数据库=测试+ V7 \! \5 a% @, u! Q
  47. 主机=本地主机: C8 K0 Q( f# a5 E8 {) |5 Q
  48. user_name = testuser
    5 ~5 ^1 `4 L9 R6 f* R+ v7 o
  49. 密码= my_password
    , }& n$ c# R+ q1 u# q
  50. getdriverfunc = getsqldrivermysql . B/ J9 d! }+ M
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 / T" L3 [4 B7 B( }$ D" D
  52. libraryname =. / libsqlmy.so
    3 M& c( e$ G2 W5 q, l! R
  53. 积极= 1
    # A" O7 b! f2 \4 Q2 ^6 h' n
  54. ---例如--- ! s  b" P0 s, v

  55. 4 i8 J5 ~. N8 H9 m
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    8 t+ B& a6 r* Y$ W" A* k
  57. ---例如---
    & E2 S8 k+ y7 S
  58. [ dbexpress ] 9 |0 ?5 z( A8 T  ]1 s" q7 _
  59. sqldir = mysql_sql & j- o' m6 f' K7 G8 y1 b. r
  60. drivername = MySQL中9 |: X" L1 S6 c- o
  61. 数据库=测试
    * ]4 c! o- g( z. I; t! _8 _
  62. 主机= 127.0.0.1
    ; L& V* U  o& k( E; q! q5 n. _
  63. user_name = testuser / `, T) H, ^8 B4 L2 x4 M/ O/ g
  64. 密码= my_password
    , S9 R7 h) l7 A# Q# h6 q
  65. getdriverfunc = getsqldrivermysql 7 `! z% @# N- a' W$ @2 R( V: T9 e
  66. vendorlib = libmysql.dll在4 X' X2 ^& ?, W) m, A7 H, w
  67. libraryname = dbexpmysql.dll
    . c# T5 G8 P) ^& ?2 I& x/ r
  68. 积极= 1
    7 [% e6 i2 c- j8 M" h
  69. ---例如----
    4 K) x' |5 t: e& \' P; @
  70. -写在0 2.03.04由p wk.linuxfan
    , `* r  g5 Q7 j5 p) X& e4 l. E  c
复制代码
发表于 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
/ ~5 j$ g1 J, b, ^. x* F. p( J/ f8 m
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-9 15:30 , Processed in 0.092741 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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