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

2599 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
5 D8 a" \/ _1 X7 l6 i% [7 P
( V# |6 u1 G/ S2 b& S9 |& J) r+ i

  1. * m( T) l- t; o5 G! o5 g
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######9 t- l- Y! t2 U3 b. q

  3. ( {( i: J7 X$ Q! o  X: K
  4. ### What we need ###( w% m5 A' {4 E, J; J0 o  U
  5. Naturally, we will need a MySQL server to store the data for us, this document : \4 Y: k8 N, n7 `: A
  6. will not explain how this can be done - there are documents out there for the
    / |  r: m0 x' `/ U( F* ~1 K* G
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    0 \' ^6 B5 B3 C6 S( p- d9 H% ^
  8. and a user account (username + password) that has the permissions to do stuff
    # z9 w8 E. i0 j* b# w
  9. with the database. Additionally, you will need a vendor library installed on the5 J9 J0 t; m6 A. P2 \
  10. local machine, this came with my MySQL install.
    ' Z, V7 S# G+ o1 J
  11. These instructions will not tell you how you might transfer your data from the- f, }2 a* s8 H: a. @
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL5 f. y# r7 s" s% G0 `1 o
  13. database.
    / ^9 |, Y6 K  `9 o$ ?; u
  14. Some users have reported ways to import a SQLite database into MySQL, but at& A, m( Z& d& c0 v" d* @* X) |$ Q
  15. the time of writing, there are still too many issues - check the current status, B( a3 U& p0 p/ z
  16. in the TeamSpeak forums if you are interested.( a1 G7 S$ \) D: G- W  O: o2 }
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from3 b' c2 y1 R4 Z8 v
  18. Borland was used. This driver can only interface with the client library that
    % n8 Q1 o( Z* Q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this4 ?& E0 {+ s) ?7 p, p
  20. client library - basically all you have to do is to use a 3.x client library as 6 t! Y2 R. |; [: {' M
  21. "VendorLib" and a 4.x database to connect to.! \: S0 ^. K% m# b2 e
  22. If you need more info about dbExpress, you can contact Borland.
    5 ^" f5 `$ U& s% f. k
  23. " S7 ~" L; R; r( N# E# U' J( l
  24. ### Doing the work ###7 M7 |9 H: g* m" ^3 B
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all5 ~! I) B  b( M2 N/ Y+ }4 g  E4 \
  26. the perquisites right, just open your server.ini file, and add this section at, M, q6 ?" Q) h2 D3 A  W6 M
  27. the end:
    . ^0 A4 a& u  Y2 @7 t$ g. i$ K- P
  28. ---cut here---! B+ W9 a; h( K6 k8 x
  29. [DBEXPRESS]
    ( o9 l0 t* ?* D* W/ _/ r
  30. sqldir=mysql_sql
    4 Q! V# Q  q- \0 d+ o
  31. Drivername=mysql4 f# E% `; g$ r
  32. Database=Your_Database_Name_Here3 T- G4 n# R, Q; ]- b) o7 ^9 p& P  N
  33. Hostname=The_PC_the_MySQL-Server_is_on- W7 z& {( Z, q) l5 T
  34. User_name=User_name_on_the_MySQL-Server2 r# F; I( W, i% R1 p1 ]+ j7 x
  35. Password=Password_to_go_with_above_user_name' g; E% t- [( H& J3 s- X$ v
  36. GetDriverFunc=getSQLDriverMYSQL6 J  M* S5 ]0 }1 B8 D: i7 j/ X, e
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib* ?) [2 q! u$ f; m  h; E2 h
  38. LibraryName=path_to_libsqlmy_libary) }/ O7 _  o$ @. c  R4 D
  39. Active=1
      r4 j' s/ i6 i# X/ ~/ c
  40. ---cut here---
    - W  M) W( m" q1 |) ]3 C  f, I
  41. In my environment (a linux box with a MySQL server running locally) I have:; n7 O) K' I) \
  42. ---example---/ W# h0 y7 ^2 n3 z4 g+ P
  43. [DBEXPRESS]
    : V2 }) I1 q% |2 \
  44. sqldir=mysql_sql/ L1 G3 n  o9 ^1 T! ?+ \8 v
  45. Drivername=mysql* R! M! m' w+ B$ \
  46. Database=test7 ?( t2 e- X+ W8 H& u; m3 B* o
  47. Hostname=localhost
    8 ]5 [" @# u$ s( q
  48. User_name=testuser( r2 x/ H* C- J6 W0 x) F: y6 B
  49. Password=my_password% ~8 y7 F; B1 p7 K
  50. GetDriverFunc=getSQLDriverMYSQL
    ! L' Q) T; y$ k; N- b
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0# k  }  e  o9 }
  52. LibraryName=./libsqlmy.so, Y+ _/ {+ j& E9 x0 @3 F( v
  53. Active=1
    7 p1 V, D* P# d6 t# Y- e
  54. ---example---* X; F1 j1 }* h% }! V

  55. , }9 l) m) G1 a
  56. On a windows box, also running the MySQL server locally, it would be:
    8 M+ M* W$ D* E3 h: ~/ @7 r
  57. ---example---+ d% B0 |% u4 _
  58. [DBEXPRESS]
    1 P9 s' {  W- Q) O! q
  59. sqldir=mysql_sql4 u1 M" _; z* u9 Q
  60. Drivername=mysql
    6 T2 |  J$ \+ A9 V
  61. Database=test6 W4 A: K: E/ q
  62. Hostname=127.0.0.1$ B3 D# t$ p! p7 {% ]; Y9 A2 Z" i$ u
  63. User_name=testuser7 Y6 a2 q$ T: Q& m) S' [9 j
  64. Password=my_password/ B& ~! A3 m8 M5 i
  65. GetDriverFunc=getSQLDriverMYSQL
    6 ~4 ?; Z6 B. [  ?% U5 I
  66. VendorLib=libmysql.dll7 }" I1 _) E1 i/ `) t0 K
  67. LibraryName=dbexpmysql.dll) }8 J3 p& B' t( K9 M
  68. Active=1* Q) z9 r& h& L$ L( ]  D6 o/ F* H
  69. ---example----
    0 E6 J, I  p" ~6 Y; X( y: O! |# Q
  70. - written 02.03.04 by pwk.linuxfan
    - y6 |% e8 V. K: q/ z1 E' g8 g

  71. " C" T% d) \  U3 ~6 ~) I
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
. T$ \; T& l5 z4 X2 z

  1. : T2 I( `9 d  `" d& E* j
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ; k; a7 d% `- |3 x3 u8 O* j
  3. 2 L  N5 n" A8 Q( Y8 R* ?1 }. Y
  4. # # #我们所需要# # # * [0 `6 g* I. Z8 k" R# O
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件; ^$ K0 q3 o) R! N% y
  6. 不会解释如何做到这一点-也有文件存在,为& j$ l0 F. a6 A. f& i. e
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用( @: q7 |/ h  u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ( W9 i! G7 F, Q. o8 P
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    5 Q( [; N4 K) B5 r
  10. 本地机器,这是我的MySQL安装。
    1 X; n3 V, g1 `
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    # H+ P; a+ ^. Y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 3 M) o. r  O% R( H
  13. 数据库。
    " ]- ]: D5 X  c3 r
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ! a' M9 D0 k5 Q4 O7 j6 s4 c1 |
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . l& y& K8 S- U5 g
  16. 在teamspeak论坛,如果你有兴趣。 / j1 Z+ i. m. r! _" Y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    9 m* g- G" s6 R6 M3 Y
  18. Borland公司使用。这个司机只能界面与客户端库
    + Z# j1 P6 `6 D6 k+ l- m- `! y) K
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这' r, T" c2 S( f: _" P$ |
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    + d; u1 c" O+ j. r0 E9 \( Q
  21. " vendorlib " ,并解数据库连接。 7 [! R1 F* M. c9 O
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 4 w3 k9 W5 e) i3 {. S; ?

  23. + C: e7 v5 t. ^2 H* S+ \* K7 R
  24. # # #做好工作# # #
    3 Q+ D$ ?  \3 z- L! w
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都, N/ \; s4 v+ X: F. D
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在8 C* T+ w, Z9 _0 w
  27. 结束:
    4 }1 `$ u3 u- ^1 z$ k; |0 n7 g
  28. ---削减这里--- - ~1 E$ Z, r# f. Q7 a9 O1 y
  29. [ dbexpress ]
    ; }. p/ i# ~9 }, ^3 Z8 l
  30. sqldir = mysql_sql
    ' e8 f( U. Y7 q  I- n; F
  31. drivername = MySQL中
    3 O- M6 ]7 H6 b
  32. 数据库= your_database_name_here
    # b! C, I* x& a8 Z: S
  33. 主机= the_pc_the_mysql - server_is_on
    " s  k* T3 |7 P
  34. user_name = user_name_on_the_mysql服务器" v- h+ @( O; {0 c6 R% j& i
  35. 密码= password_to_go_with_above_user_name
    8 q+ E3 u6 h2 U+ u( o
  36. getdriverfunc = getsqldrivermysql
    + J: p  X$ C. t
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    $ u. `2 D2 E7 A, i
  38. libraryname = path_to_libsqlmy_libary
    6 i9 c" Y3 f+ D4 n. N
  39. 积极= 1
    6 N, y+ E0 o6 R8 N: T# l
  40. ---削减这里---
    & X7 z, u- G7 \
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ( |) m- i: F1 z( b: }: F* m
  42. ---例如--- ; _5 ]& S$ p* N. F, s$ P
  43. [ dbexpress ]
    3 A3 K( k/ J9 X' Q  [
  44. sqldir = mysql_sql 1 R6 Y) F7 z" x
  45. drivername = MySQL中
    1 A4 |. M: f: J1 ?# o# D1 Q
  46. 数据库=测试6 Z  q- f5 ]( v, ~4 M- g  b$ f, P
  47. 主机=本地主机+ q# R8 Z% V! v) Q4 k, G
  48. user_name = testuser
    . X: u4 v  g; \, D
  49. 密码= my_password
    ) ~1 n6 y% \. S# ^3 k5 ~
  50. getdriverfunc = getsqldrivermysql * N1 d; S" j$ b+ V3 |9 K1 l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ! U3 h3 T6 l6 C) F: D* t& s
  52. libraryname =. / libsqlmy.so 5 [5 V1 e& s7 M" ^
  53. 积极= 1
    ; {5 N- n! y4 h; e/ s) n3 h) e1 C
  54. ---例如--- 4 o- `# T$ f0 O+ |" N0 U3 T' x. D
  55. + c4 M5 t  I' m0 g
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 8 t. ?3 k$ |) X5 s
  57. ---例如---   F1 z: x$ x2 x. O5 `% Y, M
  58. [ dbexpress ] $ Z3 d& Z# V. o! a
  59. sqldir = mysql_sql 5 W6 v5 c3 H+ I) l* d- D) w
  60. drivername = MySQL中4 Q' r3 U) S  c; N0 B, R
  61. 数据库=测试- O7 O# s1 r3 Q2 i+ u
  62. 主机= 127.0.0.1 ! g9 g% Y0 q: G8 q
  63. user_name = testuser
    * h" U) y; _* x8 U/ I- L
  64. 密码= my_password
    / m  W# ^/ N4 P$ E! }6 z
  65. getdriverfunc = getsqldrivermysql " v+ K) v4 e! B: s7 n- [
  66. vendorlib = libmysql.dll在
    ( [9 }0 O4 \: X! ]# }7 L
  67. libraryname = dbexpmysql.dll
    5 H7 G" ^0 m, T% @5 i; w
  68. 积极= 1 4 V$ x( w+ {3 B! }& F' _* h
  69. ---例如----
    ( [/ _1 S9 ~7 C
  70. -写在0 2.03.04由p wk.linuxfan
    , i% \6 Q2 N& K- N/ M. N2 s
复制代码
发表于 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
' L" R* e. f7 I; v0 f6 w! H5 C" G" 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-5-9 21:39 , Processed in 0.112168 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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