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

3113 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan $ y- b# l& f5 F& x$ W" k/ F
- Z+ k1 ^$ D$ n
  1. 6 y8 s1 Q5 e( V- o2 L: @
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######" @1 J4 g! s, Q+ [% b3 @
  3. 9 D: D+ {( L% E7 o- n. n
  4. ### What we need ###7 l' K# |. x1 @7 n2 S. \' _6 E
  5. Naturally, we will need a MySQL server to store the data for us, this document ( C% `! `: B" |3 D1 l6 t0 }: D/ x
  6. will not explain how this can be done - there are documents out there for the
    0 g" H( ]* S2 L5 U
  7. interested. The requirements include a (empty) database for TeamSpeak to use! k9 s7 {- B0 {
  8. and a user account (username + password) that has the permissions to do stuff' d- Y4 X7 Q6 T5 H. T: |
  9. with the database. Additionally, you will need a vendor library installed on the
      k' @5 e" s; m* P! d( x( V4 n
  10. local machine, this came with my MySQL install.
    ' H- X/ r0 P# A9 ~% Y
  11. These instructions will not tell you how you might transfer your data from the
    4 G: |1 D* Q7 _" ?+ u: F
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL- j. [& O# i1 B
  13. database.# i# G# d/ k# v( e( r5 H
  14. Some users have reported ways to import a SQLite database into MySQL, but at" [+ c8 V0 E" R9 o6 M0 b
  15. the time of writing, there are still too many issues - check the current status
    # H# b; l% x) n2 K' P/ E
  16. in the TeamSpeak forums if you are interested.
    % r" s& e3 V( n5 a: `8 S8 O
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    , b: ^9 @8 [0 _, O1 T; t) W
  18. Borland was used. This driver can only interface with the client library that + {4 @8 K& K9 W, ?
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    * x7 }* d7 G! ?7 V0 ^! y/ s
  20. client library - basically all you have to do is to use a 3.x client library as * v7 r+ S: h5 Q# x
  21. "VendorLib" and a 4.x database to connect to.
    5 \- o9 g+ A: M2 \
  22. If you need more info about dbExpress, you can contact Borland.3 \' D7 @- A- V& C& u5 k9 O; d
  23. 2 x0 }" J& m! F+ B; j
  24. ### Doing the work ###3 y# c3 R. A: N! G6 a1 R; [
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    % h; |) v' I1 Y) L8 i8 @2 |
  26. the perquisites right, just open your server.ini file, and add this section at" X/ Q4 s. g2 K2 x. \/ j  g2 J
  27. the end:( _* O8 v/ ?& s
  28. ---cut here---
    - f1 B$ Z1 J  X# q6 C+ {6 |4 q
  29. [DBEXPRESS]% ~: E9 G$ l8 Q, s: {6 G0 A) l
  30. sqldir=mysql_sql8 Z' D' _9 t9 ]2 Z$ w& T
  31. Drivername=mysql
    4 q4 S9 {/ a8 R; T7 i& D
  32. Database=Your_Database_Name_Here
    ) b' [) U0 I5 @3 F  b. t
  33. Hostname=The_PC_the_MySQL-Server_is_on, G5 Q" ~- w3 v, x0 u
  34. User_name=User_name_on_the_MySQL-Server
    6 K& \$ Q# E, J4 t7 B/ ^3 }
  35. Password=Password_to_go_with_above_user_name
    5 u/ B9 A6 E+ q5 m" Y. p
  36. GetDriverFunc=getSQLDriverMYSQL+ x  c+ x3 r  i- u" r- Z$ E- d
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    . L* v2 @; u- j0 R% m* t' g" P
  38. LibraryName=path_to_libsqlmy_libary
    * a( f# _) d4 _" N3 H( }, r2 c
  39. Active=1
    : ?& i. q. ?* p4 x9 Y. a
  40. ---cut here---
    . W" f1 U3 X6 S/ T
  41. In my environment (a linux box with a MySQL server running locally) I have:" |4 R. V2 \& r' i
  42. ---example---
    : S& ?. z; \% c! B8 D
  43. [DBEXPRESS]2 A5 f' Z% [' j! t+ E' n
  44. sqldir=mysql_sql0 J: a4 N( t( _$ ]* z# R
  45. Drivername=mysql
    % h4 v7 {2 `0 O( w8 S* e3 q' Q
  46. Database=test
    ! I* }" r4 ]& ~$ r' T9 g
  47. Hostname=localhost, L4 x  I' x3 u1 x5 |6 g5 n2 v) A
  48. User_name=testuser
    2 g. Z$ ^, H" M" m
  49. Password=my_password# ]4 V; D. A6 w! E* R' w
  50. GetDriverFunc=getSQLDriverMYSQL" R: N/ ~/ B5 e+ a
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0% z4 |+ G+ t- y3 e! z, ~
  52. LibraryName=./libsqlmy.so* R3 z" `7 Y/ @# K
  53. Active=1
    2 h& B) T# h9 z0 o
  54. ---example---9 M7 W. W$ F7 y0 z

  55. 8 f- v9 \6 y' ~6 ^# J2 c2 B
  56. On a windows box, also running the MySQL server locally, it would be:( X& q* v' }) X/ P
  57. ---example---8 Y% f! a; R) A2 ]
  58. [DBEXPRESS]& t( C: s; U5 r; q6 E
  59. sqldir=mysql_sql9 A9 m/ d0 J1 H, M0 Z* |
  60. Drivername=mysql
    5 F0 A3 U/ I& J+ W( M
  61. Database=test
    # Y& l2 c& L! S- l, P' f* S
  62. Hostname=127.0.0.1
    6 W4 \% [  U8 t, p7 y8 B0 R0 y
  63. User_name=testuser
    : D  W  N, i, N. j4 Y6 V( F
  64. Password=my_password7 N" {1 h, ~( ], p$ {; n
  65. GetDriverFunc=getSQLDriverMYSQL
    . n4 `# \4 V/ _
  66. VendorLib=libmysql.dll" |! J' [; i7 s! D$ e2 K% v
  67. LibraryName=dbexpmysql.dll
    3 U8 [8 q8 G, s$ |: |; i& Y/ d
  68. Active=1
    ! g) o7 v; \6 u- E6 n
  69. ---example----& {7 c( l1 f6 c; {7 }# [- B
  70. - written 02.03.04 by pwk.linuxfan4 X  I6 l  @1 N4 A9 [' Z% s

  71. $ o  [# ]7 m) n# v# W1 u/ G
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看' P1 H0 z, L7 A  a& j

  1. ( Z' G0 K: K/ C- ?' S, B0 ~4 W
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    1 ~3 B+ T# V: g  H9 y. c

  3. & L* E6 F0 a" ^9 D* a- R" [$ E
  4. # # #我们所需要# # #
    , J$ g! \; J  v# I2 E( m" p6 G
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    / Z- O$ [3 r0 {' g' s  Y
  6. 不会解释如何做到这一点-也有文件存在,为
    % K, }$ U& a6 |4 I; S5 I, j. K
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ; B& d' @. V( Y* M" r
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西4 j# p1 V! E- G% v( ?
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    , e6 i8 o; F5 W* _/ Q( W
  10. 本地机器,这是我的MySQL安装。
    ( J) O9 h1 c$ x
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    + k4 M6 z1 V0 B$ L# z7 S
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 9 r" G0 D( ]2 Q: W1 k) o
  13. 数据库。   I" l- Q: s- z! a  j% C# b
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    - ~0 S; _4 a/ h
  15. 编写本报告的时候,仍然有太多的问题-检查现状, C# K4 H& X4 D# ~- }( M
  16. 在teamspeak论坛,如果你有兴趣。 5 h3 t# k( H5 x7 c9 a) X+ \6 J) g7 P( {
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机) A6 C5 `- N( l
  18. Borland公司使用。这个司机只能界面与客户端库
    $ {# h: V- F% c
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这& _* C/ A; l. s/ f' ^! l7 J9 U/ I
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
      e* v9 N2 O8 }8 C# w: f+ L! r
  21. " vendorlib " ,并解数据库连接。   t1 k1 ^0 [* g1 \# _3 q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。   d; E4 [  W9 U9 q+ d( D; j' o" t

  23. 5 C, d/ f+ L: T3 z7 x# u+ b% m
  24. # # #做好工作# # #
    9 k. H5 s- \  e5 Y, C/ U+ o
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ! x# k6 ], _( |0 V
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    6 d$ i7 ~+ n5 ?: h8 M4 Y& B- |
  27. 结束:
    / z- q: J8 M! a0 s8 I
  28. ---削减这里--- 0 B: o& e6 a7 x1 x5 n8 e
  29. [ dbexpress ] & |% z$ q0 p9 `( F; L; O/ b
  30. sqldir = mysql_sql 2 T- o+ B$ s; c) K% a- I, I
  31. drivername = MySQL中
    4 F& H5 Q& ~; f; i( Q5 z. f5 [6 s" ~
  32. 数据库= your_database_name_here
    - N8 y+ I; D8 N) Z. X. O6 f
  33. 主机= the_pc_the_mysql - server_is_on
    $ F6 f' m; S7 Y$ g6 E) t' ^& Y2 W
  34. user_name = user_name_on_the_mysql服务器+ ~4 `' m% ]$ i- E& i' U2 V
  35. 密码= password_to_go_with_above_user_name
    - @, g: j& b3 D, l& H& F) g8 _
  36. getdriverfunc = getsqldrivermysql
    % k& N7 G0 Z  W* O+ s
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    8 ?2 a) t0 ?0 X! L4 r
  38. libraryname = path_to_libsqlmy_libary
    7 l% {* c, |; w( |' U7 d
  39. 积极= 1
    % ~6 L) T: i7 D' r5 _; `6 q
  40. ---削减这里--- 0 K: O/ p& i0 l" b
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 4 F! p6 ]2 m2 r  R2 w
  42. ---例如--- 4 e, t! t+ J6 y  B% w; X
  43. [ dbexpress ] 7 ^, D% X2 ~7 S2 |1 w
  44. sqldir = mysql_sql ' H8 K% X! C) B7 r4 q! Z
  45. drivername = MySQL中/ F- M& d2 Q4 q
  46. 数据库=测试& d& ~' ?( I9 H' P# {. b
  47. 主机=本地主机$ D! n' Z  M7 V8 b, r. y3 E
  48. user_name = testuser
    , d) t% a! v; u/ g+ n! u
  49. 密码= my_password
    9 J0 `4 h/ f# I- E& N
  50. getdriverfunc = getsqldrivermysql
    3 O4 m3 B3 p8 w/ k  E
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    8 i  A/ N! u) H( ^$ [: @- p  w$ ~  m
  52. libraryname =. / libsqlmy.so
    2 x2 r$ c; R6 l
  53. 积极= 1
    . X* O6 ~  y% f) o  o0 ?
  54. ---例如--- , A0 B0 U+ W& ^, g; l/ S

  55. # T: ]# J4 q( M4 D+ ]! D# |
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 0 _; T! g' z1 y; A. Y6 k0 B* \
  57. ---例如--- , n; s4 B1 Q% h" j
  58. [ dbexpress ] - C$ y5 S. K* w$ m) n
  59. sqldir = mysql_sql ! c! Z6 F; @" p- A* X  D, z& e
  60. drivername = MySQL中9 }! g% Z  N% b5 h/ L8 v$ g
  61. 数据库=测试
    ) b( ]* Z* E4 j8 @6 G
  62. 主机= 127.0.0.1 2 \5 P, |2 {5 x
  63. user_name = testuser . s" w& h  O0 [/ k; ]
  64. 密码= my_password
    " Y! T4 w8 P; q6 X1 U
  65. getdriverfunc = getsqldrivermysql
    7 b  j2 A; J3 c  i9 O/ A
  66. vendorlib = libmysql.dll在
    ; F9 ?3 i9 i0 c
  67. libraryname = dbexpmysql.dll ; G/ |! C4 b/ L) \( \+ [. a& a
  68. 积极= 1 & O: H) m2 `9 x' R3 q+ C# H3 b1 R0 @
  69. ---例如----
    . h# ^2 k/ T/ A3 J
  70. -写在0 2.03.04由p wk.linuxfan! L; Z, X5 {; p# T$ m, Q
复制代码
发表于 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* f) P$ P( g# _2 N+ r

% \$ c' }# ~/ Z- u0 ?$ P/ qbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-4 11:40 , Processed in 0.120098 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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