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

2812 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
; b# c, B  H& B( n) [$ s; Q0 C: {8 F

  1. 5 K0 W0 n- E' h. w% s
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######0 Y9 u- d2 g, @8 d

  3. & g! V8 I1 _- ]" B; R% M
  4. ### What we need ###
    4 N, A' }9 V) }5 `$ ]
  5. Naturally, we will need a MySQL server to store the data for us, this document
    # Z% B3 r; e9 t3 r7 r
  6. will not explain how this can be done - there are documents out there for the + w9 j& K' P( ?" g
  7. interested. The requirements include a (empty) database for TeamSpeak to use: U2 R! n% P0 ?& ^3 [
  8. and a user account (username + password) that has the permissions to do stuff( g8 m$ T$ q  }% }. e
  9. with the database. Additionally, you will need a vendor library installed on the
    5 i5 D. X; {5 u3 ]  Z
  10. local machine, this came with my MySQL install.% `2 Z. Y8 O& B8 t
  11. These instructions will not tell you how you might transfer your data from the
    " W% N+ Y$ z2 |! f
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    - D$ x" T' ?7 m& ~
  13. database.: c0 a' e: a# ~* c
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    4 g5 w! @0 d# q" r- x6 R
  15. the time of writing, there are still too many issues - check the current status
    2 R1 \; y$ P! w- Y
  16. in the TeamSpeak forums if you are interested.6 D2 S# j- S0 q! t
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from1 Q3 j& ]7 G* D9 s
  18. Borland was used. This driver can only interface with the client library that 8 A. t% I# U) S8 d8 e
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    " z( ~) j. O9 S$ S  p6 d+ |1 |
  20. client library - basically all you have to do is to use a 3.x client library as
    - f8 x4 P4 |: N& K8 v
  21. "VendorLib" and a 4.x database to connect to.6 ]6 s1 t  |/ P" @& [# m. T) t
  22. If you need more info about dbExpress, you can contact Borland.
    ; S3 L* f5 x. d

  23. 7 Y) d4 L' K- E# s; {" I
  24. ### Doing the work ###2 L0 g" x  T  }& j. r* |
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, C) x9 y$ E# n# q1 c2 J
  26. the perquisites right, just open your server.ini file, and add this section at6 d( p; V! J8 p/ Y6 r, g2 \
  27. the end:
    . K9 N$ V: k3 M; W$ \5 n
  28. ---cut here---
    2 ]7 X5 }9 o4 y- u, h
  29. [DBEXPRESS]
    " Q+ P" q) V) n7 a& U
  30. sqldir=mysql_sql
    8 p& ]" u7 a  q7 D& \2 P4 D$ Z; S4 [& K
  31. Drivername=mysql
    . B, p) D; f- Z) T: O) g
  32. Database=Your_Database_Name_Here
    8 g5 z1 n2 o' P4 g7 V
  33. Hostname=The_PC_the_MySQL-Server_is_on0 U% D+ N7 v6 Y6 s$ l3 U, B8 U( t1 z
  34. User_name=User_name_on_the_MySQL-Server# f- e( @( Y- F& Z1 A; Q
  35. Password=Password_to_go_with_above_user_name
    7 O+ {7 e; K# x8 [
  36. GetDriverFunc=getSQLDriverMYSQL
    ; n! ]6 A0 }) c: j8 t, g' [
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ) j6 ~" a8 {3 e) K$ l: |( Z, `
  38. LibraryName=path_to_libsqlmy_libary" v4 w  [& [$ K/ n, @
  39. Active=16 y& I1 ]7 _, g& m; x( }6 F- O2 X
  40. ---cut here---& {! P7 n1 C& n( u
  41. In my environment (a linux box with a MySQL server running locally) I have:, K( C3 e" b: \, J. ~6 Q
  42. ---example---
    - I, D2 p! W- ~1 F6 V( U
  43. [DBEXPRESS]
    & K  _! f4 m" S1 d5 U0 z: c
  44. sqldir=mysql_sql7 Y5 b9 _  }+ H" C7 ]
  45. Drivername=mysql: ]* j! C0 B7 C  R) {  X9 R
  46. Database=test
    / E' ?6 K8 w5 f
  47. Hostname=localhost; Q  |) N3 K7 Z# m( J
  48. User_name=testuser# ~5 q/ b* R, \
  49. Password=my_password/ f1 p: A. l; y/ Z2 R+ ]
  50. GetDriverFunc=getSQLDriverMYSQL
    ( x2 d9 Z- s. z* f- `& W
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0- f9 |. g- M" P! W, ~& W3 k
  52. LibraryName=./libsqlmy.so
    + R+ }; [( A+ @9 `
  53. Active=1
    % c& b- v1 J- E0 b. B' y' E
  54. ---example---: M# Y. Y" }  V- Q" e! }

  55. 2 V" j; \! m# s  x% O( a0 [
  56. On a windows box, also running the MySQL server locally, it would be:
    ( Y  D- E  k  {8 v5 \* `3 s0 l
  57. ---example---
    0 P$ E2 v8 O& a  Q( r7 x
  58. [DBEXPRESS]0 I" J/ o: o. }  ^" E5 G% E8 ^
  59. sqldir=mysql_sql7 e, q- c+ I6 F
  60. Drivername=mysql+ L0 T# y. q5 F, Y
  61. Database=test
    " Y! }) J5 ]2 ^0 a  z0 ^2 l1 C, W! V  v
  62. Hostname=127.0.0.18 s$ f( l4 Z8 V3 h! }" g( `
  63. User_name=testuser
    2 p3 V/ V0 J  F5 Z; Q0 D
  64. Password=my_password
    - W! T* C* r* i# o; F
  65. GetDriverFunc=getSQLDriverMYSQL
    2 S$ o& R* v; G& F! Q. z1 ^9 N: C
  66. VendorLib=libmysql.dll! h8 H  @9 J  ~& ^/ g, i
  67. LibraryName=dbexpmysql.dll$ O& Q& R) U% e6 H4 A& D
  68. Active=1
    7 L8 I6 {* f  w* a. U
  69. ---example----& e/ f! d' q0 q& b7 |& n
  70. - written 02.03.04 by pwk.linuxfan7 L# B, W8 g0 }% W' y

  71. 7 P% h, x6 ]& F' w
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
: C) P! U9 Z# |5 C8 ]$ W7 C" {6 L' _

  1. % K/ C+ T: F; }$ l
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! s0 ?! T1 g& x* `2 c
  3. 9 m% t  u2 V7 i
  4. # # #我们所需要# # # ; M$ B& \& [; p2 K8 ^* |
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件9 p4 Z" n8 R. }- c5 z+ |5 J
  6. 不会解释如何做到这一点-也有文件存在,为
    & }+ V, ~- ]  q/ C& H3 G/ L
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用2 M& v3 H" c/ E. e; D
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    " I6 M. ~) @, }: r
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    4 }( C+ v. y0 F, V; ^
  10. 本地机器,这是我的MySQL安装。 4 w* m0 O4 H, F6 r
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    4 f+ u2 U/ h& ?# V6 k
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    * y$ d5 m# F4 w% D* K; c9 O7 Z1 i
  13. 数据库。
    . b+ E/ L- @& s& q% z( Q
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在' W3 l% A8 Q) l) w
  15. 编写本报告的时候,仍然有太多的问题-检查现状* c/ W) R. Q- D0 V  Q% c
  16. 在teamspeak论坛,如果你有兴趣。 + A! B! L. @& w/ y1 i
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机1 s( g. C$ J$ P9 i$ c  h) {
  18. Borland公司使用。这个司机只能界面与客户端库; O" `# O' f( g9 e/ i1 }
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这/ @1 _: ^  w! k7 q% o4 ^
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    : N; Z! l: C) n+ u7 I  H$ U
  21. " vendorlib " ,并解数据库连接。
    5 U; W0 q( l" X. @( S/ z
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ) h9 |8 G% ]  I! y  [! c( N

  23. . R- A( W1 V* i: z
  24. # # #做好工作# # #
    % B! Y1 T/ m! C5 n! ^
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    # F4 x  [+ Y' e7 C" w( V
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ' L# x5 C; K8 v; V$ e' ?
  27. 结束:
    : i2 S! E$ k. e; R* t& g
  28. ---削减这里--- 6 M1 V- V& S8 w# X0 F. {
  29. [ dbexpress ] ' a6 K0 Y% v$ `- ~* t4 i; |
  30. sqldir = mysql_sql 3 {6 b6 K$ M2 ]9 X
  31. drivername = MySQL中
    % K7 g& }+ {9 d7 b/ i1 g. j
  32. 数据库= your_database_name_here
    0 w$ Y) {  V9 c2 ~& K
  33. 主机= the_pc_the_mysql - server_is_on
    & t' `+ J* m) i7 g& |
  34. user_name = user_name_on_the_mysql服务器" E, p% p3 |* V6 n. a
  35. 密码= password_to_go_with_above_user_name
    : @/ l. A4 n* s" @
  36. getdriverfunc = getsqldrivermysql 0 p$ ^2 h( \: x( Z* g% l* c1 B
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 1 ]' b1 h8 F, N
  38. libraryname = path_to_libsqlmy_libary ) ~( Q1 E/ J& I% H
  39. 积极= 1 , p4 l7 I3 c' q6 @& N9 z
  40. ---削减这里--- ; A9 Y5 m& a/ x. d$ l, V  ^& _7 m
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ) C+ i' Y% G3 _7 Q* Q7 J' W5 v
  42. ---例如---
      V8 l3 Z  o$ Z8 S( z& U9 @; t# X
  43. [ dbexpress ]
    ' a5 S, L, _6 d* T6 j& u
  44. sqldir = mysql_sql
    ( P) q4 ?1 \6 a  u
  45. drivername = MySQL中3 c/ f. K4 W/ m- v  s: ^  C+ g
  46. 数据库=测试$ d* E- w6 l& y/ @
  47. 主机=本地主机7 n* A/ R" z8 x/ |
  48. user_name = testuser
    , Z' \( q( s: P9 k+ T) h. Z
  49. 密码= my_password 1 P+ i, T! G  f, A! s- j
  50. getdriverfunc = getsqldrivermysql
    0 B' s2 R. W# E7 h, i$ a) [
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 4 y& g4 `, P3 O, L- o
  52. libraryname =. / libsqlmy.so " Y9 i' m: T; _# U2 |
  53. 积极= 1
    # z/ \/ h( K# j6 Z
  54. ---例如--- ' Z* q! ?% u; U6 U& ?( b
  55. ) Y9 e* h2 V8 c8 L8 F* s
  56. 对Windows中,也运行MySQL服务器本地的,那就是:   v0 w, i" ]: u4 H# }
  57. ---例如--- 4 h' r6 x8 {. n, r: E
  58. [ dbexpress ]
    1 N# y' B. J) H; H6 g1 Z& N
  59. sqldir = mysql_sql
    + Q6 x, w! [- ?9 k! x# Q& {
  60. drivername = MySQL中2 Q: b" o/ i% C
  61. 数据库=测试7 G4 Z; A& B$ X3 G' W" D
  62. 主机= 127.0.0.1 * N. d. \: t9 l" b" z$ R9 ?# J( Z% e
  63. user_name = testuser 5 P+ [' h0 S9 O1 x# g* z; u3 g
  64. 密码= my_password
    0 c, ]: B; s& L  |! Q1 J, J0 S1 x
  65. getdriverfunc = getsqldrivermysql ( C. K1 a- t0 @5 E" v4 h) h* l
  66. vendorlib = libmysql.dll在0 `; _+ x6 i3 U+ ^# V: v, J
  67. libraryname = dbexpmysql.dll 7 f! p  P5 L8 o4 {
  68. 积极= 1
    " Y9 l0 Y, t% s" K; h5 M8 S
  69. ---例如---- ! e! \' A, S2 M! r
  70. -写在0 2.03.04由p wk.linuxfan
    # B: J: I8 p# T  Q+ O  N7 o
复制代码
发表于 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
( h2 |/ d* Q, b# Z
6 t& f% V8 T' ^7 Tbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-27 13:39 , Processed in 0.129699 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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