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

3143 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
) g6 j5 U. ^/ m( q& t: u$ p3 T, `: e" |$ c( H5 `1 {, \
  1. 6 [3 \2 r3 U7 V' T
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    % h+ F) c4 O5 O! c0 i
  3. # K5 j' v0 p: _
  4. ### What we need ###: ^$ {- j5 a! M
  5. Naturally, we will need a MySQL server to store the data for us, this document % C" s4 k& L5 ?( a/ _( [
  6. will not explain how this can be done - there are documents out there for the
    2 D- \; y" Z" x9 R& {/ Q9 [/ P. U5 `- M
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    8 u: K; C9 Z& y; B( }
  8. and a user account (username + password) that has the permissions to do stuff0 \& }% I, Q4 a$ ^* p
  9. with the database. Additionally, you will need a vendor library installed on the, I! @; B$ k! B' T; `
  10. local machine, this came with my MySQL install.
    ( w5 d9 w1 ^4 \2 p4 Q
  11. These instructions will not tell you how you might transfer your data from the
    5 V- G, r! P9 e' y) y" t( g7 b
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! |4 o5 o8 J2 k
  13. database.
    ; i; t9 }) f' ], C4 `
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ( n0 ^+ G, m& \2 P
  15. the time of writing, there are still too many issues - check the current status' _/ J+ H. d. R
  16. in the TeamSpeak forums if you are interested.
    7 e) ], {( F: N2 [5 d
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    # F. h! G5 z8 V
  18. Borland was used. This driver can only interface with the client library that
    + Q. q& L+ g$ l( m0 b& [5 |7 G
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this3 y" `2 c( y7 I5 i7 q
  20. client library - basically all you have to do is to use a 3.x client library as
    2 G  j: U% [: E1 `
  21. "VendorLib" and a 4.x database to connect to.; k; b2 w! y: H( k- E  b% Q& e
  22. If you need more info about dbExpress, you can contact Borland.5 e. ~; u% b5 I; `2 q# |$ I. I% i
  23. : j" ?* D7 b3 N9 a0 x1 U* N4 E0 i' u9 E
  24. ### Doing the work ###+ X4 D6 P/ ?7 v" K0 O+ B- t
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    4 F, @& Z/ x1 q6 p- w5 A
  26. the perquisites right, just open your server.ini file, and add this section at: q6 W3 \9 X* i  E( @! B
  27. the end:1 X+ v( s+ ~) w7 V3 a' V5 N* K
  28. ---cut here---& }, }/ Q2 O- O
  29. [DBEXPRESS]
    7 g8 t0 G* A& s5 w
  30. sqldir=mysql_sql
      v9 t- }5 R' s+ V
  31. Drivername=mysql
    $ N+ x$ }# u) o1 l1 m" E
  32. Database=Your_Database_Name_Here
    6 a# u  M) u4 }$ G2 g- V. z. m
  33. Hostname=The_PC_the_MySQL-Server_is_on
    7 g* Z4 i5 G, {0 d( R1 X" y
  34. User_name=User_name_on_the_MySQL-Server5 d  h0 q( H' Y4 A
  35. Password=Password_to_go_with_above_user_name& |4 M) ~: g' N& O# I+ k
  36. GetDriverFunc=getSQLDriverMYSQL
    7 a1 R1 b3 z$ u8 q) x/ L$ c. d
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    & [# ^, Z9 f( {4 k! l( N+ q( [
  38. LibraryName=path_to_libsqlmy_libary/ b0 K" v0 z& c/ N# c$ ~/ d
  39. Active=1
    3 E& b. \* i( P. M& a% ?( b. T
  40. ---cut here---* a' R" u* Z' w9 q, \+ j+ z
  41. In my environment (a linux box with a MySQL server running locally) I have:$ a# w8 X9 P' G8 j
  42. ---example---# F3 A, \3 x: p  m
  43. [DBEXPRESS]
    8 q) D" o% G" i+ K: C& Y0 W
  44. sqldir=mysql_sql( U3 t( H4 @; D: A
  45. Drivername=mysql
    9 o0 m/ U+ \5 n6 a0 a' T( ^" x
  46. Database=test8 T$ N- r+ \& a" g. _6 R
  47. Hostname=localhost
    - w" s! s; ^6 o& j
  48. User_name=testuser
    9 K( z3 V# }4 q/ w1 w
  49. Password=my_password
    0 a* c8 ~  L' @
  50. GetDriverFunc=getSQLDriverMYSQL4 Q. F0 ~/ ^  q7 B, e/ m
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.06 b, i/ z  g& E3 w! p
  52. LibraryName=./libsqlmy.so
    " T$ x# n2 x& P% ]: S0 ~) x( n
  53. Active=1, j2 @9 r$ ]- l/ a& c8 U3 O
  54. ---example---4 J3 m! c* O( K9 j( @" q

  55. 0 F+ Z( U* v4 f% Z( Z( j; O
  56. On a windows box, also running the MySQL server locally, it would be:
    5 N0 c+ w6 f2 ^  |* {0 \- `
  57. ---example---; J: P% F3 W2 i" S5 b
  58. [DBEXPRESS]
    - w$ d( ^. e9 p! n2 W2 o! [& z
  59. sqldir=mysql_sql
    4 Y) D* R9 {8 g8 |. q+ W
  60. Drivername=mysql
    $ [7 G2 h, b) c: g
  61. Database=test3 H9 B  j5 z8 D/ A) b9 v% B: o
  62. Hostname=127.0.0.1
    % i+ H/ M# n% `  j
  63. User_name=testuser  m3 ^7 d* h& u! U9 w; _1 `
  64. Password=my_password  U1 @5 b. g, w  X1 y8 Q; G5 b
  65. GetDriverFunc=getSQLDriverMYSQL/ k+ W3 r, ]: h! M
  66. VendorLib=libmysql.dll
    9 |' R  v& W  m  Z1 c
  67. LibraryName=dbexpmysql.dll
    ' j2 j9 j8 ?4 @; I; u1 C
  68. Active=1
    . p' p" s' F( U) o4 |
  69. ---example----
    ) P# c, O1 u: u# X# {
  70. - written 02.03.04 by pwk.linuxfan
    8 ~! ]) e( q/ j6 B7 T" K

  71. ( }- Z. t2 R& V0 {  x% [7 ~4 F
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
! P) i7 `7 ~) s# l. l( q
  1. 8 X2 F5 M) h6 c5 y; a8 S
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    + o7 |% f6 G5 }! ~! F7 h4 l  U0 z5 P

  3. - [5 K+ A7 t4 S" ~
  4. # # #我们所需要# # # % j; P7 ?- @/ S$ b7 _) M9 f  q2 Q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    7 Q6 F5 s. E  l
  6. 不会解释如何做到这一点-也有文件存在,为1 w. F) d3 ~0 S  G1 G
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. d) M/ A' q* `3 J/ h
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西. r, O# t* b9 Z  e- h3 ~" }
  9. 随着数据库。此外,你需要一个卖方图书馆安装于; ]2 v4 e6 ]' L  t" _  O0 `
  10. 本地机器,这是我的MySQL安装。 9 R9 ~- k6 i8 m3 [- M
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    3 `) |0 c/ T3 n, x/ H: P# f- Q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ( M2 b, ]* m% o/ i
  13. 数据库。 7 R  A( P9 H3 o
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    9 E. N9 P/ ]" |4 f
  15. 编写本报告的时候,仍然有太多的问题-检查现状4 i9 Q/ r; F. ~' X
  16. 在teamspeak论坛,如果你有兴趣。
    % I1 C! T. Z1 m( C8 T, o2 B
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机4 N$ ?9 A2 j2 L: L3 p! V
  18. Borland公司使用。这个司机只能界面与客户端库
    $ ^1 i0 f) ?& t6 G
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这* \4 O1 |3 Y( M( w9 ?, _
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为" p- k$ V  y# \; j3 e
  21. " vendorlib " ,并解数据库连接。 * F) M. |' Z# j
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 1 _' ~3 U" [1 W8 G7 o& g
  23. + E& B, L7 w: R9 q  K
  24. # # #做好工作# # # 6 |- J. C* q+ [# M- d* s0 C0 d
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都$ L9 G- J% P, O  t: H9 L
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    2 Z" T0 |" P; V  B8 V' u
  27. 结束:
    ' _$ p3 O+ s4 \+ [% @4 {$ ~
  28. ---削减这里--- ( f2 E8 G( U: q7 u" o, T
  29. [ dbexpress ]
    ' P. i+ u7 X2 u4 U
  30. sqldir = mysql_sql
    4 T- q) Z' O' O% w4 _! M) P2 \
  31. drivername = MySQL中
    2 Y6 P- U5 ^# t0 J2 v7 b) T
  32. 数据库= your_database_name_here * V3 m2 ^, F' Z1 k0 ~
  33. 主机= the_pc_the_mysql - server_is_on
    ( a+ l) y! a4 x+ [2 G1 U
  34. user_name = user_name_on_the_mysql服务器
    ' b+ u: R0 m: C1 e) r- r% {6 I0 {
  35. 密码= password_to_go_with_above_user_name 7 c- N0 n3 {3 s0 Y0 h
  36. getdriverfunc = getsqldrivermysql
    ; ~9 r$ t; C1 M- u1 i' @
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 0 G% K! f3 Z9 |$ R  d
  38. libraryname = path_to_libsqlmy_libary
    " j/ w# O1 \! C
  39. 积极= 1 6 R8 r/ Y  ~) y6 V4 I: i. f  x1 V
  40. ---削减这里---
    , |% r# n/ w, e- t  E: ?
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ' W) p2 E, a% X+ X* t
  42. ---例如---
    , E( y- ~& B0 l5 P' w/ y/ U6 ?3 N
  43. [ dbexpress ]
    6 B; _8 h! \3 e; d: w# H' q* S3 g
  44. sqldir = mysql_sql
    * T2 Y+ T2 P- U0 f9 P3 O
  45. drivername = MySQL中
    3 l8 z0 M8 `. d: Z* X
  46. 数据库=测试
    , x  @" u% }4 i* h3 H$ D
  47. 主机=本地主机
    + V- Y% Y6 ]/ D$ A" U
  48. user_name = testuser
    % q6 G  Q. U+ N2 v) Y' Y
  49. 密码= my_password 4 s, v; ^6 n% n2 h; i* h
  50. getdriverfunc = getsqldrivermysql 9 F# U8 Y) i2 _' R8 v0 _' A
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    % S; q+ G3 s/ c1 Q% e7 m
  52. libraryname =. / libsqlmy.so
    3 h# I9 }/ R4 N
  53. 积极= 1 2 l; l; b5 d! k
  54. ---例如--- " E5 n: `8 v6 i% H7 ]* e

  55. ( b+ H5 T" {/ A; d
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 8 d" e1 w6 x/ R! E4 G" }& \# o5 B. \
  57. ---例如--- 9 t9 \$ g! f) }0 L- \3 ]) M
  58. [ dbexpress ]
    7 L& I* E! \. U1 i$ D: [
  59. sqldir = mysql_sql , @& m2 s* A' I: P2 `7 H
  60. drivername = MySQL中" I5 B' r; _# \7 Z
  61. 数据库=测试
      }! X3 d; `1 A& F5 F7 W2 X
  62. 主机= 127.0.0.1 " ~8 n. {1 o6 `. S. a
  63. user_name = testuser 0 q$ s! ]  g. @' {$ ^
  64. 密码= my_password
    : b3 A4 p' `6 e  C5 F
  65. getdriverfunc = getsqldrivermysql * A; l4 a. n2 W( l) c
  66. vendorlib = libmysql.dll在
    6 C: k$ a) x# r: s; ^* i; B, u
  67. libraryname = dbexpmysql.dll 2 a1 ^# x5 L! w' P+ r! E
  68. 积极= 1 8 m! h& N( d, q" c; u1 t/ D
  69. ---例如----
      H( j$ q- N" F: ]* C) P
  70. -写在0 2.03.04由p wk.linuxfan5 c: _- f+ E# v% T5 }7 Q- s) B4 {
复制代码
发表于 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
( W5 z7 s6 x  D' H8 M
2 N+ W8 k+ W; K- d" X7 zbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-10 07:09 , Processed in 0.102489 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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