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

2562 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
+ j% `5 s; L$ Z3 a: ^$ N, ~3 T1 ~  g: L: Z. m( U7 ^3 K! B
  1. 4 ]% F* Z8 g1 w& Q& K5 ?) g
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    6 b8 m7 Y5 X/ v+ P/ B! N' [' Z- v

  3. # |& l: V3 A7 L4 H3 |  M; R
  4. ### What we need ###, q2 M+ T+ l; E$ _# \2 M
  5. Naturally, we will need a MySQL server to store the data for us, this document
    4 @8 h5 K5 N% M# j
  6. will not explain how this can be done - there are documents out there for the ! r$ _. q2 d8 \( C8 y  @  t
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    3 }, u$ b) h0 ^' D  k6 {
  8. and a user account (username + password) that has the permissions to do stuff
    6 i& A; P6 [/ X! u5 k; |5 T/ b
  9. with the database. Additionally, you will need a vendor library installed on the& ?* j1 \  ^& F0 G! s$ u% W# U
  10. local machine, this came with my MySQL install.
    2 A: p7 m) R5 [1 }) u+ [
  11. These instructions will not tell you how you might transfer your data from the3 _3 H% j3 r$ W
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ! o. S3 d* j+ X7 T
  13. database.; q6 N% w+ i1 V( Q9 }
  14. Some users have reported ways to import a SQLite database into MySQL, but at& l/ f' A# \+ E, c$ A& B6 i
  15. the time of writing, there are still too many issues - check the current status
    : b' X) D; V& u
  16. in the TeamSpeak forums if you are interested.
    ; }/ n) n8 ?) Y% K6 I- t' e7 I
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from( g; m) k2 t4 y/ `2 S& p1 w
  18. Borland was used. This driver can only interface with the client library that
    / G4 V1 X# ?: H, t' K  B9 s
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this+ g) _7 U# O6 R9 Y" Q8 ~
  20. client library - basically all you have to do is to use a 3.x client library as
    1 a, h) t, w1 S2 G1 R0 I
  21. "VendorLib" and a 4.x database to connect to.
    " w0 C8 X. M+ l" B) e
  22. If you need more info about dbExpress, you can contact Borland.* Z4 _5 v9 y# H- @7 ]. v& _
  23. 7 P8 @( @! g* M# K1 S
  24. ### Doing the work ###
    ( i& Y- n* y$ d7 i
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    5 m. H2 g9 d* }; B) k. ^
  26. the perquisites right, just open your server.ini file, and add this section at, I6 e5 n8 a5 }% U8 ^2 ?0 O/ M7 `8 e2 |
  27. the end:- y1 j& U2 ?. J% B; {) n: Q
  28. ---cut here---
    2 p' D# _5 A0 d5 s7 N( G& ?: B. h
  29. [DBEXPRESS]1 P$ R: _) V6 V7 x- F/ q) G8 O. u
  30. sqldir=mysql_sql
    % p7 M" a$ M5 U: Z0 A
  31. Drivername=mysql
    0 Y3 T& Q8 D$ P6 a: m$ D
  32. Database=Your_Database_Name_Here4 ^3 O3 F/ J  r! G2 L5 G
  33. Hostname=The_PC_the_MySQL-Server_is_on( x4 V; w( a" T8 J: m
  34. User_name=User_name_on_the_MySQL-Server+ b! w' k4 j: t& v5 G1 A
  35. Password=Password_to_go_with_above_user_name) e7 v5 ^# d- A0 E$ y0 A  U
  36. GetDriverFunc=getSQLDriverMYSQL* J% _! f. t, A" E: a$ O& W" p
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib$ `3 E" K% O' Z5 y0 E
  38. LibraryName=path_to_libsqlmy_libary
    : r6 W  i" ~: @" J- V8 C/ J$ x
  39. Active=1
    & t: h& J0 I+ \# i: g. Z
  40. ---cut here---6 K$ D6 `, ^, O1 o' V$ T4 a. X
  41. In my environment (a linux box with a MySQL server running locally) I have:+ t! o" B3 g! V, q
  42. ---example---
    * U4 P/ O$ I9 \* t
  43. [DBEXPRESS]9 l! g2 H* h; ~( [1 ]
  44. sqldir=mysql_sql
    : K& n! d7 G# J+ [5 B6 O# y
  45. Drivername=mysql
    ; W4 \8 J# v! l7 \5 t
  46. Database=test
    : p7 U) F) x( S- p- n# G: r+ ?, B
  47. Hostname=localhost
    . `5 m4 b2 h: Y1 @- n
  48. User_name=testuser
    1 ~* h. C- B3 H
  49. Password=my_password6 _+ j. ?" n' I5 q
  50. GetDriverFunc=getSQLDriverMYSQL
    5 j9 I$ S  B7 ?' e0 w+ o
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - @* U+ K" O3 g
  52. LibraryName=./libsqlmy.so
    : E4 ~& r6 e/ L+ Q* K, B5 ?* `
  53. Active=12 N& Z/ Z" A& L8 w' M, e
  54. ---example---
    1 s+ [/ Q# T# n" Y/ R5 ?) v$ ]9 ^
  55. ) e! V' g) u6 X/ s8 ^
  56. On a windows box, also running the MySQL server locally, it would be:% A' J) ]: q! B1 i
  57. ---example---" W: f; R' Z; ^( w
  58. [DBEXPRESS]5 y2 m( |7 I) o" t& B& Q
  59. sqldir=mysql_sql
    $ u$ d! f2 D, @8 N3 A6 M3 w
  60. Drivername=mysql
    & }: v! j- p, g/ D
  61. Database=test
    , z& [$ f# ~7 z" h
  62. Hostname=127.0.0.19 q- |; J, Q! l/ z3 H# P6 ^
  63. User_name=testuser! e' X. P. Z9 @) z$ |) Q! R8 k
  64. Password=my_password
      G1 ^' f/ E8 K9 ~1 j
  65. GetDriverFunc=getSQLDriverMYSQL2 J; b+ j6 X- C2 \+ y' k
  66. VendorLib=libmysql.dll
    - M- @5 _, ]! p
  67. LibraryName=dbexpmysql.dll& V5 B) N4 t! n. W5 K
  68. Active=1
    8 {6 ~/ w$ w. G$ b1 u
  69. ---example----: a& t6 h2 x$ ?, c+ [" r' x" p
  70. - written 02.03.04 by pwk.linuxfan4 _# J, r  e. Y) }$ X
  71. 0 d/ M6 p5 w% D) R- ~
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
0 B' l# s) r. m( j& s6 j+ G/ }

  1. , N" V& t! Z+ e5 W
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    " u8 u6 H0 A4 o" m# d' x/ u  v
  3. 4 R, J% Q, W) c/ V' }2 j+ i3 V
  4. # # #我们所需要# # #
      n% x' d8 ?% z2 i
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    5 W9 m- G9 \7 o. F* u# ~0 Z1 B; [
  6. 不会解释如何做到这一点-也有文件存在,为! z4 ~9 |: z% Y% _9 I2 z+ [+ Y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用' D5 z4 a6 m: }" b4 r
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    # I8 Q2 e7 y% E5 f- v5 s8 b/ s
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ' B* N: t8 b+ ], e0 G0 g1 Z
  10. 本地机器,这是我的MySQL安装。 6 ^. I. Z( q6 ~) P" x: Q. D# I: K
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    8 V8 P% Q( {2 p3 L" L, Y7 S
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ) T3 l+ L. T. D/ s
  13. 数据库。 . Q4 S% @% D# x) w6 X% @+ D
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在3 Y" D. a' R5 G5 W9 X1 X  i9 M1 D2 |
  15. 编写本报告的时候,仍然有太多的问题-检查现状$ Q7 h. c/ e4 O
  16. 在teamspeak论坛,如果你有兴趣。
    2 |6 R9 F1 p) o& I8 Y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# n4 O, `8 l. x# U% g$ I
  18. Borland公司使用。这个司机只能界面与客户端库
    1 W5 P) Z( k: R0 \: e0 s
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这$ N. ]8 m% K% {8 C! e) c5 N
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    + {& i( I+ v3 |$ m' b0 i" B/ n- ]* X
  21. " vendorlib " ,并解数据库连接。
    3 ]4 v* M* j6 n. z& c
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    1 {* [" I" P3 c0 [
  23.   M( b- S8 z3 z1 l: E9 N# G- U
  24. # # #做好工作# # # 1 |" g) ^& K$ B8 E
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都8 _5 r% J! h. g. H: w: `: w+ j" ?
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    2 p! }' q, W' ?& A! M1 F7 r7 Y
  27. 结束:
    ( v7 j/ }( R- T9 @# ?5 ]
  28. ---削减这里---
    1 E1 F& i7 r" j, h. ~
  29. [ dbexpress ]
    - i% D( u. R' |) E+ m
  30. sqldir = mysql_sql 6 \, d% `% `0 }/ Y* Z, b
  31. drivername = MySQL中
    / \+ A% l2 l$ [( Q) ^' b* E. R
  32. 数据库= your_database_name_here
    ' K. G& z% _2 I) e6 F
  33. 主机= the_pc_the_mysql - server_is_on 2 ^) U% t7 f2 A3 \
  34. user_name = user_name_on_the_mysql服务器' F/ q4 S/ z, c. Y' Q( C
  35. 密码= password_to_go_with_above_user_name 5 _/ B; F- a* F3 k% f# \) Q# G; A
  36. getdriverfunc = getsqldrivermysql 8 Y  B) \% _/ i1 n# k, m! u
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 8 U9 P2 @# k& z0 `/ o
  38. libraryname = path_to_libsqlmy_libary ' I! n0 d* q  e) r. B2 Y: j5 X, e
  39. 积极= 1
    7 Y" v& X/ D* w* @, Y
  40. ---削减这里---
    ) G, J* E5 b0 t1 V
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    : C" [' Q, @( h
  42. ---例如---
    8 \# R. H: }/ _/ A, u
  43. [ dbexpress ] : g- E' A3 c0 z5 t. k& p
  44. sqldir = mysql_sql 4 f) i6 Y% m+ W5 ^/ h( ]
  45. drivername = MySQL中( g% s4 J- b& R5 }
  46. 数据库=测试
    / f' [( |2 P$ X) v) Q
  47. 主机=本地主机
    % Y8 a  \# I  V8 ~8 c
  48. user_name = testuser
    / j/ z( S/ l9 n
  49. 密码= my_password
    ' ~8 V" h& ?9 T; L5 W9 l2 q& d
  50. getdriverfunc = getsqldrivermysql
    * ]# _$ e  L. s% x/ s: c* s: _
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    % L$ u, ?+ p  H% i- Z
  52. libraryname =. / libsqlmy.so : u* a; g& w! f5 a" [
  53. 积极= 1 6 H5 c. D( A2 v' o9 @+ x
  54. ---例如---
    ) s$ n; I0 j% c$ @# I( R& R  ~1 D
  55. 8 ~8 }' a, X: [  B( j. d' [
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    $ s8 t3 _9 h+ V1 O6 v' r
  57. ---例如---
    9 p7 U: U. @4 x0 y3 j( P8 y
  58. [ dbexpress ] + |+ G! i+ S6 c8 `
  59. sqldir = mysql_sql
    * d8 n6 x9 Z7 j
  60. drivername = MySQL中
    $ M" c9 U! \1 ^; i" u* y7 q
  61. 数据库=测试
    & h+ Y7 y. f6 h0 Y
  62. 主机= 127.0.0.1
    1 ?( ~  l* r& z. K
  63. user_name = testuser & H9 [1 z  ^2 Y* W: M* B
  64. 密码= my_password 7 ?$ @" [' p/ k; s, Q7 ?9 D
  65. getdriverfunc = getsqldrivermysql
    ' r6 b9 I9 g' m' ~
  66. vendorlib = libmysql.dll在
    - G6 [1 b8 t9 k- j/ [, z7 [9 D
  67. libraryname = dbexpmysql.dll
    ' {  E, z) f" w. G
  68. 积极= 1 8 l# s4 X7 K7 L' ]; f  G
  69. ---例如----
    8 c0 c6 o$ g1 K1 l2 {
  70. -写在0 2.03.04由p wk.linuxfan% M3 f1 q* U. `- B6 w8 w" U5 y
复制代码
发表于 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
- B  ^. B& l* D. M1 U9 I& r7 m8 h- g2 p) I) u0 o4 p' M
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-28 20:06 , Processed in 0.120476 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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