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

3466 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ; @( B3 S& b" n+ e
6 _. k3 P" M: r# A% e2 R, r

  1. * ]% L' y& x4 k
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 u/ O4 l# W4 ~) |) ~, u

  3. ' q3 H. k( c4 K9 d% Z
  4. ### What we need ###
    4 H$ h, d6 _* h3 ~
  5. Naturally, we will need a MySQL server to store the data for us, this document 7 S1 s4 j) q$ E
  6. will not explain how this can be done - there are documents out there for the " B! p* L. z9 W; w# q0 R) x5 y
  7. interested. The requirements include a (empty) database for TeamSpeak to use- s- ~: l' g' @
  8. and a user account (username + password) that has the permissions to do stuff$ O8 ~- \0 h9 d% r+ \
  9. with the database. Additionally, you will need a vendor library installed on the
    ( Q6 c0 C3 s  M( b; A8 [7 w( I
  10. local machine, this came with my MySQL install.3 }- g4 x! h: v. P0 g; h
  11. These instructions will not tell you how you might transfer your data from the5 z) z8 S) S' ~! q4 o% z
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    4 M" y  W+ U- `  s; q
  13. database.# S8 Y* T8 K9 Z6 n2 K! `
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    # \* C! q! X- R& E
  15. the time of writing, there are still too many issues - check the current status
    ! ]1 t4 I" q; Z4 d
  16. in the TeamSpeak forums if you are interested.1 k0 q  R% |. v. V; ^
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from6 |, W( C8 Z8 Y9 a- T# @4 [0 }
  18. Borland was used. This driver can only interface with the client library that
    ) ?8 p; F( }5 e. k
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this9 @9 B) e' S! }; {& t$ E; l
  20. client library - basically all you have to do is to use a 3.x client library as
    8 _* C. W. J# v1 b/ @
  21. "VendorLib" and a 4.x database to connect to.
    $ o" Y; o' R4 S2 e+ U' d  G
  22. If you need more info about dbExpress, you can contact Borland.
    " K0 L6 i3 i  h8 Y
  23. $ H3 o. q' k  G# I9 q9 d" z( E
  24. ### Doing the work ###
    % ^5 d* G* S3 {& G
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ D( [) L$ z" ~- o( }. f
  26. the perquisites right, just open your server.ini file, and add this section at
    $ l2 ^* ]3 \. m; Q; B- E
  27. the end:- {5 ?9 v5 r8 A/ x
  28. ---cut here---: n# R; C6 X# D( m4 K
  29. [DBEXPRESS]3 C5 J6 S+ x" `
  30. sqldir=mysql_sql- H8 n, @: Z% N  P7 w( c
  31. Drivername=mysql
    $ ~; i& N) g- y
  32. Database=Your_Database_Name_Here/ f: p& {  z% y4 ?' E
  33. Hostname=The_PC_the_MySQL-Server_is_on) x7 k# L% p! z$ {2 z; [+ T5 H' r1 {
  34. User_name=User_name_on_the_MySQL-Server
    . `+ n& m& _8 w  Y0 X' n
  35. Password=Password_to_go_with_above_user_name
    ( H. \- N0 n- Y8 \
  36. GetDriverFunc=getSQLDriverMYSQL: [+ d9 H- m: S: }; O/ `& X
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib* }( `/ }; z3 l# I/ S) Y
  38. LibraryName=path_to_libsqlmy_libary# K- X6 W/ a- J: n% w2 m7 o
  39. Active=1
    * N3 @2 [: I* [/ a+ Y% E3 Q
  40. ---cut here---
    / m( y' y5 w6 t2 ?# R6 T: }
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ( [$ }2 d+ g% h9 F) x; r
  42. ---example---
    5 ~$ [% |1 Z9 z! _  N  P6 B' Y- ~
  43. [DBEXPRESS]/ E9 c) M1 z; `" Z* s2 Z, G# D( J7 T
  44. sqldir=mysql_sql
    ( H0 q7 x* R% K5 ^4 ]7 f
  45. Drivername=mysql4 M* D$ u* H9 }! r' y
  46. Database=test
    : F6 t6 ]/ e1 A
  47. Hostname=localhost
    2 @& g5 U0 X! D9 h5 a- v
  48. User_name=testuser
    ) n: j# [  }! t+ y, m9 a4 Q
  49. Password=my_password/ O. H: z6 }  u- K5 G! @
  50. GetDriverFunc=getSQLDriverMYSQL5 V" l" o2 A1 B& }4 |
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    5 S9 V& V) {, n$ h) ^
  52. LibraryName=./libsqlmy.so
    ! F  M. S/ t6 a
  53. Active=1+ \3 m, |8 V  ?+ s. r' g
  54. ---example---1 _) y, {5 O1 W: Z$ a; |% J, Y
  55. / @$ v4 U. E! s9 n
  56. On a windows box, also running the MySQL server locally, it would be:8 Q9 w; j4 z5 D/ D
  57. ---example---* [) P6 N$ d: u1 r5 @+ t& d5 t
  58. [DBEXPRESS]
    3 x3 x6 ?) Y& m9 q  D$ r
  59. sqldir=mysql_sql
    . v8 |; w( l) q8 ~- U
  60. Drivername=mysql/ ^' V* M5 h% d  A
  61. Database=test
    6 @. P& e: E4 o
  62. Hostname=127.0.0.1
    5 w2 o- a7 k" [8 Z2 I2 B+ l
  63. User_name=testuser4 n( b3 |# I2 C3 ~( W! e! Q; K
  64. Password=my_password
    ( M0 _5 @0 ?3 s1 e  I& w  T/ t9 B
  65. GetDriverFunc=getSQLDriverMYSQL
    & d; j, w; K" _8 l8 S
  66. VendorLib=libmysql.dll* V( o% X: {0 Q: S  s' k
  67. LibraryName=dbexpmysql.dll
    9 C( G( |; U" m( B4 Q
  68. Active=1
    * L) u4 S) z; Q4 b. O( A3 ~
  69. ---example----* e! V9 @8 ~2 O0 h0 K  v! \
  70. - written 02.03.04 by pwk.linuxfan/ J: G5 q" e: H& b' S
  71. " c' @7 u; X' M* C7 i* U, B
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看, k. z  W+ V9 l/ H

  1. 8 q( _  J. g" \/ P! i: I9 ?% a
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    4 z' S; P3 k# l0 l9 [2 M7 y
  3. ! a) |2 x/ R3 J, @1 K% }
  4. # # #我们所需要# # #
    ; \& c; {: z  S% M( H; Y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件  I9 J, [4 X% J- `7 v4 W
  6. 不会解释如何做到这一点-也有文件存在,为( x2 b. L* f2 n: c( o+ J. J
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用  x+ B. i/ f$ o* ^# b
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西& `) x, d& z7 d, N; o; m
  9. 随着数据库。此外,你需要一个卖方图书馆安装于4 ?- n6 x0 [% N/ U4 x: U4 J" z
  10. 本地机器,这是我的MySQL安装。 : V! h* I9 i" O$ c, m
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从. b3 k/ I3 ]/ _: U2 A; ?/ D
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    1 @  g% y3 V, C
  13. 数据库。 , n* u/ F$ W4 S& L+ n" ]; I" M
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在; y, j8 S4 g+ Z# C  L
  15. 编写本报告的时候,仍然有太多的问题-检查现状$ c) T% Q! p! `  B6 ]
  16. 在teamspeak论坛,如果你有兴趣。
    ' ], p" j- N0 T3 i- @0 E
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    7 I+ q3 F4 y# P4 ?$ s6 P( W2 C( _. o
  18. Borland公司使用。这个司机只能界面与客户端库
    5 k/ g/ G9 q( b
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这8 g6 E4 c$ X( ]1 [; z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为+ S* F* H# U% p$ [
  21. " vendorlib " ,并解数据库连接。
    4 r# n5 Z+ X! I( P
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 / E' D- N% H' M1 c. k; x  w$ ^

  23. % u9 l& `  V" _" O' v0 W, h2 O
  24. # # #做好工作# # # 8 K* d6 D4 @, H( D
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都; y7 f* L3 [7 M
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    * e6 P/ J" B! ^, D1 _
  27. 结束: . r+ C: z% X* M- {- U  O* N0 D) w
  28. ---削减这里--- ) l8 l- p, S" P, ^1 T- ^
  29. [ dbexpress ] * S2 Z; c/ C# }6 k
  30. sqldir = mysql_sql
    6 r5 w8 {' o$ G" T$ R
  31. drivername = MySQL中% _' M; A( S& F, M5 y
  32. 数据库= your_database_name_here
    * |+ X1 |+ _* A' \4 J7 a, c. ]
  33. 主机= the_pc_the_mysql - server_is_on
    6 g% U* c& O& w& u2 t
  34. user_name = user_name_on_the_mysql服务器# I" [# B5 I: R4 H& s. O
  35. 密码= password_to_go_with_above_user_name   W8 o$ s) U. Y3 r) X% ?
  36. getdriverfunc = getsqldrivermysql
    1 e/ Z: \$ ?, ?5 V1 c
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    8 L; P7 e* b- q3 C; L) k. E1 a6 I
  38. libraryname = path_to_libsqlmy_libary
    . m+ J' @# Y+ e9 L% q" e6 ^1 ]; e
  39. 积极= 1 - m* p8 T6 g$ M* ?- T- Z! q
  40. ---削减这里---
    " T- r6 C! r# b
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ) K8 t. @( C  h. J  T+ \
  42. ---例如--- 6 e( Y3 f8 b5 u) o6 M5 G
  43. [ dbexpress ]   O# x5 a7 F& P' s+ s
  44. sqldir = mysql_sql
    3 A* ]. |8 w, _' C/ Y
  45. drivername = MySQL中
    , X7 `/ i1 e# C# _- V
  46. 数据库=测试
    1 X/ a& ?( h, h- v. K! @8 w
  47. 主机=本地主机
    8 s7 v1 u9 f7 w, Y$ i0 S9 f
  48. user_name = testuser
      f& F; y# s) Y, N" Y' d
  49. 密码= my_password
    ; c5 g5 E, D2 t- U2 r% }
  50. getdriverfunc = getsqldrivermysql ' l; X  Q' k; n1 @9 n% _
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ' Q5 j8 Y8 @. r( m9 y, M
  52. libraryname =. / libsqlmy.so
      Z7 S# L+ P) ^
  53. 积极= 1 0 D1 M( N( p3 {! H) q) u
  54. ---例如---
    6 b% o( F( A9 y; |

  55.   f* C2 ?3 I8 {
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    - k# }3 D: `7 \# Q
  57. ---例如--- $ l# e' b  Y7 v; g
  58. [ dbexpress ]
    1 l( z8 n1 v5 A& v8 O( `
  59. sqldir = mysql_sql 1 L( l. J& T8 e
  60. drivername = MySQL中2 z0 \, t7 W5 H/ B
  61. 数据库=测试
    * _% b+ L; }/ W/ J2 E) _; \
  62. 主机= 127.0.0.1 5 l) s+ O! k  x% I
  63. user_name = testuser
    8 @7 x" m* T7 v2 D8 F- z, ?
  64. 密码= my_password + V& l1 v6 q* Z1 s7 y7 h! b6 L
  65. getdriverfunc = getsqldrivermysql - `; b0 \, V- T7 {
  66. vendorlib = libmysql.dll在! x5 @% U. f0 Q9 l
  67. libraryname = dbexpmysql.dll
    - I& [' [  W. Y+ W1 ~) B3 ?5 c
  68. 积极= 1 ; ]+ k+ J+ U8 j# G" J7 g* e
  69. ---例如----
    ; c. D, l& l% r1 V% \! r, q: h
  70. -写在0 2.03.04由p wk.linuxfan- K$ h6 x, s7 A- L( j! i: j
复制代码
发表于 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
9 M% D; ^- c0 W# W! D$ @; p+ Q3 K$ N% L4 \, v! R
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-3 03:27 , Processed in 0.060344 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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