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

3136 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 1 L3 ^8 M2 C' F9 Q) |- l

; e& t! Q) ]1 o3 o4 R, ]  M
  1. 0 o4 m  k6 N8 n4 Z! |& x7 U: z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######( a- Y& I8 b! x0 K

  3. # s. T0 e! r9 G, F7 u
  4. ### What we need ###
    9 r/ h( M4 U4 N& k) p
  5. Naturally, we will need a MySQL server to store the data for us, this document
    : d( `+ d, I" b8 Z- U0 B
  6. will not explain how this can be done - there are documents out there for the
    0 y/ e) s2 u# K3 j% P& c2 R6 _
  7. interested. The requirements include a (empty) database for TeamSpeak to use7 N, B! _# W2 P, L# r; A% g# T
  8. and a user account (username + password) that has the permissions to do stuff
    ( v4 Y& j* E! |
  9. with the database. Additionally, you will need a vendor library installed on the
    : \. R5 E% r* u
  10. local machine, this came with my MySQL install.
    * ^! A! ?$ X, K# \5 n6 p
  11. These instructions will not tell you how you might transfer your data from the# i6 c: V1 C& V
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL/ a" g: i  H" j( S6 S) R# G
  13. database.- Z( {( u! O, P
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    - U$ w) [4 @2 ~, b" b
  15. the time of writing, there are still too many issues - check the current status% J; J" k/ B4 _+ V) `' N) X6 O8 l, E
  16. in the TeamSpeak forums if you are interested.
    # t- r# ^7 q: b
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from9 h- G: }1 O  P/ Q
  18. Borland was used. This driver can only interface with the client library that
    9 `+ q( ~. D4 s5 b$ I
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    6 `8 r' ^9 h0 ]9 x! j# y+ B3 ?  s
  20. client library - basically all you have to do is to use a 3.x client library as . [+ o( _" {. S: F
  21. "VendorLib" and a 4.x database to connect to.0 d$ E0 Y2 B: L# _# i4 e
  22. If you need more info about dbExpress, you can contact Borland.; n* q; Z8 n( c
  23. # L  u2 f. b6 f" @6 ^+ c: i
  24. ### Doing the work ###
    1 q6 f" K# P' X0 _! E
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    4 s6 `( p3 ]6 ?* \( D  q* t! g
  26. the perquisites right, just open your server.ini file, and add this section at) K8 N  }: Q% d+ ~6 ]' ^# G& t
  27. the end:
    & x& U+ j$ a/ ?8 h, i$ B; U5 q
  28. ---cut here---
    * ^4 i& z$ z" o. A9 ~* r+ L
  29. [DBEXPRESS]3 y5 h3 \. t! `: _
  30. sqldir=mysql_sql
    ' k7 e/ }% l8 ^7 X! A. O4 H# ~( I
  31. Drivername=mysql
    ' B1 I( b8 J6 f& L% q" W! |
  32. Database=Your_Database_Name_Here, K. S7 v! z3 `9 o
  33. Hostname=The_PC_the_MySQL-Server_is_on
    + G' D9 r; A7 I2 _, n: Z& Q8 I, n
  34. User_name=User_name_on_the_MySQL-Server8 D' n2 r7 h( |9 S
  35. Password=Password_to_go_with_above_user_name
    0 f3 |, X' b8 k* e
  36. GetDriverFunc=getSQLDriverMYSQL
    ) w- Q  o# s8 w0 \; `+ N3 t
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib" Y% H$ w- l* {. ?  U( q5 f5 ]
  38. LibraryName=path_to_libsqlmy_libary5 P0 k' g# i9 i
  39. Active=1
    2 f) O) y- s% J# b1 q2 C
  40. ---cut here---/ I5 a2 S, Y, i1 R- x6 X0 ?9 f/ H
  41. In my environment (a linux box with a MySQL server running locally) I have:8 k0 @  N* g: c; ~
  42. ---example---1 C4 i' \6 y4 U2 K( d4 g
  43. [DBEXPRESS]% y) ~7 Z6 P. R4 z& A! G
  44. sqldir=mysql_sql
    1 X1 V4 ]- g+ M+ D% }2 u
  45. Drivername=mysql9 k  _$ }9 F+ ^* Y
  46. Database=test5 L7 o! g7 }# Y( E  ?0 X" V* f% c
  47. Hostname=localhost  }/ z5 a$ u8 u* M) }5 p7 p
  48. User_name=testuser; j5 w/ p. o, y
  49. Password=my_password
    ) v3 G( P* v- P  O" j2 I
  50. GetDriverFunc=getSQLDriverMYSQL6 \$ C0 }  o, A; |- W( s) d
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    2 o1 D  Z, ?3 i) {+ K
  52. LibraryName=./libsqlmy.so  U: N$ l/ c. n% N! @
  53. Active=1
    9 G$ A( [; X  E# Q' S4 b* ]
  54. ---example---
    0 U, O) V; A! O8 W* ~

  55. 4 w1 z. x, X+ b3 ~
  56. On a windows box, also running the MySQL server locally, it would be:; I& q: l% Y0 \7 H$ ^
  57. ---example---
    . }* A+ f0 E5 N( Z. k' ]$ T
  58. [DBEXPRESS]. `0 G+ a% C* `$ C, g
  59. sqldir=mysql_sql
    5 C/ c! h' o$ G2 E  \
  60. Drivername=mysql
    / i* _" E1 ^' k' |; o: m
  61. Database=test
      v; A3 {/ X+ d+ D4 X- {
  62. Hostname=127.0.0.19 |* s9 P) Q7 Y. P; X
  63. User_name=testuser9 C& h% G( {+ ?4 A2 B0 }
  64. Password=my_password
    % K1 w6 |) {( C7 z
  65. GetDriverFunc=getSQLDriverMYSQL/ x0 g( A4 Q" Z- b% h( ^. L( N
  66. VendorLib=libmysql.dll& N7 ^4 Z5 g! {* D6 B- J, E
  67. LibraryName=dbexpmysql.dll* t; A0 m* d. s7 r/ d( U
  68. Active=1
    * J' ^  y1 H' I; r1 |  T7 u9 N, @
  69. ---example----/ U& U; O& W9 O& B) B! L
  70. - written 02.03.04 by pwk.linuxfan
    : Y3 D% L, ]. ?3 x
  71. # P, T0 G8 a5 v3 {: _
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看7 t: O8 F0 ]5 s9 P

  1. 0 H" Q& M4 q) W0 p0 n; e1 D" O% S
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ' f6 |( `: v; ~& @* M: H

  3. " V* O3 h$ p. \" Q2 x8 I- }) a' J8 Y
  4. # # #我们所需要# # #
    # `8 v; A" H+ I4 l# f
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    - m2 ]3 g$ o0 u/ A  H" d3 V7 `# I
  6. 不会解释如何做到这一点-也有文件存在,为- Z7 ?& F7 X' x3 P. o
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ( Z; r: g1 b* F6 V+ J  w  N% @$ n
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
      q  s, H. q* F9 I; w
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    5 ^9 O  S3 A* E& v. }
  10. 本地机器,这是我的MySQL安装。
    ; y/ b8 l/ Y$ N( W2 Q, ?
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ! O$ t5 D2 d5 i; L7 w/ ~
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL * Q* f) t* k) Q: ]
  13. 数据库。
    8 l4 k5 F. x/ J0 x
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ! v8 z1 I$ u# L8 V
  15. 编写本报告的时候,仍然有太多的问题-检查现状  J! U: `8 h/ G. Q$ I
  16. 在teamspeak论坛,如果你有兴趣。 ) N4 t: ^! C7 g: i
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    3 }* h' i9 W- l1 W
  18. Borland公司使用。这个司机只能界面与客户端库# {$ d% U! \0 X- V5 X9 P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这) [, S6 f9 A; b
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - n! `, p8 H' D7 w/ K9 C
  21. " vendorlib " ,并解数据库连接。 ( z+ i& u5 g- o6 M
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ; u3 R  W  Y8 _

  23. 0 c( \  T: d4 i
  24. # # #做好工作# # # " I8 D- @# ]7 F8 [% s
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    1 _1 V, a1 M( X, {3 v1 V$ n6 V) h. ]
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在  i/ Z7 P. d% y' n
  27. 结束:
    # R, u0 y) s' J7 ^, e0 u
  28. ---削减这里---
    1 o7 d7 d9 M# U5 w
  29. [ dbexpress ] 9 G. M  V. n; f+ C( J" o1 p" S
  30. sqldir = mysql_sql # s' c4 Z7 Z5 \. z5 Z
  31. drivername = MySQL中
    4 |6 P! m8 f0 O  p1 o& i
  32. 数据库= your_database_name_here - ~- H% A! O9 n- P! @
  33. 主机= the_pc_the_mysql - server_is_on
    0 R0 B3 b9 U9 e$ ]5 h
  34. user_name = user_name_on_the_mysql服务器: T1 P8 j2 w# {$ L
  35. 密码= password_to_go_with_above_user_name ) @* b/ \, p% ]3 o+ O( a6 _
  36. getdriverfunc = getsqldrivermysql
    4 D8 G+ r/ _) s0 b8 Z* x- ?
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    5 l7 j9 [1 o9 P$ z& j
  38. libraryname = path_to_libsqlmy_libary
    ; @. x. V2 D' z  |3 w& s* r
  39. 积极= 1 1 S' q; g/ _) ~5 h2 t0 |
  40. ---削减这里---
    8 ~+ q. }+ ?: _1 Y& X. U, Q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 1 H/ J* f3 L5 |$ t% l, v* t
  42. ---例如--- $ ?# U% @% @3 `9 s: t9 ~
  43. [ dbexpress ] 5 r% u# w) H+ p0 ~( t
  44. sqldir = mysql_sql / x  \, p& Z6 Y7 m, P- |, o& `4 S
  45. drivername = MySQL中4 x* r2 H$ T# N! K$ R
  46. 数据库=测试
    ) a+ U1 Z# |3 Y+ w% m
  47. 主机=本地主机
    2 h6 m) Y. ]/ C! B$ @0 [2 J
  48. user_name = testuser
    5 M7 K$ G- J  W- b- Y2 T8 _
  49. 密码= my_password
    9 `5 c, H9 y( z3 x, q
  50. getdriverfunc = getsqldrivermysql 5 X' D7 O; Q* U+ ~9 M& c$ r8 L
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0   C: @$ W* o$ ]6 ?' E, g( V
  52. libraryname =. / libsqlmy.so   \9 e0 v% ^8 L8 r% q, o
  53. 积极= 1
    * v" ~5 R# ^, m, d
  54. ---例如--- 6 \( ]* H" `. ~9 [
  55. + `5 Q, N$ J& o( N4 N2 r+ ^7 i0 R
  56. 对Windows中,也运行MySQL服务器本地的,那就是: # _2 }# a7 L$ U' T1 t
  57. ---例如---
    : w$ Z# r9 [6 d! {2 Q% _
  58. [ dbexpress ] / L' {2 ^7 H* ?6 x  }5 h+ ?
  59. sqldir = mysql_sql 0 l( R0 V6 I7 j2 Z, s2 G8 G
  60. drivername = MySQL中) M7 `. z9 j2 c1 z
  61. 数据库=测试. H3 Z- E8 f0 _: V, z* |
  62. 主机= 127.0.0.1 3 s( h* N$ e/ T& h  ~
  63. user_name = testuser + J5 ~1 v* [! o
  64. 密码= my_password * y$ ^; S4 R' l( {* c  |& Z9 c
  65. getdriverfunc = getsqldrivermysql ! ]0 n, T* {$ D' S" z
  66. vendorlib = libmysql.dll在
    ; O( `; }6 |, c: M: B
  67. libraryname = dbexpmysql.dll
    8 T) r7 L9 s. e8 Q
  68. 积极= 1 7 k) a) Y5 {" n+ F' N
  69. ---例如----
    6 O# K7 y3 r- d6 V" g6 C% Y$ p$ r
  70. -写在0 2.03.04由p wk.linuxfan) X* U+ w3 v; `* L
复制代码
发表于 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 words3 I. C+ @0 s2 z7 L; e
& T# S0 @. N/ i. J
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

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

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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