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

3589 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
: d; B3 s, _  }& ~3 C
3 n- d6 {4 B3 U1 p! V2 T/ ]

  1. ( n( q2 D& _/ }& W3 y1 J
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    6 z$ |) N7 ]( l: w! A: [

  3. ; A. `) C8 T2 N
  4. ### What we need ###
    - t8 ^7 i; r& K2 [0 k. Q0 R& d
  5. Naturally, we will need a MySQL server to store the data for us, this document 6 F5 Y) v0 g/ {: `3 N- F8 f6 L
  6. will not explain how this can be done - there are documents out there for the 5 ^) b  r! P. t5 o! v
  7. interested. The requirements include a (empty) database for TeamSpeak to use$ n: k. J3 j# D' |1 K8 i4 }
  8. and a user account (username + password) that has the permissions to do stuff
    $ H1 Y- {6 a2 O
  9. with the database. Additionally, you will need a vendor library installed on the
    / g% ?4 |0 }; b. `% w
  10. local machine, this came with my MySQL install.  V& {0 C  j6 f# Y: ~) s
  11. These instructions will not tell you how you might transfer your data from the/ X8 s! T. f/ }& {
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL0 A! w  G* Y2 e8 D" T4 I6 U6 M
  13. database.5 m0 V) k% O9 m; f; Q6 l; g
  14. Some users have reported ways to import a SQLite database into MySQL, but at0 ^/ Z5 q+ Y7 x0 V
  15. the time of writing, there are still too many issues - check the current status6 F/ [9 i& V+ b3 o
  16. in the TeamSpeak forums if you are interested.6 Q; S+ @" m% W# t* P
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    . F' H( M) X$ ]( ^+ y2 a
  18. Borland was used. This driver can only interface with the client library that
    : N6 O7 _( a( ~3 L5 L: R: h# I
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this9 A5 ?* W. P2 I4 c$ ]7 F/ M
  20. client library - basically all you have to do is to use a 3.x client library as 6 h' P& ~3 D$ e! v
  21. "VendorLib" and a 4.x database to connect to.; }1 u" r: p5 K
  22. If you need more info about dbExpress, you can contact Borland.
    5 i% q. X% K) H: f* M5 p. Q) T4 }
  23. 8 F4 ^" E" O, n
  24. ### Doing the work ###; Y& ~7 _4 [$ l5 B. Y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    + {5 p& h  ~" s: E7 G
  26. the perquisites right, just open your server.ini file, and add this section at
    6 ^: t3 C; _$ v7 G* a. Y) l8 }
  27. the end:
    # Z* ^8 M  W- Z! n/ G5 z- n
  28. ---cut here---8 E& ~+ v0 N8 B' C  X+ A
  29. [DBEXPRESS]
    # L5 |" [9 M; _; d6 ]- h
  30. sqldir=mysql_sql
    0 c" J9 b: X( c; v& }
  31. Drivername=mysql6 V$ X6 u9 l' e( g! N- @) {0 \
  32. Database=Your_Database_Name_Here
    . \# {6 A/ |( F2 T$ L5 C) ~9 Y
  33. Hostname=The_PC_the_MySQL-Server_is_on
    . E5 e0 t) @& k4 `
  34. User_name=User_name_on_the_MySQL-Server
      H+ \8 y# X' Q8 I" `6 o: w) u0 {
  35. Password=Password_to_go_with_above_user_name7 Q9 Y" A. c" s7 `2 o  \, Q0 X
  36. GetDriverFunc=getSQLDriverMYSQL
    . e8 z% G# t8 Q3 N
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib" I8 ]1 G; O" o0 S, }' k
  38. LibraryName=path_to_libsqlmy_libary
    & q) i0 H4 p8 I! b2 m" r% c
  39. Active=1* f, H& a2 a. @* Z
  40. ---cut here---
    6 G$ w. D  @& A8 A! N
  41. In my environment (a linux box with a MySQL server running locally) I have:3 Q2 _( b& b  L. a% U
  42. ---example---
      d$ v! S$ M$ V2 j# \+ G  e8 r
  43. [DBEXPRESS]0 T: k: {* d& Q4 p
  44. sqldir=mysql_sql" t+ O  [8 P( X5 l8 W
  45. Drivername=mysql
    ! S5 P5 U! h# g/ _# q
  46. Database=test
    1 r/ j9 d. t0 V
  47. Hostname=localhost, a" y- w9 v1 E7 w
  48. User_name=testuser
    " c4 J7 `% V: B
  49. Password=my_password+ d$ c5 a+ t$ {9 d" F1 A# k; ~
  50. GetDriverFunc=getSQLDriverMYSQL8 ^. `+ ?/ L! i
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.00 Y/ ?2 d" \! r
  52. LibraryName=./libsqlmy.so$ x" C1 Y8 ^! [9 G) I) x
  53. Active=1
    / m" ~$ G' @1 s( G7 H
  54. ---example---
    7 v8 b8 k6 H7 N6 N

  55. / X- b0 N4 c1 O9 I
  56. On a windows box, also running the MySQL server locally, it would be:
    6 j1 P5 h) A& K+ Z" s3 x
  57. ---example---: M$ {# ?' Y+ u! `# |8 U- M  t/ K
  58. [DBEXPRESS]
    7 u" p5 s3 f+ \1 h7 j# H2 ~- W9 p5 d
  59. sqldir=mysql_sql2 B1 l8 o  ]( b* {9 M% W  @
  60. Drivername=mysql, X, d' ]8 x4 U9 b
  61. Database=test
    ! I& g. G: W/ P7 @& h- V, F2 |9 a
  62. Hostname=127.0.0.1
    # M% [2 g" I1 n* I$ v3 W
  63. User_name=testuser
    1 C; p* ^3 g" Q% u
  64. Password=my_password* L$ r3 d" b* F. {  q3 R
  65. GetDriverFunc=getSQLDriverMYSQL! y# L( i/ e( N
  66. VendorLib=libmysql.dll
    - r4 D0 X# t; A' e! Y
  67. LibraryName=dbexpmysql.dll9 W8 I3 S- w( \0 R/ i" T5 B
  68. Active=1
    , p. |8 f+ }" \2 F, b
  69. ---example----% I" {1 _( E' P9 J: e
  70. - written 02.03.04 by pwk.linuxfan
    5 i+ {$ L" f! ^$ y
  71. 0 U, b) @3 k5 G& T
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看) }! ?, W7 V) v8 d, S5 |# g

  1. & a  f1 h2 t: l9 e
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######   B) y% n, D- v8 i- _8 A
  3. 7 f9 @% z: K* a# S8 r: X/ H9 ^, F
  4. # # #我们所需要# # # 3 f+ _/ O% a# m0 @* D; t. ~7 Y& [
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    1 ]1 v7 t% |6 z& O; H' B, Z; a8 `# ?
  6. 不会解释如何做到这一点-也有文件存在,为
    7 u/ l, _, a" E* l4 ]; f) O5 g/ {
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. H6 L; L% L" F3 h9 m* e. S) y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    % c2 Z; }7 g# Z0 E. p) k
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    0 j. @9 G: @$ |
  10. 本地机器,这是我的MySQL安装。 7 r0 h" D. a( [  d* P  a' x
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    5 m5 k: c+ o( _) v8 B( I3 O! P# i
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 3 I; t7 F0 m" K
  13. 数据库。 5 Z: g  ^; n' U; ^+ v( M. ~
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在- M; [. ^% _; v; d
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ( C& @+ p( H* Z5 A
  16. 在teamspeak论坛,如果你有兴趣。 ; k& ^; Z( ~9 W- q/ _" k  d
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机0 K4 h4 H9 A! \. M  _: N/ G
  18. Borland公司使用。这个司机只能界面与客户端库" J/ Y& c2 Z+ ~+ l; n
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
      b3 r( w; f4 w
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为( T& P1 M7 Z' G- f: y+ \
  21. " vendorlib " ,并解数据库连接。 , O) T6 a5 i' G' r% ?! Z7 ^
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ( Y" O. |! ~0 W  R6 u) V
  23. 3 Z' w5 W; W3 |  M* r, a
  24. # # #做好工作# # #
    ! C* s! Z. y1 T
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都1 h$ t7 K$ O, I2 |: t) X
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    , v% s- [5 E# V8 m  A4 V6 o
  27. 结束: 0 ]$ x! Q, D6 S% E1 k. M; X
  28. ---削减这里--- . b9 d% ?0 Z# H, B5 _
  29. [ dbexpress ]
    0 D9 d+ q# S. H3 G
  30. sqldir = mysql_sql   K+ w1 `1 J, K. r# ~6 l
  31. drivername = MySQL中/ R5 ]+ K2 q- X( B/ \% `8 K
  32. 数据库= your_database_name_here + M4 \. j( }& s7 h; |
  33. 主机= the_pc_the_mysql - server_is_on 0 M' x; ~4 G- H" _, ]' ?
  34. user_name = user_name_on_the_mysql服务器+ G, f" u6 _: x' r& ~7 q- Y) w
  35. 密码= password_to_go_with_above_user_name
    1 ^: j$ \' C  N
  36. getdriverfunc = getsqldrivermysql # s/ M' x. V5 Z7 L
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    1 b6 `  ^8 t: u1 C# @
  38. libraryname = path_to_libsqlmy_libary " |8 s, H5 }6 ^
  39. 积极= 1
    + t5 [4 K# w8 _" \
  40. ---削减这里---
    % f1 \& o  H* |) }$ l- O1 m
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 8 j; X7 b1 [' D
  42. ---例如---
    - J' I: X) [- ]# S
  43. [ dbexpress ]
    $ Y$ O% y& I9 a  ?! `6 W
  44. sqldir = mysql_sql
    7 ?% q4 a! X5 D
  45. drivername = MySQL中! M6 p7 C# }. w3 W5 g; t
  46. 数据库=测试
    * G+ m1 l: |% i% f- T
  47. 主机=本地主机
    & P5 V9 @. N0 _" }' |$ Y: _: ?
  48. user_name = testuser
    5 s: j( N) ^9 z8 k- Y6 |/ d$ T
  49. 密码= my_password , k! @7 |) J# E- ]2 ]
  50. getdriverfunc = getsqldrivermysql
    ! W! \2 c& B2 r8 {" ]% E3 q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 8 R' [/ n( }' S/ X8 X
  52. libraryname =. / libsqlmy.so 9 A( V. k0 j5 r9 c- a* h; L; W
  53. 积极= 1 , M# s1 g5 O  n  t0 Z
  54. ---例如--- ) j8 Y2 }. M( V. @
  55. 4 x2 ^' Q& e# d) d1 {6 I- ]
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ' s% T4 R# `0 u2 e* ~
  57. ---例如--- 2 i" N3 m" ?  [
  58. [ dbexpress ]
    - q& N/ e7 q7 a! _: }/ G
  59. sqldir = mysql_sql - l' _6 _9 b. P" y$ @
  60. drivername = MySQL中% z& \" d- q, W9 z2 o  n& V
  61. 数据库=测试
    ) p- x  |' m$ D. t4 J& E
  62. 主机= 127.0.0.1
    + j0 D$ P" H" ^( m3 R
  63. user_name = testuser
    $ J6 q& X+ r1 K, y3 j6 H
  64. 密码= my_password 6 b, H& [4 _1 d& ?: I2 L
  65. getdriverfunc = getsqldrivermysql
    2 G. m, m: C$ g- n8 l: `
  66. vendorlib = libmysql.dll在& x) _  ]+ a/ J3 J& L" I
  67. libraryname = dbexpmysql.dll 9 A& A7 B* ~- \' d
  68. 积极= 1 7 q& R8 A; l% P" V! X% F
  69. ---例如----
    : k$ X( ?  i3 o: T
  70. -写在0 2.03.04由p wk.linuxfan& T7 G9 D5 L! N3 v2 p) a
复制代码
发表于 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
, u, F4 y2 J9 q4 r* R" r9 _5 j3 ^5 ~, i. N" N
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-29 11:20 , Processed in 0.056667 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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