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

2877 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 3 ]. g* J8 M; u4 j) v
; r; P9 k- W1 V9 m
  1.   Q# L# X7 Y2 ^: j, }8 D
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    . B# C: @+ B9 [9 g* q- {2 D+ Q% A
  3. - f6 U/ l/ j3 ]' t' B0 @# T
  4. ### What we need ###
    , s6 u5 B) N* X
  5. Naturally, we will need a MySQL server to store the data for us, this document , s+ j* B7 f" [, o
  6. will not explain how this can be done - there are documents out there for the - j5 d+ u" N) {4 j0 C/ K6 k( Z
  7. interested. The requirements include a (empty) database for TeamSpeak to use; o. o# o* ~$ D7 c7 S6 P" {7 @6 Z
  8. and a user account (username + password) that has the permissions to do stuff
    , o5 e7 f) c; M% g. m- E1 _0 f
  9. with the database. Additionally, you will need a vendor library installed on the
      ]$ _. m4 n9 I: Q0 a+ Q
  10. local machine, this came with my MySQL install.
    5 X$ K$ q7 k  O9 f8 [# M6 @' \
  11. These instructions will not tell you how you might transfer your data from the4 y# F9 t8 O  [1 ?- g) z0 l8 E( k" m
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL/ c8 p5 v, p$ `' ?. D9 y
  13. database.
      |8 s# S6 h3 G8 z" t
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    # d. W) A! I1 n" q% ^8 T
  15. the time of writing, there are still too many issues - check the current status
    + |( C$ [" f& t1 d! e
  16. in the TeamSpeak forums if you are interested.
    0 p4 F- k! P# Z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    * M  `' B7 K. ^. \; T0 d. X
  18. Borland was used. This driver can only interface with the client library that + v. {) G- ]; q" k5 Q9 g* K. Z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this0 @  J; f% l- f" V4 R$ {
  20. client library - basically all you have to do is to use a 3.x client library as
    ; ~4 h- i) x; n# d$ ?; ?+ D$ s. W
  21. "VendorLib" and a 4.x database to connect to.
    " Q$ k, C1 D  R0 [' J; R8 c( r
  22. If you need more info about dbExpress, you can contact Borland.; \% R/ x1 z: V# T2 _" b( T  |
  23. $ V4 ?8 T5 k4 o- w$ Q
  24. ### Doing the work ###9 H; H% t3 U* ~5 q+ c
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all" s' A4 a7 U* q9 z/ L  ^
  26. the perquisites right, just open your server.ini file, and add this section at& D& S- W* e6 w
  27. the end:. b7 K& [9 m* B# i% [6 v
  28. ---cut here---
    / }. s$ O2 G  h
  29. [DBEXPRESS]3 R; R0 x- l$ x
  30. sqldir=mysql_sql
    ( M* B4 ]8 i1 S/ m' G5 G/ ^
  31. Drivername=mysql8 Y/ w: v- U, E$ r/ Z
  32. Database=Your_Database_Name_Here
    " v3 F5 }- R# x& j& N
  33. Hostname=The_PC_the_MySQL-Server_is_on
    : K) r$ s  Y' Q0 O' q  Y
  34. User_name=User_name_on_the_MySQL-Server
    ( ^$ o; z' Y2 [* D
  35. Password=Password_to_go_with_above_user_name5 s2 y$ ]% Q. U7 \1 L2 L
  36. GetDriverFunc=getSQLDriverMYSQL
    ' B5 S3 c2 ]7 x; q* k
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib; o9 g5 h7 m4 @  \2 y
  38. LibraryName=path_to_libsqlmy_libary! X* I1 f! r" w$ D- A- t( r8 Q
  39. Active=1- Q# t, q' C: I; B$ d" M6 @
  40. ---cut here---
    0 c2 |( _& q; B4 J% j) a
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ' W" [- `- `# r1 o1 K+ q6 m
  42. ---example---3 d, l+ u% x* o
  43. [DBEXPRESS]
    , `5 X* v" P; w  n2 G, r4 r- u$ r2 \
  44. sqldir=mysql_sql5 F: M: a* D( c' e( E& n
  45. Drivername=mysql6 Y1 z3 n8 K  v; c) ]( g. Y# K
  46. Database=test" j$ [+ y  y; }( _  z- X' c
  47. Hostname=localhost
    7 O6 d  o1 J* M, E" M5 s
  48. User_name=testuser# h) m& O/ ^2 X# d
  49. Password=my_password' r$ a8 Q+ h- j9 |
  50. GetDriverFunc=getSQLDriverMYSQL
    , P! i& W, O6 n  i/ ^: ~
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    / S7 f. w  }) G* R" M% g
  52. LibraryName=./libsqlmy.so) L2 D* Q) P/ M6 U& T- r( @
  53. Active=1
    1 Q" U: U) ^: t1 {$ E1 v; d9 S
  54. ---example---5 X* Q5 U# O  X( ^

  55. 9 Z1 X2 f- o3 q& l. H  n4 v
  56. On a windows box, also running the MySQL server locally, it would be:
    9 x$ [# V9 p9 p. ^0 Y+ ]0 T
  57. ---example---
    7 h, c5 c' \! E+ C3 ?  ^
  58. [DBEXPRESS]! y4 D, ]( {. U
  59. sqldir=mysql_sql5 z) |4 @. ~  u' W
  60. Drivername=mysql
    , v9 F4 H) f* U) w& a
  61. Database=test: u5 ]& G" s# j/ W5 \0 u1 v
  62. Hostname=127.0.0.1
    - o% t3 q$ w" D# K  g% }9 i0 O
  63. User_name=testuser
    # c2 G) [! j$ B  I, L) D# I% ?
  64. Password=my_password! K4 T) v. @% a1 [
  65. GetDriverFunc=getSQLDriverMYSQL  O3 a+ \7 K/ Y. a
  66. VendorLib=libmysql.dll
    / z0 @: j: \- M% W! E9 H& G, Q* F
  67. LibraryName=dbexpmysql.dll
    4 ?: K% `2 B6 X" H. b
  68. Active=12 r3 X; A7 ]# ^& a
  69. ---example----8 H2 D8 e, \' w' t8 L
  70. - written 02.03.04 by pwk.linuxfan
    % g0 C9 H0 E  R" b+ p+ P
  71. + @1 Q& ]" B" E7 K! ?9 @2 Z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
7 f  ]* T7 r+ [1 Y5 Z: x
  1. ( d; r9 N( i# w7 N1 N6 ^: r$ ^
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    8 T8 m) q8 H+ D% q  h/ I

  3. - ~+ P; `; e. z3 `# K9 q+ L; ^
  4. # # #我们所需要# # # ! D% `2 V* u( ~5 s
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件8 l9 `3 z- v  I
  6. 不会解释如何做到这一点-也有文件存在,为. l1 U. z1 s+ \4 `% ?
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    0 V6 i- L) Z1 E) m# u$ R# N7 \
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    - S! @9 Y  G/ g4 c' J" f+ M; h" X+ m' U# F
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    2 Y3 U* `, W4 j' c
  10. 本地机器,这是我的MySQL安装。 ! r9 V  j3 P0 i2 h' I0 r1 {. B
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从! F0 L) r! W2 p: ]4 j& _* W4 f0 m
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL * N, q5 J; a0 D4 r
  13. 数据库。 ; G& a1 `. W' Z0 j, w
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在+ D# n$ P5 D! U5 w' C+ v
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    + A* t) p2 s& H/ I$ y- h
  16. 在teamspeak论坛,如果你有兴趣。
    8 l5 S* f1 h* [. ~
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机" ^* z" X, m, x4 O$ U8 {' U
  18. Borland公司使用。这个司机只能界面与客户端库, P- _* m4 `* L7 Z7 Z! }* t& L( _
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这% Q* ~* m1 h8 x0 ^
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为1 M# h1 P/ J3 F! d9 N- A
  21. " vendorlib " ,并解数据库连接。
    $ L  Y- e. h) f9 O: m
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ; T0 \% \- K- n4 Q/ L5 m( b

  23. 0 n  {; R; f( X0 F+ X- k
  24. # # #做好工作# # #
      D- _; P, Y4 V0 M8 O  |! e- p9 W6 ]
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    9 M6 Q! k- n" Q% a: Q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在- J+ u, G/ D8 r2 T' H; _
  27. 结束: ' |: O) V% b! k1 H1 }2 |$ r6 g
  28. ---削减这里--- ! n' B& j+ [9 w3 f9 S, ?1 X
  29. [ dbexpress ]
    # l* r( C( _$ L
  30. sqldir = mysql_sql 5 z3 I  B7 E! J1 D$ q* A' d# F
  31. drivername = MySQL中: z. c9 Q% m7 A) Z
  32. 数据库= your_database_name_here 0 @) X$ O5 ~5 V
  33. 主机= the_pc_the_mysql - server_is_on
    - Y' L- B- o2 N8 [
  34. user_name = user_name_on_the_mysql服务器
    5 G( b7 c8 ^+ V( q, {! `/ E
  35. 密码= password_to_go_with_above_user_name 1 V( I$ H; n9 H- Q
  36. getdriverfunc = getsqldrivermysql
    9 X& t& g6 o: G$ y3 L/ L) u8 a
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib * ^8 B' ]% Q" o% R6 U
  38. libraryname = path_to_libsqlmy_libary
    9 I( e6 M$ n9 p! x. @2 E
  39. 积极= 1 7 _& B: j: ?6 X# _
  40. ---削减这里---
    ) U; W' h: Q* I, _/ D2 l
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: " W2 s1 V& c; i1 _" a0 y
  42. ---例如--- 3 u8 C) H5 r" c  @! y
  43. [ dbexpress ]
    4 }: Z! x% |; e* B( `8 s2 G! T2 o
  44. sqldir = mysql_sql / w% ~" j$ K" w; e
  45. drivername = MySQL中  U, i% ^: o4 l" \' w
  46. 数据库=测试! H6 o. u' D5 H( X; @/ j' ^
  47. 主机=本地主机/ D4 d% S: |( A) I7 R4 T
  48. user_name = testuser 9 E: ?2 d+ q# d: `0 j. `: f1 i
  49. 密码= my_password
    + h" S6 _$ J3 b2 m* K
  50. getdriverfunc = getsqldrivermysql
    & p- ^* ~/ P9 Y* P* `3 [
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    : f& W! t: q% e, ]9 }- j& T. e
  52. libraryname =. / libsqlmy.so
    : O# [1 h4 K' ]3 q+ R: G
  53. 积极= 1
    $ Q: Z1 l( b( g" ~
  54. ---例如--- $ j* v% K7 d8 n; a9 v8 @3 Q
  55. : k% z: R8 s" T' p! \
  56. 对Windows中,也运行MySQL服务器本地的,那就是: - t% s6 H5 s; l3 {
  57. ---例如---
    8 S$ I* X% w# G1 y' o" K  r
  58. [ dbexpress ]
    ! _9 J6 O- \  s
  59. sqldir = mysql_sql
    $ e" w4 P  j$ U
  60. drivername = MySQL中
    / k  X; `% m5 N( T( u# h
  61. 数据库=测试
    8 h7 H% v, }5 E
  62. 主机= 127.0.0.1
    / p  \. l9 A  j+ z9 b
  63. user_name = testuser
    ! W9 g: c* `6 |3 [0 V) o/ @
  64. 密码= my_password
    ' O7 x: O4 H) @9 B, M* o1 o
  65. getdriverfunc = getsqldrivermysql 3 ?1 N% S1 v. C9 i2 v' `
  66. vendorlib = libmysql.dll在
    4 l: _$ v2 g! q* T' u( z
  67. libraryname = dbexpmysql.dll 4 S0 k2 [$ S% H( e; w
  68. 积极= 1 & f1 Q5 Z& h  n$ M/ m; [  s
  69. ---例如---- ) d* d4 o7 k! ?
  70. -写在0 2.03.04由p wk.linuxfan, F6 j! A! {0 @; t( C3 Z
复制代码
发表于 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
1 c1 q. ?  I( m; O& E; D5 s8 A# w6 C7 u
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-11 23:07 , Processed in 0.089690 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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