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

3400 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan & O" k) O, B7 Z) \) |4 J5 a# d

- y9 X; y  Y/ z7 u# M, N: c

  1. & C1 D5 u4 c2 h& Q& g! `
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######5 g3 m# V5 O* n  N

  3. : O( n% ^3 ?7 h7 D2 |# h
  4. ### What we need ###
    : A. z- m% M# J
  5. Naturally, we will need a MySQL server to store the data for us, this document
    * A# p3 Q7 C! H0 r0 C4 I$ m8 v
  6. will not explain how this can be done - there are documents out there for the
    9 E0 i8 f) q5 s/ d. W
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ( B4 X. o3 r! ]" ~
  8. and a user account (username + password) that has the permissions to do stuff
    4 n) _# c1 g, x# A4 Z7 j8 Y8 e
  9. with the database. Additionally, you will need a vendor library installed on the
    , R" j# O  n0 n
  10. local machine, this came with my MySQL install.
    ' E- e" t1 s( W% P3 ~
  11. These instructions will not tell you how you might transfer your data from the
    2 }) M4 P5 v7 t) ~3 x7 J; J
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    + d4 D5 d! J6 K+ X4 q1 i5 U8 A
  13. database.% z8 v8 }0 k' Z0 L' [
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    / e8 l% O8 L9 ]0 ^* P! C
  15. the time of writing, there are still too many issues - check the current status5 {) S9 S3 v  r  h1 F" F- i
  16. in the TeamSpeak forums if you are interested.
    6 g; H, k7 \7 L  x- V
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    4 U6 W7 i3 ~. g. q
  18. Borland was used. This driver can only interface with the client library that
    9 a8 W; R2 z) O) ~
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this- N5 q7 g, ~9 Q2 Q2 L
  20. client library - basically all you have to do is to use a 3.x client library as
    / o1 p& _" `3 D  `
  21. "VendorLib" and a 4.x database to connect to.0 f9 _3 j3 ]; L1 n0 d* Q9 Z
  22. If you need more info about dbExpress, you can contact Borland." D: I/ l6 C2 S: [5 {; v# I

  23. / `5 O1 \% z5 H/ q8 T; I: J" i
  24. ### Doing the work ###
    8 R0 k+ B+ E9 _
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all  x9 s# F7 R# v9 G  j7 c. Z0 z
  26. the perquisites right, just open your server.ini file, and add this section at
    . `' r8 Y( O. N
  27. the end:
    - o3 t3 j0 s( \& X' q8 k6 C
  28. ---cut here---
      t8 I9 v" o4 N9 b8 P. G
  29. [DBEXPRESS]
    , z2 O5 r8 m/ H. u; V; v/ w2 G
  30. sqldir=mysql_sql
    & e' w/ ?- [  Z" I3 g, \
  31. Drivername=mysql
    " p/ O0 i  O0 a* R) A
  32. Database=Your_Database_Name_Here
    5 {4 i& [4 n* }( t  m; o: b* C/ S
  33. Hostname=The_PC_the_MySQL-Server_is_on
    , ?  P5 ^* T2 m- q; ^
  34. User_name=User_name_on_the_MySQL-Server
    8 P1 @# V( ]8 h7 e
  35. Password=Password_to_go_with_above_user_name/ g1 `9 ]4 L& e, S8 \4 V: ?
  36. GetDriverFunc=getSQLDriverMYSQL
    ! ]- V' R& ]  L2 w
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib7 T; k- c$ I5 ]: [( d& W
  38. LibraryName=path_to_libsqlmy_libary0 O7 l3 _# s/ K/ }/ T3 X
  39. Active=1. Y) v1 P% ?5 g, X
  40. ---cut here---7 c7 `# H" A) s! o4 s, @) M7 Q
  41. In my environment (a linux box with a MySQL server running locally) I have:8 g) n: n% M. z- j: p5 K% z
  42. ---example---4 `. G" R4 J" R0 W
  43. [DBEXPRESS]; R0 C7 Y+ g: f7 L
  44. sqldir=mysql_sql0 I$ \- ~! H- x& C
  45. Drivername=mysql6 _( U5 G1 _2 u( {6 F
  46. Database=test
    5 ]8 x- ]0 m2 i9 i, S. D
  47. Hostname=localhost
    1 }; G9 }6 b) n/ o4 q# k
  48. User_name=testuser
    & @) {8 ^2 L0 o$ h3 }
  49. Password=my_password# T# x) K8 U- W. a/ q7 p" \0 Q% h
  50. GetDriverFunc=getSQLDriverMYSQL
    0 g  I# M5 e$ h0 _3 r( J, E
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.08 c/ d: e9 A; Z, {) A* J' R, A! S: I
  52. LibraryName=./libsqlmy.so
    7 H0 O8 x+ @" l- J& e
  53. Active=1
    ' u$ s! f% W3 ]4 Q# X
  54. ---example---( Q$ i/ _( L2 K, t) q( X* |
  55. ) N/ f8 l6 F* p! Y0 v
  56. On a windows box, also running the MySQL server locally, it would be:1 U' \) c& J4 ~  V" W6 f
  57. ---example---: A, ^5 s" p# K( L. `
  58. [DBEXPRESS]
    ; l$ |  ~5 c+ M7 `/ J
  59. sqldir=mysql_sql
    1 }; s4 S* H' ?- m
  60. Drivername=mysql) h2 b$ x5 u6 Z& @1 F
  61. Database=test) H' g, F, x# J% D- g/ b
  62. Hostname=127.0.0.1
    * T! f! q% u, \" n' \2 P# @
  63. User_name=testuser
    * n8 ?% ~/ A! o( r7 A- U
  64. Password=my_password
    4 q: e) v" S. P7 Q4 X1 h7 X
  65. GetDriverFunc=getSQLDriverMYSQL9 f9 ?1 n0 E) Z1 f& k8 n, [
  66. VendorLib=libmysql.dll2 N8 c* @0 V5 f0 B
  67. LibraryName=dbexpmysql.dll. E; n! Y+ E5 x8 I1 E8 i1 M0 h) H7 f+ R
  68. Active=1; r) K& f- T2 o' a
  69. ---example----
    $ M0 o4 S2 K5 H% i# @6 V
  70. - written 02.03.04 by pwk.linuxfan
    0 H- `- j; T$ R
  71.   `: [2 v- g3 _" T, G
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
9 W' c$ k' X( E
  1. ! V# Z; X7 q" |( J3 W6 d* `3 N
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    9 F% p. H6 A5 w% ~

  3. $ {* Q$ c0 _& ?( K* l+ O) i
  4. # # #我们所需要# # #
    2 j) x# O# h5 n2 W9 T: Q6 |
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    . Y$ }& M8 ^+ n
  6. 不会解释如何做到这一点-也有文件存在,为
    9 y; l4 t+ `- x5 G+ U  ^) M
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用5 K; K' a" u* {& g
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    : C1 |: h' s6 L# o. J& e7 F* [$ F$ l
  9. 随着数据库。此外,你需要一个卖方图书馆安装于. W$ D. K; I% z$ h+ ^5 H
  10. 本地机器,这是我的MySQL安装。
    ; U7 c( T5 E7 {+ k9 A
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ) l0 k* U! }3 m1 V  H8 ]3 J! W
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    9 z: Q% ^" p0 j+ l9 d5 W, E! Q
  13. 数据库。
      }, B: l) o% z/ Q; q# [2 O
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    + S) u' K  S& J5 _  L. C' D! y
  15. 编写本报告的时候,仍然有太多的问题-检查现状, Z+ ~/ |3 x9 ^! F0 B# C
  16. 在teamspeak论坛,如果你有兴趣。
    $ \  q  [5 ]1 m9 ~# G5 ?
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机* V8 p9 J9 f8 v9 X! Y! l6 u: h
  18. Borland公司使用。这个司机只能界面与客户端库* @7 M9 z) ]$ j8 I
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
      `) r" z) @% l9 P" u. U
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为: Q& l: a0 C8 s3 @4 z
  21. " vendorlib " ,并解数据库连接。 : w8 l( u+ k# N
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    - e+ J- P: [% Z+ c$ H& P; t) e
  23. , N# G# _& D$ C4 B! s
  24. # # #做好工作# # # : v- W* L* B8 H5 Z  ~6 a
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都$ p: N+ Q* J3 S9 i  m( h
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在7 T  Q. Z6 C7 }8 o
  27. 结束:
    ' o- o# p  F3 @& z$ c: k( S- x
  28. ---削减这里--- " k2 T; ~, Y! H* H3 F0 h
  29. [ dbexpress ] 7 J, c  Z% V: ?' n6 b
  30. sqldir = mysql_sql 4 j  I/ J' t6 E( z. A/ H
  31. drivername = MySQL中
      T; `5 Q) D3 ?# R2 M: n0 |. V0 G; F
  32. 数据库= your_database_name_here 6 q# X# M7 X% U0 T5 s: C& h* E+ A' X
  33. 主机= the_pc_the_mysql - server_is_on * L# S% j' L. p7 f- U4 r5 |6 d5 Z
  34. user_name = user_name_on_the_mysql服务器
    # L- _# Q3 L  e# E( v5 R# p" U0 m- @- i
  35. 密码= password_to_go_with_above_user_name
    2 x& q! L/ P3 V" c9 a; w( Y8 z
  36. getdriverfunc = getsqldrivermysql
    * b* ]9 a% Y: T+ @9 H, ?- h( X2 @$ K7 H
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    & c, u" ~9 G" l$ F
  38. libraryname = path_to_libsqlmy_libary
    , s+ N& V0 H6 W* j  t  v: M( a5 V
  39. 积极= 1 $ r# B. f3 d" c" f
  40. ---削减这里---
    $ d6 |) i& B# q, \7 [- Y- n
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    $ T& u. ^! W! d: I' Y7 x5 {
  42. ---例如--- 1 M$ \3 d9 k. X8 ]# j) x# L
  43. [ dbexpress ] - v& j7 J8 l& I$ K2 H5 \8 O" N
  44. sqldir = mysql_sql
    1 @/ g  {6 C2 [8 r" x- m
  45. drivername = MySQL中
    ) C8 J( `1 s- i; V. P; w8 j
  46. 数据库=测试3 n$ \9 F, E) u2 [+ h# j
  47. 主机=本地主机8 o! ?! h% w4 a: E6 v1 L! e: ^& z$ x! F
  48. user_name = testuser
    7 z" r& c+ A% m6 R6 I  }
  49. 密码= my_password % }; Z4 e9 R" E& B! |0 G* w% s
  50. getdriverfunc = getsqldrivermysql % _8 s$ M3 l# f' d% V
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ; w% k' E# O5 e# O4 T
  52. libraryname =. / libsqlmy.so
    $ ~; ~8 h6 E4 }9 c6 S1 A9 x
  53. 积极= 1 " v! h3 U; m: z( t1 `! i
  54. ---例如--- + f7 ~, e0 d: B- N6 s2 t# m

  55. 1 \* Y1 i/ ]  q( X8 i. y2 T; ]
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 7 s9 g" a, }# D& _: P
  57. ---例如---
    : ^8 U1 n6 H! [/ n/ a+ t
  58. [ dbexpress ] * r$ R( }- Z$ I4 K5 @8 g4 K
  59. sqldir = mysql_sql
    . I  I8 m2 m: f! C
  60. drivername = MySQL中- o, a0 C8 P# b+ u. L
  61. 数据库=测试' i4 }. S3 _/ G5 y
  62. 主机= 127.0.0.1 ) i0 s+ u4 c' t: e' W) g" W* r9 ]
  63. user_name = testuser ! Z1 @; I$ R. L
  64. 密码= my_password 5 K8 u7 @2 i) D# }1 P3 O+ _+ ]  m% e
  65. getdriverfunc = getsqldrivermysql
    3 r2 `6 ~6 C3 H8 j% }
  66. vendorlib = libmysql.dll在  o$ w! e6 a5 e7 a% T
  67. libraryname = dbexpmysql.dll ( ]0 g/ b. k+ K6 \+ t7 c6 K
  68. 积极= 1 2 [$ q' Z  k, I6 l& F$ [6 x' O: n' I
  69. ---例如---- $ D+ W* m: H0 v7 ~+ q0 W
  70. -写在0 2.03.04由p wk.linuxfan
    ) A8 u9 _. K5 @/ Z/ K( |
复制代码
发表于 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% Y( k0 y2 V& O4 q8 G* _/ w
5 }$ s; a. i2 H
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-27 19:40 , Processed in 0.065708 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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