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

3356 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
" X. j) h4 E# j2 J3 A3 j( E' q. a; W- N- w* c4 C

  1. + _' B1 G. K; H
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( H9 |$ B/ v* _% `
  3. ; G" h  R0 f# O9 r9 ?
  4. ### What we need ###, L1 X! V  A; Z2 x! k6 ~: ^. ?; {
  5. Naturally, we will need a MySQL server to store the data for us, this document ' I4 z, f% ?, K: d# H
  6. will not explain how this can be done - there are documents out there for the 3 ~% C9 C3 D0 C* D/ U2 F: F& `- @
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    * g6 q9 `, o5 U3 H; n$ R' Q0 ~' s
  8. and a user account (username + password) that has the permissions to do stuff0 k/ p- Y2 f( k9 u1 W' q
  9. with the database. Additionally, you will need a vendor library installed on the
    , k+ a: f  w4 c0 j, [
  10. local machine, this came with my MySQL install.0 t6 g  ]+ i( J2 ^9 d! N
  11. These instructions will not tell you how you might transfer your data from the) M8 D% H# R) @0 n
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL/ b. [: G4 D/ l: i0 z0 A
  13. database.9 N3 Y5 X4 B9 r1 ^* T9 c
  14. Some users have reported ways to import a SQLite database into MySQL, but at$ Y6 f$ X5 W$ o* [
  15. the time of writing, there are still too many issues - check the current status
    * F5 `, w, u" y* D
  16. in the TeamSpeak forums if you are interested.
    . D! @7 c& e+ i; a# o/ [8 |
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ; G! o+ |% s3 j) i. _
  18. Borland was used. This driver can only interface with the client library that 3 ]7 h) P! {6 M7 x
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this, V. p1 ~) _" R4 X6 r* T7 _# [" G
  20. client library - basically all you have to do is to use a 3.x client library as
    ) l& E# q+ @# T+ R' s' J
  21. "VendorLib" and a 4.x database to connect to.
    3 z  i9 Z$ o5 J5 J
  22. If you need more info about dbExpress, you can contact Borland.. U- u* Y0 v/ ?  p7 i! f8 I

  23. , r/ Z6 p1 s9 o5 E
  24. ### Doing the work ###  L' C8 N  w, R5 a
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    & R) n; r. W8 j: _6 S# ~
  26. the perquisites right, just open your server.ini file, and add this section at
    * X/ M- `$ `! t0 n, P
  27. the end:# L  l3 {) d7 q" ]  F, N. C
  28. ---cut here---
    ; H3 ?/ b' N# V3 b
  29. [DBEXPRESS]
    , \3 e% r& ^; m) D$ ^, Z- a: X3 E
  30. sqldir=mysql_sql4 H( A( E, U5 J% E% g
  31. Drivername=mysql) C+ N$ J" N/ {$ J! J' ]& q
  32. Database=Your_Database_Name_Here
    3 }7 r6 _+ _: {7 x+ ~; p
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ( C8 u# D$ P7 x+ J& x
  34. User_name=User_name_on_the_MySQL-Server) h7 ]0 d/ o% _
  35. Password=Password_to_go_with_above_user_name4 e+ _+ c) o* K' a* R: ~& N9 q  }% e+ X
  36. GetDriverFunc=getSQLDriverMYSQL# x8 T/ q; v  U
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    : F; Y+ c" k, A# ?. m
  38. LibraryName=path_to_libsqlmy_libary' D; r1 F+ Z% W
  39. Active=1
    3 H8 @3 V& j! G
  40. ---cut here---2 ?. V, Y& K) u) p' I! K- A
  41. In my environment (a linux box with a MySQL server running locally) I have:
    7 ], J- K0 _; Y$ f% w- K
  42. ---example---
    , [, M( B' c# R
  43. [DBEXPRESS]! [; @7 M' Q/ P' Q" N( f. F
  44. sqldir=mysql_sql: r1 T1 {# v. {% x+ i# q
  45. Drivername=mysql& N6 Q( N8 v: Y4 N
  46. Database=test
    5 K8 k8 F  {+ v/ f) [/ g) T
  47. Hostname=localhost* w1 ]# e. _# t3 ~* [# X0 O9 W: r1 `
  48. User_name=testuser7 n; I1 W, V! z1 T9 N. S1 T
  49. Password=my_password( j6 N& @- B; z! l, m
  50. GetDriverFunc=getSQLDriverMYSQL
    . k6 [/ [- W9 _# k; y% F
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    + W- d9 F9 g* I: l
  52. LibraryName=./libsqlmy.so4 G& ~. v7 D* T! P4 U- d6 d* @
  53. Active=1
    2 A" T( a+ v: g
  54. ---example---( J0 J) M! n& q4 [( O

  55. 8 k2 G1 C  n, J+ b4 k
  56. On a windows box, also running the MySQL server locally, it would be:( S7 V! J, o" L) ^
  57. ---example---
    # A7 v$ M, d6 r' Q
  58. [DBEXPRESS]
    8 t9 D: D. _' u; G$ b
  59. sqldir=mysql_sql9 y0 s' x* j) B) Q
  60. Drivername=mysql1 y0 V0 {& u. M+ H& X6 a# P
  61. Database=test  y6 k# Q: B/ m1 |/ _- C
  62. Hostname=127.0.0.1
    ' l' b: |! U% T
  63. User_name=testuser; w! p( a2 w: j) {) T# D
  64. Password=my_password
    7 u, P; b% H! R# }, B( _
  65. GetDriverFunc=getSQLDriverMYSQL# K; `- L- N2 e8 U; T" h7 y
  66. VendorLib=libmysql.dll
    4 q9 W+ Y0 t. L( t3 b' H
  67. LibraryName=dbexpmysql.dll$ O% R' W% c! T& d7 c
  68. Active=1
    7 t/ X7 b/ F# W5 ?" |3 h# G- {8 X
  69. ---example----
    4 i+ `' R) A/ n4 N( a/ E
  70. - written 02.03.04 by pwk.linuxfan
    # \/ F* _5 w% Z5 B% O* L5 Y  X; S

  71. - U" F! X9 `8 l- h% U* x
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看/ d$ ^. `! Q* _7 {! l
  1. - N; [2 b6 [4 g
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    7 N3 |# U6 a8 J1 V2 R

  3. - d5 W" V! u0 c: J2 ~
  4. # # #我们所需要# # #
    0 f6 W8 O1 h( d% D; ~; X3 C* i& @
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    . ?1 [  U1 d, d/ P
  6. 不会解释如何做到这一点-也有文件存在,为) i, @# u5 U3 P( I3 y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用3 E: Z; P6 g. M1 o: k: X: |$ t$ \5 T
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西& N1 `* N9 d. l; f( t7 J- `
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    # H& f; q1 w: Q7 l' [6 t
  10. 本地机器,这是我的MySQL安装。 / T( T) t5 `, S8 R2 X3 z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    + v2 T, _: ?4 E' K6 ]$ ?
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    0 Q  w5 G3 t8 V* e7 }. R6 D3 W
  13. 数据库。
    6 C1 Q0 R) o  W( T, K& W
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在# I2 _( J1 A, G$ y3 L' h1 m
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    7 x* Q! p; L; U  w- d9 f& Q2 G
  16. 在teamspeak论坛,如果你有兴趣。
    . {0 S' \- b; t
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    * l5 }3 f  W; }3 C
  18. Borland公司使用。这个司机只能界面与客户端库- @0 C2 v  q  @
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ) W/ B; m" ?" ~- o! z. b& K2 ]
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为5 p! l" {  X1 D1 `. y0 S
  21. " vendorlib " ,并解数据库连接。 2 |! T3 p# R- D$ d3 k% ^: y2 m8 z
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    2 ~6 x" p& P; w# T9 W
  23. : [- X2 p* d7 h3 }: o! P
  24. # # #做好工作# # #
    & R) T) H8 E# I- d
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都6 E, |; E- B- T
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    + i' ~7 @# c8 ^' t
  27. 结束:
    : v8 D1 Q: _, D8 ~0 @& |  c
  28. ---削减这里--- . G; p8 h! s# M; p+ W
  29. [ dbexpress ] 1 Q) I2 N+ X# a9 m6 L/ ?
  30. sqldir = mysql_sql
    2 Q7 |9 R: o' p$ x' V
  31. drivername = MySQL中
    - Q, h8 a1 t, j, K3 b
  32. 数据库= your_database_name_here + B$ U6 w( ^# }# C1 _
  33. 主机= the_pc_the_mysql - server_is_on
    ; P7 d, S0 i0 n# A, v) J
  34. user_name = user_name_on_the_mysql服务器% u1 U# B. S/ n3 X# M
  35. 密码= password_to_go_with_above_user_name - u  L( l2 R, w, P7 [' B2 ^% ~( I: E
  36. getdriverfunc = getsqldrivermysql 0 X1 \+ l4 @; w
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 2 O2 U* d( ?+ i# p- a- g
  38. libraryname = path_to_libsqlmy_libary ' t6 Y" F7 `* t* D4 `, f
  39. 积极= 1 1 S* u7 U+ R" J5 _" D: J
  40. ---削减这里--- 7 R  _0 _9 f8 v+ j' S* o7 V& K
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    0 a' D, `3 J" D* j
  42. ---例如---
    % m" I( s8 `/ I6 r  C( k
  43. [ dbexpress ] * n& L5 A! l4 {6 V1 |
  44. sqldir = mysql_sql
    2 {! C& [9 ?5 Z' H) ?
  45. drivername = MySQL中
    9 o3 u+ E0 l( ?# a
  46. 数据库=测试
    6 \" p2 s/ f! j3 {
  47. 主机=本地主机
    # R% y7 a  X0 N# e
  48. user_name = testuser   @* `3 q; H( H* n
  49. 密码= my_password
    1 f& U) Z) w  H* D  U; v: L/ p* a4 c- y
  50. getdriverfunc = getsqldrivermysql
    8 s+ ~# g9 m9 ]8 _7 M. `8 o
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    6 H( O  \! K, W
  52. libraryname =. / libsqlmy.so ) H- g+ n3 U7 T7 t; J, M4 r* @, a
  53. 积极= 1 - h* z4 H6 I7 F+ v
  54. ---例如---
    0 j, ~: P# M/ A
  55. 2 d8 s0 N! h* F; _1 [/ m
  56. 对Windows中,也运行MySQL服务器本地的,那就是: - a' C6 Z2 S, Y
  57. ---例如---
    ( T5 L: s, [5 M0 |
  58. [ dbexpress ] " q. c. j2 S1 W8 S2 L- T6 y2 P( o" v2 ]! j
  59. sqldir = mysql_sql
    ' T# p; G9 i9 L+ }
  60. drivername = MySQL中
    : S$ @1 D& M4 Y; g
  61. 数据库=测试
    ) k  |0 Q: x1 k: L
  62. 主机= 127.0.0.1
    / A# c+ c/ `$ q
  63. user_name = testuser
    ! k' i  V( [5 x6 l, a! V7 S
  64. 密码= my_password , ], S9 W2 L4 _
  65. getdriverfunc = getsqldrivermysql 2 z/ m' A! k8 q( O
  66. vendorlib = libmysql.dll在% _1 K+ i6 m  L8 ?8 K; W
  67. libraryname = dbexpmysql.dll
    ( X7 o9 P+ O  p5 ]; Z+ |! L
  68. 积极= 1
      A$ }2 G2 O+ Z) y$ [3 R# t4 E
  69. ---例如----
    $ T. Y) U9 h+ J" k' z0 U/ W
  70. -写在0 2.03.04由p wk.linuxfan
    & \7 K( m, O% B1 \
复制代码
发表于 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
0 A2 Q% J; E& B! C' K" S
, o* K; W) s1 O. u. D6 ibut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-19 05:34 , Processed in 0.108270 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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