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

2897 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 3 U- e+ A; u* L: C$ X

0 c$ _- b4 [" u# V6 b! X, e1 A3 R$ g

  1. $ V4 Q- x4 l; |+ u, U
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    - ^: B9 D! D( w( M

  3. . P1 q/ N5 m: r
  4. ### What we need ###" [! V" C2 h. _
  5. Naturally, we will need a MySQL server to store the data for us, this document # `6 H; P, l% i
  6. will not explain how this can be done - there are documents out there for the ! |1 v, f+ d' Z7 b. B0 N* R+ ]' M- v
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    , n& t4 Y+ U, U  G0 p
  8. and a user account (username + password) that has the permissions to do stuff9 q/ r- ?4 j, z3 @% X. S
  9. with the database. Additionally, you will need a vendor library installed on the8 I1 Y+ v( X( I/ [7 g) x, h
  10. local machine, this came with my MySQL install.
    + M2 U# {4 @- o' V5 a- v! T
  11. These instructions will not tell you how you might transfer your data from the% L2 K* ~6 E" h  }( [
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    5 g( s; b2 ]; f+ O* x4 ?8 T) P( R
  13. database.
    , q1 P6 l2 Y6 t, i+ k
  14. Some users have reported ways to import a SQLite database into MySQL, but at, i: y! M; m, E( V2 r' x
  15. the time of writing, there are still too many issues - check the current status2 q8 D1 N6 ^' f: H
  16. in the TeamSpeak forums if you are interested.# l' `! h: ?9 W* b
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    0 J% ~" V. H0 y. @1 L
  18. Borland was used. This driver can only interface with the client library that ) A8 S9 S1 b) ~' V4 E
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this0 v$ r6 _* V7 j2 t7 j+ b
  20. client library - basically all you have to do is to use a 3.x client library as
    ( ?  R, w( \, e9 u; P1 h. x
  21. "VendorLib" and a 4.x database to connect to.
    " D- D& h9 ?% ?$ v
  22. If you need more info about dbExpress, you can contact Borland.
    * C5 n7 ]2 u( K5 S( y3 |
  23.   ^" }/ {5 v! f1 N9 g' U' t
  24. ### Doing the work ###
    $ K3 `# u- ]4 _% n% Q; B. a/ }$ I
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, q8 H- e0 z4 z8 i. |$ T
  26. the perquisites right, just open your server.ini file, and add this section at- v0 R, e% g6 }9 N# G; T8 m
  27. the end:* _* h( L; v. {
  28. ---cut here---: U) o9 [4 w7 q% O
  29. [DBEXPRESS]
    ' y. Z1 p' [" I+ ~
  30. sqldir=mysql_sql/ @7 U1 L6 }" y, r2 P
  31. Drivername=mysql
    5 _. b: A; f+ L4 ~; C  S& F( N5 L
  32. Database=Your_Database_Name_Here+ s- e- B1 [: `: ~1 U+ s
  33. Hostname=The_PC_the_MySQL-Server_is_on0 `+ ?, L: t: l$ S; C8 }
  34. User_name=User_name_on_the_MySQL-Server6 v( p. b; a2 b$ Q& Z! W" ?
  35. Password=Password_to_go_with_above_user_name
    ' w5 _7 V% n( O! u: e
  36. GetDriverFunc=getSQLDriverMYSQL
    - ?  l+ k: F- Z  j% [; t
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    . |, A9 v( k% o5 S7 F4 ]4 ~7 q
  38. LibraryName=path_to_libsqlmy_libary
    2 q  h2 \! m1 Q5 C- x/ |
  39. Active=1' p4 F- I( K/ v5 k) ^/ I
  40. ---cut here---
    8 T  U7 C( F4 @6 }& H* m
  41. In my environment (a linux box with a MySQL server running locally) I have:
    * f8 w1 G3 \* R- m6 p
  42. ---example---) _# `; j5 w. k3 r  F) v! S
  43. [DBEXPRESS]9 V6 Q( w1 A% `$ S9 I
  44. sqldir=mysql_sql
    3 j; v; }$ |4 T$ l2 d+ x
  45. Drivername=mysql
    9 U# C; e. ~0 j1 c' D1 u
  46. Database=test
    ; [  B2 l6 f% D5 O2 z. M2 Y
  47. Hostname=localhost/ V$ k0 ^3 i3 P
  48. User_name=testuser
    ) i  q! J/ E. Y4 g# c
  49. Password=my_password
    ) X6 \" y; B) C$ E
  50. GetDriverFunc=getSQLDriverMYSQL
    ' ]3 c; J5 [$ ~4 Y# d. r+ g. a
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0* [$ \3 h' S+ w
  52. LibraryName=./libsqlmy.so& N; e# U8 D9 V6 t- o5 |) w: s
  53. Active=1
    & |6 W* a1 y! O! i* j( r4 T
  54. ---example---! w9 {# |" V! Y1 {

  55. 5 c+ I+ s4 c: O* K- Q1 ?
  56. On a windows box, also running the MySQL server locally, it would be:3 l4 U( u& `1 H% f0 {9 L
  57. ---example---- N7 ^; C+ M1 l4 Y+ c2 ]
  58. [DBEXPRESS]
    / x- T6 Z1 k: w# C; ^5 \
  59. sqldir=mysql_sql
    2 w4 A5 b- m  }$ X0 f/ ]* L1 A
  60. Drivername=mysql% j- Z( f6 r$ B8 _9 ~1 h
  61. Database=test$ b& S! j8 p2 w
  62. Hostname=127.0.0.12 Z$ J9 Y: _5 |! X
  63. User_name=testuser) t0 x1 S, Z. ?5 W: Z
  64. Password=my_password+ k0 h& [7 H/ V, q& s8 p% M0 g
  65. GetDriverFunc=getSQLDriverMYSQL; G$ @0 h. r5 }2 z
  66. VendorLib=libmysql.dll
    - g/ `6 T, l/ _# Q8 J* |. y/ O& O
  67. LibraryName=dbexpmysql.dll
    ) N8 z9 Y1 o6 D4 L/ T& L
  68. Active=1
    7 d! e: d* v5 \5 H5 p3 ~
  69. ---example----
    4 Y) g3 v- e& E0 ^) j
  70. - written 02.03.04 by pwk.linuxfan( S& \8 d! S0 h& }, S
  71. 1 Y4 l# T. M# ^% e1 k
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看# t2 t3 \; Q9 B. s" y
  1. ) }* q- K+ Y! D8 D0 _8 m! \- G
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ' F, x( ~) l+ f2 g( C5 ]3 R7 W: d
  3. # f& E% v  l1 N% f3 u
  4. # # #我们所需要# # #
    : d# w* x  L% R5 m9 k0 H# J
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    - R& c  h7 x- z* l  C  [
  6. 不会解释如何做到这一点-也有文件存在,为
    0 B( q5 n5 B$ {! `7 Q$ j4 l
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. J' f7 B5 f7 M& r0 q* v
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    $ O, W" v2 T# H$ d6 X: e/ x
  9. 随着数据库。此外,你需要一个卖方图书馆安装于- O: Z% ~& C- o5 ~& g7 D
  10. 本地机器,这是我的MySQL安装。 ( P' R, |% h- B% x$ ^7 Y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    & v# o( N7 I' u6 M
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL - Z$ c' A- O0 H( `- h+ [
  13. 数据库。
    . K8 b  i$ t( ^* S! W
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    9 H( r9 Y, P+ T7 f9 y
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    $ Y7 J& S2 Z4 q+ w, J9 u: r
  16. 在teamspeak论坛,如果你有兴趣。
    - H- n4 _/ ^* O" Q1 q9 Y! R
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    , M- q6 i, w: s( X5 J6 p
  18. Borland公司使用。这个司机只能界面与客户端库8 \) y# C# A) H) G, ^
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这# R# k# Y4 y# o7 }, b! V8 @7 ^; l5 L
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为1 z' C$ p2 D- D
  21. " vendorlib " ,并解数据库连接。
    & q+ i6 `, L" u, K- U
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ' a/ T2 g; a) k: `; f2 M  f1 g. [/ E
  23. ) ~3 L" }+ q7 ^1 R$ B
  24. # # #做好工作# # # , I! l, t- M& E. r- O; O% m1 t: P9 \! E' G
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    $ K/ g8 ?# I' V& d% e
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在$ C& k2 R2 H1 U6 N) j# r; u
  27. 结束:
    $ t8 v/ j7 Y2 Y+ U3 x. g
  28. ---削减这里--- 4 Q/ Y4 C. L8 }/ `0 h
  29. [ dbexpress ] 3 S. \2 p% t2 J
  30. sqldir = mysql_sql
    . X, b% ^2 {" D& T
  31. drivername = MySQL中' O, \- Z" o" q8 s) \' O' l( U* X
  32. 数据库= your_database_name_here
    9 B! Y# N& N% V0 w/ V6 F, W
  33. 主机= the_pc_the_mysql - server_is_on
    : ?0 y$ ]" a) x' E3 l
  34. user_name = user_name_on_the_mysql服务器$ {& i7 y2 h) h/ p7 |. t7 A
  35. 密码= password_to_go_with_above_user_name " V1 s  K# \5 j  }
  36. getdriverfunc = getsqldrivermysql
    8 |6 S- f; p  k3 l9 [( O6 V# ^; g
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 3 s3 x7 ~# G( z: a# w4 d
  38. libraryname = path_to_libsqlmy_libary 9 A* b' w% G" [  D6 }9 O4 E
  39. 积极= 1 " t' Z( k3 s7 {. {: h
  40. ---削减这里---
    + S: R1 f" g( ^9 g* v/ Y* @) n
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    0 }/ |9 a8 R' P- B. a4 {7 k$ b
  42. ---例如---
    % L$ m2 y* y8 z8 x2 U1 @; p+ J+ k
  43. [ dbexpress ] & R2 ]0 \8 `9 m+ U1 r
  44. sqldir = mysql_sql
    * Y4 P! s1 a6 `: f  a( W* M  a& w1 D
  45. drivername = MySQL中
    ( X/ u) \$ n" e; ^" p" l* j- P% p
  46. 数据库=测试1 E" ^* `; x7 G$ ?# Q8 Z
  47. 主机=本地主机; x5 m9 i& k% |
  48. user_name = testuser 6 l3 v* \/ P3 L( Q- y
  49. 密码= my_password $ P* P: l8 l0 u' e
  50. getdriverfunc = getsqldrivermysql " A  @0 J, O) q) |: B" A
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 * A; J; {, ]$ F# z
  52. libraryname =. / libsqlmy.so
    ) a5 j) h0 m0 Z
  53. 积极= 1 2 k1 o6 t2 C9 R% q- G% v
  54. ---例如---
    # [, D  d# I0 g* L

  55. 9 n' w5 e. I$ ?" S
  56. 对Windows中,也运行MySQL服务器本地的,那就是: . P) X3 a7 f" T$ y' @
  57. ---例如--- 0 p% M) I4 b/ u' S
  58. [ dbexpress ]
    ; D4 _- D6 \# x6 l/ s' o  J
  59. sqldir = mysql_sql % p1 b) D! |- r# }: ]' u4 C: w
  60. drivername = MySQL中/ z* B( o7 f, @& {) }! }' h; [* k
  61. 数据库=测试  ^# i/ `4 R' A& B4 \+ Z6 T. Z
  62. 主机= 127.0.0.1 2 Y' I5 S+ t8 ?5 ]" x
  63. user_name = testuser
    ! q+ l2 @( I  G" L4 \' r, d
  64. 密码= my_password ! o: i% l7 h& H+ v. ?/ Y2 I
  65. getdriverfunc = getsqldrivermysql ' ?' ]8 L7 C$ }! R
  66. vendorlib = libmysql.dll在" Y0 j$ ^/ @# \
  67. libraryname = dbexpmysql.dll ) g, h7 P  _' Z5 Z& I. k3 B: r
  68. 积极= 1 " c. q' I  F5 f
  69. ---例如----
    * O* T! R+ ^# x4 R9 a: ^9 y) A
  70. -写在0 2.03.04由p wk.linuxfan
    . G- S" L4 I7 i/ i
复制代码
发表于 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
" k1 F/ {* t) @0 I2 w, W; l/ e7 H6 h  Q0 Y4 s
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-14 21:54 , Processed in 0.105776 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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