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

3233 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan : U. u; c" |( x2 ?

" [7 S( p0 n+ {0 r. @
  1. 6 E$ R5 \! r. |
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    9 ?4 Y/ Z; y" Q( l( b4 R; H
  3. 4 W$ r; J* g, Q' d
  4. ### What we need ###
    ; Y8 C4 |; k( X! Z0 i- n1 C
  5. Naturally, we will need a MySQL server to store the data for us, this document % d4 j6 A. c' C8 j
  6. will not explain how this can be done - there are documents out there for the
    + d( j5 j% O$ f0 p( k& e* q: x! x) k
  7. interested. The requirements include a (empty) database for TeamSpeak to use: f3 o, j! R+ j! `7 c
  8. and a user account (username + password) that has the permissions to do stuff
    + U$ j. U2 u8 Q& R' ~% N' {8 J0 h
  9. with the database. Additionally, you will need a vendor library installed on the  G7 r5 T% n' X- j" o0 j
  10. local machine, this came with my MySQL install.- N+ A: K" N- h) \% t, p, R, @
  11. These instructions will not tell you how you might transfer your data from the
    0 G1 R  j/ k, l' N/ L7 {
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL3 ]* N+ X5 n  I1 H
  13. database.% q& Q) R& Z% V+ y5 s
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    " a1 ~5 Q# l( Q# m" Q# _+ b+ q& H1 g. c
  15. the time of writing, there are still too many issues - check the current status
    ! ^- ]2 w) |0 y# _) w2 A5 |( G
  16. in the TeamSpeak forums if you are interested.
    : Z& t& E) m; f* d9 d! N9 @
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from) Z0 a) P4 A; V0 v+ |1 }
  18. Borland was used. This driver can only interface with the client library that
    $ H: x! m! q9 p- e7 V# k# U7 T
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this  D5 R! z2 C$ w( b" c: F
  20. client library - basically all you have to do is to use a 3.x client library as 0 D7 I' P/ J& R
  21. "VendorLib" and a 4.x database to connect to.* H/ M* E( I% \6 E6 h5 C
  22. If you need more info about dbExpress, you can contact Borland.
    6 [8 h* g4 l2 r, I& O/ V9 Q

  23. % s0 o- K7 [- N: e5 |2 [
  24. ### Doing the work ###
    + @9 l# W" |# U
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    0 M8 o4 y5 n  `; C2 ]% P
  26. the perquisites right, just open your server.ini file, and add this section at
    0 L4 l$ U/ I1 e1 V5 g  B( R
  27. the end:
    7 T# p, ^7 r/ J
  28. ---cut here---. Y' d" S& ]- b1 _
  29. [DBEXPRESS]4 \" a' E0 Z1 Z' P4 o3 P
  30. sqldir=mysql_sql
    + _  M7 D0 T) z2 v) U/ D* D5 d/ D
  31. Drivername=mysql# [. {; W! n: O
  32. Database=Your_Database_Name_Here# g6 q( ?" S) U
  33. Hostname=The_PC_the_MySQL-Server_is_on$ L6 n' y( v& \
  34. User_name=User_name_on_the_MySQL-Server% ~8 [5 d* y& F& C9 o: j% Y& S
  35. Password=Password_to_go_with_above_user_name
    7 M+ E0 ~/ n3 Y5 i" u  ]
  36. GetDriverFunc=getSQLDriverMYSQL
    % E1 A6 ^; _6 h* T
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib: T# B1 {" o2 V( }) ]3 A
  38. LibraryName=path_to_libsqlmy_libary4 a$ |3 T+ f. f9 h2 j3 K- P
  39. Active=15 q7 N7 t8 S9 ~/ ?9 V+ A/ E5 E, F
  40. ---cut here---$ f$ h' ~" s; }$ X
  41. In my environment (a linux box with a MySQL server running locally) I have:
    $ q1 ^7 g- g4 G% }
  42. ---example---
    8 a9 D: W2 V5 [/ f( L1 |
  43. [DBEXPRESS]
    ! p/ I, l& `% Y1 ^/ D" @
  44. sqldir=mysql_sql/ u: F, ]& Y) l9 ~
  45. Drivername=mysql
    * z* v; w, V, M$ E5 d
  46. Database=test  m$ @7 [9 J& I; I
  47. Hostname=localhost
    4 u& R9 a( L! ?6 G9 X2 B$ U& @
  48. User_name=testuser
    % i! A, V/ b/ a% ]1 ?
  49. Password=my_password
    9 i( Q% J) l) `, X. ]" Z
  50. GetDriverFunc=getSQLDriverMYSQL) f( Z7 X- K7 J$ V4 y
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    " ^+ r9 h, C1 b5 a4 v
  52. LibraryName=./libsqlmy.so
    . k! A9 b! R3 e9 N
  53. Active=1+ q9 k% r9 \* p( v; r4 y( ^
  54. ---example---5 Y1 N! H( `' M. b3 o5 C2 V, |; j. q

  55. # `2 z$ j) X; j7 o4 Z$ b
  56. On a windows box, also running the MySQL server locally, it would be:
      Q! h$ z  d3 l/ B
  57. ---example---' m( k4 {6 I% l8 C' V' K% c9 S# T! b6 |
  58. [DBEXPRESS]" Y- D) r2 L5 v& v+ L9 ^4 x6 r
  59. sqldir=mysql_sql: v2 l8 E, @# r4 b; \( q
  60. Drivername=mysql
    1 V. b% z3 Y! y, f7 Y5 m
  61. Database=test
    6 C5 r+ ^6 Y/ Q8 M
  62. Hostname=127.0.0.1
    ; J, T5 x9 _' u8 D+ h' \
  63. User_name=testuser- M  v5 D  v+ R4 j4 c0 f
  64. Password=my_password0 N) _& H; ], `5 R  y# E* s/ v! I" G
  65. GetDriverFunc=getSQLDriverMYSQL6 j8 G8 o8 m" U, k0 a" q3 j
  66. VendorLib=libmysql.dll; W+ h7 P1 a+ F3 l( v
  67. LibraryName=dbexpmysql.dll& V( q+ d- \- g# D0 ?" ~6 i" D2 k
  68. Active=1
    8 \7 h$ l1 b% Y) b& C0 H1 i
  69. ---example----
    9 e# }- D9 Z& D5 k
  70. - written 02.03.04 by pwk.linuxfan
    : ^; ^5 D( ?' {

  71. ) H) d6 V* d5 o. ~# c
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看6 L' W# Y9 L7 P/ E4 y

  1. ( `2 z% g3 w; s) s/ b
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### , v' r! m; \$ [
  3. : x5 v3 i! ~. e: S6 _& g: O
  4. # # #我们所需要# # #
    0 F5 C* b6 T+ G  x: Q5 ~/ u
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    " H8 F( B+ n; K
  6. 不会解释如何做到这一点-也有文件存在,为' h: S; f: g  d1 C7 W
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用$ y/ g' z' [# u0 w
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西/ X9 A( V+ o& L- S0 E3 t$ P
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    . X  B9 J5 ]5 W/ h4 s* V* b
  10. 本地机器,这是我的MySQL安装。 + c1 L5 s* R1 V5 ^
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    1 _" |* w. x/ I& w# ~9 M
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    . p! ?/ J4 K0 _9 |( U; g+ l
  13. 数据库。 6 U3 t' `) l( m  j% o
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    . w6 E* O7 L8 U! p& B
  15. 编写本报告的时候,仍然有太多的问题-检查现状- S# A) e, m! Y( B
  16. 在teamspeak论坛,如果你有兴趣。
    2 Z; n' n; S* y: g$ W; v7 {
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    , C6 @' f* I4 s
  18. Borland公司使用。这个司机只能界面与客户端库9 Q3 J6 j* B" W9 _% P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这5 T7 Q8 x4 H' z# K3 s: W) R; [
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    . A% z3 e4 M/ j5 t$ A
  21. " vendorlib " ,并解数据库连接。
    $ [3 U" _0 Z6 o& Q0 E1 m
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 / ]0 ?7 y3 x7 T5 |$ t
  23. 3 X" x% m9 m& n( ?1 d* d# T+ \5 }' \
  24. # # #做好工作# # #
    . E. ]0 w3 q, i4 f
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
      ~- `  g9 ^3 B+ p0 q, V, p
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    % n5 X5 O4 ~# {9 ~
  27. 结束:
    / x2 p1 S4 ?8 T9 i/ X6 I. ^
  28. ---削减这里--- 2 F( }. m4 x& i7 Z) E% Q5 T, A
  29. [ dbexpress ]
    9 Z2 g9 [' Y- m
  30. sqldir = mysql_sql , f% n, c! @( i3 u1 J  X
  31. drivername = MySQL中
    ( ~" L4 l$ ]* [. m# L6 Y
  32. 数据库= your_database_name_here ! ?! Z0 V7 l  V; p% Z; \
  33. 主机= the_pc_the_mysql - server_is_on
    % W0 u5 F! A4 t; l* R
  34. user_name = user_name_on_the_mysql服务器* X2 |1 M1 M# A6 K" |/ H
  35. 密码= password_to_go_with_above_user_name
    + Y- z1 N; B1 M$ D5 r- x7 v
  36. getdriverfunc = getsqldrivermysql 3 c- z" N2 M$ g2 c0 p
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 6 T8 H* x" t0 d, Y9 y' }
  38. libraryname = path_to_libsqlmy_libary " |! j# X$ ^% z- k* A, l
  39. 积极= 1
    7 L5 r4 U+ o) a1 a2 q4 V
  40. ---削减这里---
    8 F* t! g' S: D0 i
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: * R0 V5 x# c0 @& J+ k
  42. ---例如---
    0 y$ K* h; B9 Y$ G
  43. [ dbexpress ] ( \4 M0 Y8 M. T5 M5 A5 a) J7 q
  44. sqldir = mysql_sql
    # t) @# I% V- G
  45. drivername = MySQL中
    3 @6 t+ ^3 K' e& z  Z
  46. 数据库=测试5 d& `- ^$ g# `! Z# j
  47. 主机=本地主机" ~: q$ X; k. d7 A( }8 e& r
  48. user_name = testuser
    * a+ O9 I$ i6 t( L. e; z
  49. 密码= my_password
    ( V, i% H: c/ S% t3 A# {1 O
  50. getdriverfunc = getsqldrivermysql ' y: z' q7 v) z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    5 r) b, U# D- Q/ b  Z
  52. libraryname =. / libsqlmy.so " V8 Z% O7 ~6 a" |
  53. 积极= 1
    7 V4 x! Z; E' |% P% E# |
  54. ---例如--- & T: C; F: E3 Y' d) e7 G% O! v

  55. , g( C  E8 y) @
  56. 对Windows中,也运行MySQL服务器本地的,那就是: . Y& @# [& U! u0 ]1 s  ^  M
  57. ---例如--- ! R" \. w: \& T) N9 p7 x; k; v
  58. [ dbexpress ]
    1 m% @& ]& t4 I) J' M# c# V
  59. sqldir = mysql_sql . S, |! |( Q7 _
  60. drivername = MySQL中
    1 S& l( t+ Y/ m  W7 ^3 D
  61. 数据库=测试" n1 _7 R4 u4 x- _4 S; r' {; E( T+ K
  62. 主机= 127.0.0.1 & L; ^4 }  h! v4 Q" p  S% x. S
  63. user_name = testuser
    3 X' R4 y/ m6 s
  64. 密码= my_password , M# ]# x# o$ B: P, R( Y
  65. getdriverfunc = getsqldrivermysql 8 ~- }( |* \: }. R8 w
  66. vendorlib = libmysql.dll在* N8 |7 w5 a# G1 u* W
  67. libraryname = dbexpmysql.dll
    ; l1 u$ Y) Q3 d' N* m' n) o$ A7 c- }
  68. 积极= 1
    2 |! H9 a) [- f) X2 v0 H& S
  69. ---例如---- ; S& u" I! s2 A* B: @& s
  70. -写在0 2.03.04由p wk.linuxfan% g, x# x7 i- r  `6 N& p% U- d; |
复制代码
发表于 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
( Y! E' [4 R( \& F
6 F& M+ h" p+ q% x7 ?- Fbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-26 05:37 , Processed in 0.101546 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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