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

2735 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan " ^- m6 x: s0 l) N8 w) k" s
7 m3 P6 m+ k  o, z' S7 ]7 P4 M1 V
  1. 0 S6 c3 T5 F. ^% ^  C. [. V2 y
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    - F1 {! J! r8 s2 _7 B) v( C  @

  3. 2 P: z  ^2 T7 P0 v0 Z7 @( O
  4. ### What we need ###
    ' h% G0 y' [; k2 \* u
  5. Naturally, we will need a MySQL server to store the data for us, this document
    / r* _# ?+ r7 H0 h6 C1 o
  6. will not explain how this can be done - there are documents out there for the
    # t/ f/ w: n7 |1 r7 A+ Q
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    4 ^: p- w. v% `, j) b5 I. U  q
  8. and a user account (username + password) that has the permissions to do stuff
    8 A# |" B. u$ \
  9. with the database. Additionally, you will need a vendor library installed on the
    : ?4 p: f# e- i9 b
  10. local machine, this came with my MySQL install.
    1 [; o, d3 p" ?/ z8 n+ k
  11. These instructions will not tell you how you might transfer your data from the% s6 ~. o/ t* ]& {6 g
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL, F( l3 O  Z  W3 I$ ^" I" D
  13. database.
      `2 b; w( t  j+ c4 T
  14. Some users have reported ways to import a SQLite database into MySQL, but at( g% S3 O! e2 l9 {1 w
  15. the time of writing, there are still too many issues - check the current status+ N" s' S& G5 k
  16. in the TeamSpeak forums if you are interested.
    : D, [$ Q( ?6 D+ F1 C( ^3 @7 ~
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from& V/ c5 v- M2 F8 `7 F
  18. Borland was used. This driver can only interface with the client library that
    2 W) W8 c: I3 V7 w. n' v
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this  [2 m0 b+ l% i
  20. client library - basically all you have to do is to use a 3.x client library as 6 d6 i8 B- b; W# @1 p7 y( f
  21. "VendorLib" and a 4.x database to connect to.) V2 H. p. ^1 c* x# W0 p/ L
  22. If you need more info about dbExpress, you can contact Borland.0 G, D1 ~& k" Q' Y0 |( u  u& k* N
  23. + H8 o5 R- X+ t& m
  24. ### Doing the work ###7 v2 a) Q) ]+ w! Y: R. O
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all% ]. x8 v* ]% {' r' X0 Z! R
  26. the perquisites right, just open your server.ini file, and add this section at8 |% S. L4 F/ K- n6 r
  27. the end:1 [( y4 \1 o% `7 [3 C: `
  28. ---cut here---7 Y8 X. d" W+ m2 b( j/ B
  29. [DBEXPRESS]4 ~3 W* J3 b/ ^8 Y, y
  30. sqldir=mysql_sql
    2 w6 C7 W* H7 G2 s
  31. Drivername=mysql
    # B& x$ O5 b, v8 o1 I
  32. Database=Your_Database_Name_Here. H8 X" B  P$ c9 g) f7 ^
  33. Hostname=The_PC_the_MySQL-Server_is_on5 ]' g( s: O, l/ M, Z4 Y6 f
  34. User_name=User_name_on_the_MySQL-Server
    & L) b# S& X' P: J3 `3 E3 t, V3 {
  35. Password=Password_to_go_with_above_user_name
    . K' q9 R) d4 u) M8 }
  36. GetDriverFunc=getSQLDriverMYSQL3 l+ n+ u1 z9 l! `% _4 m) _6 Q
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib+ U% g* b8 x3 X
  38. LibraryName=path_to_libsqlmy_libary
    9 j( `8 B! y9 t, D# G8 L
  39. Active=1  o* b8 f' X9 e3 Q* A
  40. ---cut here---
    3 u- Y& K5 d: d( x* T1 u  J# g
  41. In my environment (a linux box with a MySQL server running locally) I have:
    1 U& s5 b) E3 X- B5 C$ l* n, z3 n
  42. ---example---
    + R$ {& [$ N* @
  43. [DBEXPRESS]4 u7 @3 j5 b/ j( e$ B. C
  44. sqldir=mysql_sql
    ) D6 S6 @# p8 r/ T& d) e
  45. Drivername=mysql
    # ^1 ~+ o1 R/ }
  46. Database=test* B  B) m) I/ A% b  `
  47. Hostname=localhost% k& U, \, b  R) }( {7 W
  48. User_name=testuser( |5 {4 J, q" W5 I- ~( g! S, N
  49. Password=my_password! ?. B* r3 b& p  l6 u+ Y
  50. GetDriverFunc=getSQLDriverMYSQL
    . v. X4 }2 N  L) z0 v! p$ C( {
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    % I* A0 x# M, Q* q2 i, s
  52. LibraryName=./libsqlmy.so( O1 G! y% o2 T2 C2 R) ^3 P
  53. Active=1. T+ E9 W7 M1 s3 J  z' t# z
  54. ---example---& z1 r' r0 J  ^; w5 {; d: d

  55.   Q4 z9 _  B7 j$ K2 T; y
  56. On a windows box, also running the MySQL server locally, it would be:% \( z( _! \' M- s1 t
  57. ---example---
    ) R: p- Q2 p% c' l0 Y, \
  58. [DBEXPRESS]% f; k7 X0 u! a. e
  59. sqldir=mysql_sql$ n4 {1 t8 }# q, ~5 K. @& F
  60. Drivername=mysql' ^- ?! a" E$ c" Z
  61. Database=test
    9 Y  i/ }  R" b$ q  k
  62. Hostname=127.0.0.1
    5 {6 h: h' }! l. Y7 q1 B2 _+ {
  63. User_name=testuser
    3 n6 Y; s$ |  F  p5 G$ b
  64. Password=my_password; s' v5 \5 I, l; w$ o
  65. GetDriverFunc=getSQLDriverMYSQL
    $ X6 y6 [6 a4 j' Z$ a& N  y/ u# c
  66. VendorLib=libmysql.dll: c0 A9 h9 i. i3 q# x
  67. LibraryName=dbexpmysql.dll
    7 I+ p, Q  U* V1 D/ Z, t
  68. Active=12 E3 S# b: F+ ?! P3 [
  69. ---example----
    & y  I# S* r1 b3 x
  70. - written 02.03.04 by pwk.linuxfan4 {* m- ~' {, Q0 @$ x8 V; O

  71. 4 k# q# s, k' V' B2 d% x
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看8 W0 g/ i6 v3 I( L/ F
  1. / M: X7 H; }3 k( x- C. k# l& ]' F
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      k: T/ M  Z  `. b! B( Y+ u

  3. . H; W& d# h9 L* x, I$ s  M
  4. # # #我们所需要# # #
    % h6 o! _7 X% K2 G
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    9 ]9 v0 t% X- C1 |6 i0 f. g
  6. 不会解释如何做到这一点-也有文件存在,为0 ~; E& L8 T3 R5 w) D
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    9 f! J1 y/ @$ m, x+ D- x% H
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西- M$ g, T4 o6 p$ y- O6 Z+ T
  9. 随着数据库。此外,你需要一个卖方图书馆安装于* s9 m) f3 d: \3 B& i9 Y
  10. 本地机器,这是我的MySQL安装。
    9 |- k; J/ X! K7 {/ B
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
      o4 s) m6 A% ?' ^  }2 P0 h
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL # J8 G6 u" S7 L, d9 F1 G5 G
  13. 数据库。
    8 `" H! u- R9 y) f
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    2 ~, ^) h$ J+ Y, b- l
  15. 编写本报告的时候,仍然有太多的问题-检查现状' p1 z" {, N: W, ~' x
  16. 在teamspeak论坛,如果你有兴趣。
    2 C- i+ o$ ^, p/ Q( ^  @
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机8 e# d" w: o- ~
  18. Borland公司使用。这个司机只能界面与客户端库
    ; r* ^8 F0 F3 C, a' G6 f
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这& B6 d# b% o) {4 j, U* I, A
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为* H' Z4 [/ q% F" K- k- p
  21. " vendorlib " ,并解数据库连接。 3 ~$ m  p1 y( w0 |* a9 K. M
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 . e" Q0 X: b1 C3 G6 l- y

  23. 5 @( n- |* l$ J. V8 `
  24. # # #做好工作# # # 9 ^! p9 |8 x! Q, s6 S% E6 U
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都4 N% X4 g5 ?' l0 }+ R
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    + _# m% {+ V* r+ C2 R
  27. 结束:
    9 m! @. R; f# E! _$ w# H4 r
  28. ---削减这里--- 9 {/ y& P. m5 @! o
  29. [ dbexpress ] / C, O  F2 n; B) a$ @
  30. sqldir = mysql_sql
    7 [8 l4 M# P+ B$ ]* f4 G3 N  T8 T
  31. drivername = MySQL中
    1 u3 y4 N  W* @
  32. 数据库= your_database_name_here - K/ u0 `" @' z& |" A
  33. 主机= the_pc_the_mysql - server_is_on
    4 f& g# o4 e" N1 ]' I5 T: B/ \
  34. user_name = user_name_on_the_mysql服务器& J4 c, r# t! ?! |3 z
  35. 密码= password_to_go_with_above_user_name 1 u1 j6 x! n  v5 V; P& q7 F
  36. getdriverfunc = getsqldrivermysql
    + I: j) u% [. L. |
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    0 u4 F% x1 B  e, d! t4 R, M" Q4 L
  38. libraryname = path_to_libsqlmy_libary 1 \% `; [1 t# R. \; m3 L
  39. 积极= 1
    ; W5 V/ z$ z/ K6 Q9 z' i% }/ Y: Q
  40. ---削减这里---
    9 x" q4 n/ G2 u( Y' W6 B
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: / ?( {& L" P" d5 r
  42. ---例如--- + U4 G9 C* b; \5 ^
  43. [ dbexpress ]
    ) W8 V; W. ~# c2 Z9 @. d1 I/ h
  44. sqldir = mysql_sql 2 c. h- U: Q* W8 X" ?9 f5 ]
  45. drivername = MySQL中
    & l5 m! J* v4 y8 k
  46. 数据库=测试+ u# i! M7 O/ B6 p
  47. 主机=本地主机
    % p2 F% S) s2 \" o  ~  K! Z
  48. user_name = testuser
    7 [# s2 ^# x8 W3 Z6 Q# J2 A2 H- u
  49. 密码= my_password
    0 d- a3 ~4 Q  s$ S5 L9 G( X
  50. getdriverfunc = getsqldrivermysql 7 f& q) v' P& C+ @2 f) w
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ( m5 m0 h, c! Q: f$ A$ }: {
  52. libraryname =. / libsqlmy.so   h4 U9 M+ r- P/ m1 c0 k
  53. 积极= 1
    * L! p8 m  G9 ~3 @. w9 ?1 y
  54. ---例如--- ) A0 w- M& m! B  W" c8 {. p. q

  55. ! u" }1 W3 z4 h& t
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    - y  s8 W! y9 O) q
  57. ---例如---
    ' j3 Q, e" g6 C: ?
  58. [ dbexpress ]
    0 X8 z0 B7 _9 l; k
  59. sqldir = mysql_sql ( p* j' l9 ?& W* Q: z3 C% l
  60. drivername = MySQL中3 M! r# c7 }* J) t4 c
  61. 数据库=测试
    / F& S) w% L: {' y1 j  Y
  62. 主机= 127.0.0.1 + O+ o9 E: V. u1 A# k
  63. user_name = testuser . ^& p, ]" g# z- J( w9 Q' Q
  64. 密码= my_password ; @/ t$ a( ~* G2 y+ p8 J
  65. getdriverfunc = getsqldrivermysql
    " f& H9 H. \) s% C5 g# o0 T
  66. vendorlib = libmysql.dll在* j) {7 i+ D; }4 ?9 z( X. X
  67. libraryname = dbexpmysql.dll & q/ z. c1 O5 B$ d( c
  68. 积极= 1   h9 t7 r) {# l6 i. ?2 X0 S
  69. ---例如----
    1 |! S: [- T4 L5 H6 f) p
  70. -写在0 2.03.04由p wk.linuxfan7 J! f- x4 D' 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
+ _! D" h* Q: ]+ V7 e* Q2 T% {  z8 [. h; G+ t; S" {1 P
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-9 22:19 , Processed in 0.097436 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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