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

3196 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
0 c8 ?! B2 d9 l3 \- |- L+ T) T1 u* ]9 H) l
  1. 2 @) O& m) l7 S, L! R( i
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######+ Z" h( V! O( c. _$ ]( U
  3. % j9 U, M$ }" W$ r8 }! y
  4. ### What we need ###
    " T% ^0 H, m  t( D& l6 @
  5. Naturally, we will need a MySQL server to store the data for us, this document / H- P9 a9 h5 _# _
  6. will not explain how this can be done - there are documents out there for the 8 c9 p$ }+ S2 ?; K7 Y, x
  7. interested. The requirements include a (empty) database for TeamSpeak to use) ^7 _7 ~6 \8 O+ U
  8. and a user account (username + password) that has the permissions to do stuff
    9 ]0 S* I5 c0 S7 s" V7 j& m! R
  9. with the database. Additionally, you will need a vendor library installed on the
    , u4 s# V# O0 K: R  z! T
  10. local machine, this came with my MySQL install.8 _* ~# b% |( h% G/ N
  11. These instructions will not tell you how you might transfer your data from the
    ! F) \- V5 x; X
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    0 X2 a4 L8 H+ H5 m; p
  13. database.
    " ]0 r# h- [! U, a+ ^+ B; E8 t0 J
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    : Z, |' Y5 j$ W! z( S
  15. the time of writing, there are still too many issues - check the current status
    ! W0 K) j% \9 x* K
  16. in the TeamSpeak forums if you are interested.$ j. c! i  j$ S1 w, }
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from. ~. H+ l: b/ c; A
  18. Borland was used. This driver can only interface with the client library that 6 q2 Y9 r( K: c3 ^4 r
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    $ k0 y3 R4 O0 d2 j7 s3 c
  20. client library - basically all you have to do is to use a 3.x client library as
    5 i/ S, F5 W4 a6 B( e3 m
  21. "VendorLib" and a 4.x database to connect to.
    3 k6 r9 a6 n+ v  b4 \4 H
  22. If you need more info about dbExpress, you can contact Borland.: @0 \: d2 l3 [
  23. ; l& j* N5 X' w' ?7 Y
  24. ### Doing the work ###3 w2 P5 e1 j" i7 q+ b" {' {
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all% ]- W) F1 w8 M' c  n5 Q6 ~
  26. the perquisites right, just open your server.ini file, and add this section at) e4 R* L3 f) x. x5 ^4 r
  27. the end:
    8 y; U) E7 ~9 t5 t; c7 W3 N" @
  28. ---cut here---
    6 g% J. X! Z' y% G/ t
  29. [DBEXPRESS]6 J( w6 n" y% g- t0 r* w
  30. sqldir=mysql_sql
    & {9 G7 @2 J6 d9 f3 C; p/ h5 E# ?
  31. Drivername=mysql7 N, K  n' D7 n
  32. Database=Your_Database_Name_Here6 ^6 d3 M1 c! f1 d  V. c
  33. Hostname=The_PC_the_MySQL-Server_is_on: T; V! i( ?4 h& N' i) X: X5 r5 d
  34. User_name=User_name_on_the_MySQL-Server
    ! c8 o/ _  k1 O
  35. Password=Password_to_go_with_above_user_name
    2 @& X- i" T/ k  V! h
  36. GetDriverFunc=getSQLDriverMYSQL
      t1 v$ Y+ x: {- _4 i7 Z! ]7 T
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ! z9 j2 y8 a0 x9 C
  38. LibraryName=path_to_libsqlmy_libary0 ^# `7 l& L3 l) g
  39. Active=1
    $ u$ R! S% V  v7 g7 Q6 A0 ~
  40. ---cut here---% W$ C/ j) k% i# F- O( {6 h
  41. In my environment (a linux box with a MySQL server running locally) I have:! U' R. s& ]% n5 d+ Z- O- K# n8 \! O
  42. ---example---
      @, K  N* }9 `) W
  43. [DBEXPRESS]
    # y5 D# m# M1 N) X5 d
  44. sqldir=mysql_sql/ A) u/ s* C; y+ A5 f3 ?: D: M
  45. Drivername=mysql
    * o7 h8 g% O* a& A& S& v3 v- @1 }
  46. Database=test( N4 K" N8 E' X4 ?4 [) w
  47. Hostname=localhost* v& H: G: e  |. D0 D* X
  48. User_name=testuser
    ( y4 p5 W2 B% G/ B
  49. Password=my_password0 N2 D4 e, m) u: @) {
  50. GetDriverFunc=getSQLDriverMYSQL; U' F2 q- r2 V3 M7 h
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0+ V/ U5 c' V/ k5 H% b/ j
  52. LibraryName=./libsqlmy.so
    4 T4 h7 \' i! s+ V% m. M0 C# @
  53. Active=1
    " i  r+ D1 R: F8 k% N* a5 f
  54. ---example---. i% i) {* S0 Z+ e. R9 S& k$ m

  55. & p* O% W2 ], d1 a0 k5 p: f. m
  56. On a windows box, also running the MySQL server locally, it would be:- Y& ]- H, T, T( H% i, y
  57. ---example---
    & m0 T9 {: A; {5 T
  58. [DBEXPRESS]
    " G* H* u; }& S
  59. sqldir=mysql_sql/ I, a' {3 @$ \7 d' v% e
  60. Drivername=mysql! r/ |' x% t6 L$ m
  61. Database=test2 K8 k0 G' Z5 b0 t5 P9 p
  62. Hostname=127.0.0.1
    . L4 @) a# C% e
  63. User_name=testuser
    + ]* S) a2 |/ y4 P
  64. Password=my_password
    ( F. F1 Y/ P  _% z- k
  65. GetDriverFunc=getSQLDriverMYSQL6 X( t$ f* L7 }
  66. VendorLib=libmysql.dll
    5 T. q6 p6 \: l+ M
  67. LibraryName=dbexpmysql.dll
    - b; L1 R( q* y4 y: q
  68. Active=1
    . q* k) e& b) i; p6 E. r3 i
  69. ---example----, q/ E! T* D% d* G7 |. w
  70. - written 02.03.04 by pwk.linuxfan
    1 h  P; u: a3 d- |
  71. ( p0 a" W. b. V2 W( a5 N
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看+ J+ J# x! {/ u" ?+ Q
  1. ; t& g5 |! X6 E
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 4 ]$ Y5 a# F4 K3 u
  3. 1 r3 S' W+ ^5 D; T! j* t7 b) s
  4. # # #我们所需要# # # 1 j( j) h3 Z3 n) T" K  y- w
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! M' x, K3 H, Q  m1 m& M0 z& K% f, a6 C
  6. 不会解释如何做到这一点-也有文件存在,为
    ' L! H9 E% R0 ]3 [5 l6 j" d
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    3 \9 e6 `" f9 q- n$ ^. K
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西* b: |) i  Q2 k% |
  9. 随着数据库。此外,你需要一个卖方图书馆安装于% Z! Z& N+ l& C# q- J- i) B' H
  10. 本地机器,这是我的MySQL安装。
    . R5 O7 D  ?! ~5 l
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ) W  P" i5 i6 O) C9 `- D0 S6 f2 f% s
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    5 c! [: W3 I, m
  13. 数据库。
      u0 x; |6 z4 B* P: Q
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    - p3 j1 }% A" _% V
  15. 编写本报告的时候,仍然有太多的问题-检查现状* U7 x' e' x, V2 C0 U' J4 O
  16. 在teamspeak论坛,如果你有兴趣。 1 G/ T, H9 ], @% w* I+ J: q$ ?) R
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ; n1 j6 i  p( f) B) `' [# ~( e
  18. Borland公司使用。这个司机只能界面与客户端库
    + v8 `) q/ t( a/ n
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ) x2 G/ ]2 ^9 Z" l
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    * s) {) _; c* v7 }# m4 K9 d
  21. " vendorlib " ,并解数据库连接。 * [3 L* Q/ F! K3 Z0 U# I$ R
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    - ^! `" K: g( ^* \% c. N5 D' I, @2 T
  23. ' N2 {# [, j+ l, ?. `
  24. # # #做好工作# # # # B9 I- g0 l' A2 I  Y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都" h& Y, s3 @9 j8 C1 T9 N
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在' \6 n$ w; g' M4 p7 d  }
  27. 结束: 3 ~, H" f# p8 c; ]8 s
  28. ---削减这里---
    $ E  n# l- d! j1 }: z$ I" [
  29. [ dbexpress ] % @" ]5 `; Q4 k8 I4 d: U9 O. d
  30. sqldir = mysql_sql
    0 b9 K% `, g( {; L2 |
  31. drivername = MySQL中
    * K8 L3 Y5 H6 O2 x: H; x
  32. 数据库= your_database_name_here : Z# P4 S5 R& _. V& M4 h. T
  33. 主机= the_pc_the_mysql - server_is_on
    : d' q+ q  e3 c  B* v" A4 ]
  34. user_name = user_name_on_the_mysql服务器
    0 Q( ?& X' T7 p2 F) d
  35. 密码= password_to_go_with_above_user_name 0 o( b0 ]/ d3 j5 v5 }$ v# B
  36. getdriverfunc = getsqldrivermysql
    6 D9 I" I  [8 y9 ?1 A
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 2 f8 P' }+ @6 q' i7 i: ^
  38. libraryname = path_to_libsqlmy_libary 6 X" |- J1 p) e+ X% E4 Q0 ], J* b" z
  39. 积极= 1
    , \: _* L! Y* L& [7 M# S
  40. ---削减这里---
    / V4 ?* x  j# ~) x
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 9 d* v$ W7 X" [. G8 C( B8 k0 d
  42. ---例如--- ! S" G: m/ U2 g) I6 e8 B. R
  43. [ dbexpress ]
    ; O9 J' ~; y8 n: |
  44. sqldir = mysql_sql ; _9 c) A/ T2 ~  ~' |) N( D5 [
  45. drivername = MySQL中
    7 d, ~. u4 V6 \8 w( F
  46. 数据库=测试
    1 T4 K3 J. `& y' N% Y
  47. 主机=本地主机  G; L2 O& ?; j
  48. user_name = testuser
    $ }/ [5 K# K2 n- M
  49. 密码= my_password
    ' H5 R+ t2 N8 X% m
  50. getdriverfunc = getsqldrivermysql
    ; @5 T4 n$ u; j. Z& z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    2 R( e  }- y7 i7 B* U" y
  52. libraryname =. / libsqlmy.so ' G/ u1 R: u; \  V$ b; ?
  53. 积极= 1
    & B9 L1 D4 l) C# M% G2 ?$ z1 g
  54. ---例如--- 4 H  x7 I8 F. W' _% h

  55. 6 B- R* ]) y# @/ s6 p
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    9 k) B  o8 w& ]- s
  57. ---例如---
    9 h0 u  i. h; w# h, y+ y
  58. [ dbexpress ]
    0 c, F% B* l+ k/ |3 [
  59. sqldir = mysql_sql
    " t% Q- L. \! m9 `+ }
  60. drivername = MySQL中( W$ J! L8 Y" Z
  61. 数据库=测试
    : k2 H# }% Z7 {4 a- A9 {1 f
  62. 主机= 127.0.0.1
    " H8 m3 u" t: J7 r0 Q
  63. user_name = testuser " T. b  j/ S: U
  64. 密码= my_password $ U2 \3 o. U" V: K9 B' U
  65. getdriverfunc = getsqldrivermysql 8 m+ d+ d( N8 k8 J7 d
  66. vendorlib = libmysql.dll在" C) n4 O& c' i* [. Y! o; c- z! ~
  67. libraryname = dbexpmysql.dll " d5 C2 [( m1 |: \, x  p
  68. 积极= 1
    / B- A( w" Q2 s* C4 }
  69. ---例如---- , K3 l. e8 W7 N7 \$ d
  70. -写在0 2.03.04由p wk.linuxfan3 n, L8 Q( Z, j6 n9 K+ d1 R3 p* b
复制代码
发表于 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
0 X/ b- E& @; W1 Q# s2 U+ V0 r( L; f! n" e, J; N: D: ?
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-20 02:53 , Processed in 0.094187 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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