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

2033 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
0 c6 J% g0 h7 b- s& Q7 W& J4 E, [7 Z9 ?3 X! ]" m
  1. 6 d6 \/ W) y7 S! N( h5 t/ O
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    + b6 |8 a! l5 z6 i
  3. ; `8 D4 Z! Q: N
  4. ### What we need ###
    # |. a7 M, h' B/ [5 `
  5. Naturally, we will need a MySQL server to store the data for us, this document
    4 j8 n- I& W# H  ^+ \* z" L  n
  6. will not explain how this can be done - there are documents out there for the % Q2 e; @7 |# x, g; K( z
  7. interested. The requirements include a (empty) database for TeamSpeak to use' L: Q# M: d7 G0 I
  8. and a user account (username + password) that has the permissions to do stuff
    * T- u( h, X8 O8 }4 Z
  9. with the database. Additionally, you will need a vendor library installed on the
    : k9 h/ M/ n, e
  10. local machine, this came with my MySQL install.
    7 W& B  [8 @; q  {* K+ U3 c. U
  11. These instructions will not tell you how you might transfer your data from the
    8 {( V0 c4 T% }  `/ r7 s  t8 N. n
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    % I  U5 n' U" A5 Q  z
  13. database.
    8 R% u8 k7 U: d& H% x+ Z
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ; |6 o: f8 L1 L9 D
  15. the time of writing, there are still too many issues - check the current status; @# T9 k, ^( U" T3 B& T$ [% {- |7 f9 ^# `* ?
  16. in the TeamSpeak forums if you are interested.
    ! y) d' ]( w7 v# r# X( H9 O* r( C
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    . i5 ~' R  B$ k' ~- A7 Y; X
  18. Borland was used. This driver can only interface with the client library that , N& f* H# ?. Y+ @* _0 W
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this# [! m- q. Y* H* E( k& ?
  20. client library - basically all you have to do is to use a 3.x client library as
    * _' i' \% P$ w9 ~
  21. "VendorLib" and a 4.x database to connect to.  P9 Y& o  f5 v; @# z) e
  22. If you need more info about dbExpress, you can contact Borland.
    . Z4 H% @( B# M5 X/ B/ u2 `

  23. 3 E% C# Y2 ]. W0 e
  24. ### Doing the work ###
    ! @/ Z2 I9 \2 l$ W8 Y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all* M5 m/ K! ]3 x& s7 E  l8 }# c1 K
  26. the perquisites right, just open your server.ini file, and add this section at. W+ O3 d, W  T0 n0 [/ z  T( j
  27. the end:
    " V( ~. z% E8 Y$ s! X
  28. ---cut here---
    ( W6 j; P1 L) t
  29. [DBEXPRESS]% Y6 n  a/ b2 a
  30. sqldir=mysql_sql' B+ a3 Z# u( i& t
  31. Drivername=mysql; i2 ]/ K, V2 `" x
  32. Database=Your_Database_Name_Here& B' H+ V5 ~+ j, m  D
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ) d8 F# t; k* j7 N
  34. User_name=User_name_on_the_MySQL-Server
    ' P- t& C/ g8 {- Y
  35. Password=Password_to_go_with_above_user_name
    ; C. \1 t1 v9 a
  36. GetDriverFunc=getSQLDriverMYSQL+ z: Z+ {/ f# v6 u3 U( ~4 F) I
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ) |( C# f4 L( e. f
  38. LibraryName=path_to_libsqlmy_libary$ \/ v  ~& t0 {9 e( I+ O2 ]
  39. Active=1. j7 k0 H5 _, ^
  40. ---cut here---  d4 q3 X) E4 d! V6 m9 s% K
  41. In my environment (a linux box with a MySQL server running locally) I have:
    + F3 Q+ f" R5 L& a
  42. ---example---
    ; M/ Y! U% `/ M; g% y1 q- r( V" E0 d
  43. [DBEXPRESS]; @! W; t4 }1 h4 ]' l. G3 c
  44. sqldir=mysql_sql
    8 o' w) l/ A# s8 R) l5 f# i
  45. Drivername=mysql
    , W6 z0 D6 f5 P- f7 K
  46. Database=test
    , Q' N4 I- m8 v
  47. Hostname=localhost
    2 ]" X1 N* _- _, M! Z% Z
  48. User_name=testuser0 A  D0 O5 V7 B# e
  49. Password=my_password0 }' v. o- h6 p& I, Z  F" L
  50. GetDriverFunc=getSQLDriverMYSQL
    + ]" W. E" r% O& |
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0. N( U& e- W! [( t1 Y2 A( {
  52. LibraryName=./libsqlmy.so/ g; `( R6 {$ i8 M
  53. Active=1; M0 I3 o" S" |( t6 J
  54. ---example---
    : n6 y$ N# T; N+ I2 @' U

  55. : x3 z4 \6 l9 H& m) A
  56. On a windows box, also running the MySQL server locally, it would be:
    ( A# t' w$ |: j" n% ~! c
  57. ---example---* J& w! n4 M/ d( n6 n1 d
  58. [DBEXPRESS]" x3 Q9 x  x  K7 T* G, i6 t
  59. sqldir=mysql_sql! P; P6 f+ |* C8 g" X" F, {+ l1 m
  60. Drivername=mysql
    + Q/ v, C7 S% f# }# \
  61. Database=test
    / ~8 v5 \9 l2 m+ [: b8 H8 g" g1 Z
  62. Hostname=127.0.0.1, ~  \. i# k& }" R6 M) b
  63. User_name=testuser
    6 }4 G/ A  S4 h+ m) ]
  64. Password=my_password# w- w2 C3 e2 O) l% D8 w' Y- J- s
  65. GetDriverFunc=getSQLDriverMYSQL# W4 {" @8 S6 N5 t) W9 w% I, b$ S8 y
  66. VendorLib=libmysql.dll
    ) I; |' O9 c, m+ \- n1 a  {+ h
  67. LibraryName=dbexpmysql.dll# ]0 b* Y/ S% `$ I  A& M
  68. Active=12 c! ^6 d  L4 l; o8 n: i! O7 L
  69. ---example----
    : O! p$ l: n2 F1 i2 J: |
  70. - written 02.03.04 by pwk.linuxfan
    7 U$ R- x2 L, z7 {' O' ]; P" d

  71. ' [" P) T! `- t0 Y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看5 P2 Z. B9 Y8 _- y  d" ^

  1. & h$ V* e7 w9 [9 Y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : b3 `+ c2 e0 }. o% M9 L& x8 V

  3. * k2 o2 M, Q( P: v7 X
  4. # # #我们所需要# # # 5 T/ d4 h' R9 t/ Y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件& F4 O- o2 O4 k) I+ T$ S
  6. 不会解释如何做到这一点-也有文件存在,为2 v: h$ k5 n; M( v  o
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用7 B+ h) P! k8 w0 }( ]
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西! ^( p  u* M3 ?" z; W
  9. 随着数据库。此外,你需要一个卖方图书馆安装于  P5 L8 W( V$ T. \" `
  10. 本地机器,这是我的MySQL安装。
    # p% {( ~' j' \/ d8 |
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    / e7 Z# V8 T7 e1 f8 Z; j1 U
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    : }& j# w/ Q5 ^( ?1 \5 P) t2 G; N
  13. 数据库。
    3 H& {, K( ?7 x* s. c& C' I
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    $ @" E5 q! h) K* z  b
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    7 J/ W  Z# q4 a$ H! a- |
  16. 在teamspeak论坛,如果你有兴趣。
    / _5 Z& W6 x( n" J5 \
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    % e& m" s4 O8 W6 I
  18. Borland公司使用。这个司机只能界面与客户端库
    2 t  N- X  D- @2 ?: {' N
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    $ D! g% ]  h2 a1 e- Y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    7 D( r! P) R& w/ e. H+ K. E/ ?' f
  21. " vendorlib " ,并解数据库连接。
    * s) }% L4 i; T4 f" E  N) ?
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 5 C0 v/ @, H1 J

  23. ) F! A/ |- C! a7 z
  24. # # #做好工作# # #
    2 A* Q+ ?7 l! A3 i9 w) g
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    2 R# E) G) `* r$ B
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在4 G& C: W: f/ Z3 r( q
  27. 结束: ) t! ]7 H' }- k
  28. ---削减这里---
    ; [) @) W6 |$ B( ]- ?" t6 {+ t% c
  29. [ dbexpress ]
    5 p( y; B. [4 i9 h" P& K$ n
  30. sqldir = mysql_sql
    ! d8 R$ A/ D7 u$ T9 S4 L
  31. drivername = MySQL中
    % @( p  F! F3 K; V
  32. 数据库= your_database_name_here
    & e5 |7 D* v& _: p3 C! y
  33. 主机= the_pc_the_mysql - server_is_on
    0 C: O' D- P8 K0 e( w5 {
  34. user_name = user_name_on_the_mysql服务器
    0 d0 x0 z8 J9 O- v
  35. 密码= password_to_go_with_above_user_name
    ) `3 W; C  q2 B8 {5 ~
  36. getdriverfunc = getsqldrivermysql 3 g% u; |0 R! |. r* I* X
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    4 H$ T$ n* R* P% D/ B
  38. libraryname = path_to_libsqlmy_libary + n4 h8 L7 E1 \4 E% x- t, N  q
  39. 积极= 1 6 F3 U( ^- ]7 m. S, H. e, t
  40. ---削减这里---
    : |' s, w# P  g- T/ B: k6 Q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
      e$ i7 Q" K2 E6 ~& `
  42. ---例如---
    3 F8 z3 ?* M3 G# O5 ]3 j% b( L& E* X
  43. [ dbexpress ] " o9 M: f$ p6 O, q& t  R
  44. sqldir = mysql_sql 7 x9 c4 k' _) @; ^5 D+ x
  45. drivername = MySQL中9 v  n0 w" ]: k2 \9 H3 E3 I  H
  46. 数据库=测试/ P( S" s3 u" L
  47. 主机=本地主机8 ^$ }8 ~8 @4 h. Y" Q
  48. user_name = testuser
    ' m4 S# _1 @5 ?1 V# C
  49. 密码= my_password
    / `5 [+ M6 U' t3 J& z# p4 O
  50. getdriverfunc = getsqldrivermysql
    9 Q, d+ k: J8 [4 h4 q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    5 Y( a# j0 I( i/ P. c' W
  52. libraryname =. / libsqlmy.so
    1 E# ~( S/ `7 G
  53. 积极= 1 $ x0 K7 R, C3 k( m, J) h. W7 `
  54. ---例如---
    $ E, J" [" R# c9 B6 g

  55. 0 x( j0 ^; w! d0 o4 d
  56. 对Windows中,也运行MySQL服务器本地的,那就是: + @3 U# A' {: V& L
  57. ---例如--- 1 U) ]. a' O! ]0 W+ ~
  58. [ dbexpress ]
    3 @7 y! K1 ^% I" {6 I
  59. sqldir = mysql_sql
    0 X# [2 }* X  [4 S
  60. drivername = MySQL中0 O+ Z1 w  [; E8 ~3 ?
  61. 数据库=测试1 n; J, [0 L1 U1 v4 T7 C6 K
  62. 主机= 127.0.0.1 3 l1 E8 ^9 Y9 `
  63. user_name = testuser , [4 m/ j; Y4 }6 ]. f
  64. 密码= my_password   ^9 {: B/ \* }4 g/ P
  65. getdriverfunc = getsqldrivermysql
      u$ U+ p/ M; p: `; p' {+ U
  66. vendorlib = libmysql.dll在" R$ f! _  d7 G. w. v+ ^/ H' g' }
  67. libraryname = dbexpmysql.dll # `- U' g- b4 S/ l  f6 V/ ]/ m/ C6 `
  68. 积极= 1
    0 ^4 D, r# y& Z8 ~$ c5 w
  69. ---例如---- + y" c, W. z: n4 a4 e: E+ I
  70. -写在0 2.03.04由p wk.linuxfan  y1 n4 M0 L# U7 Z. f  @1 n% y
复制代码
发表于 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, e$ A- k, `' b3 E

9 s2 o! G3 y# Dbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2025-5-15 02:23 , Processed in 0.112395 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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