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

3087 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan , W! A' a' N2 M' a0 i8 s* P

7 l5 q  ^! c; ]9 F; g. }

  1.   J! `9 {# z2 }: T) ~
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######9 m% X  ?$ f; B
  3. 9 t9 r: {* H/ \, ?4 n
  4. ### What we need ###0 g* u# L! J. c! ^2 Z
  5. Naturally, we will need a MySQL server to store the data for us, this document : `6 F6 C- n/ u$ s9 @* R
  6. will not explain how this can be done - there are documents out there for the 7 H* l) {" `  o" \
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    4 z: F, y  k4 D3 v
  8. and a user account (username + password) that has the permissions to do stuff
    0 C" a3 W( J1 c/ I5 E( ?3 b6 s
  9. with the database. Additionally, you will need a vendor library installed on the1 o$ p3 n5 ~) C8 c
  10. local machine, this came with my MySQL install.
    / R, m3 O) `. Q( t( ~% n
  11. These instructions will not tell you how you might transfer your data from the
    , C+ D! O5 G5 i  u$ v
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL/ H7 \( a/ J( ]/ P! X! Z
  13. database.! ^1 y8 S3 ]3 X, x
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    + U( `% P4 M, k; B" b( h  O
  15. the time of writing, there are still too many issues - check the current status9 C0 R6 r3 p3 ]6 a. C* `6 V' y
  16. in the TeamSpeak forums if you are interested.
    , w1 X8 n4 v* _5 O% y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from' H5 K* Y7 O0 x8 z4 X- i5 }
  18. Borland was used. This driver can only interface with the client library that ( Q7 e; r, y6 |% P" O+ ~
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    % |7 X( z" p8 V
  20. client library - basically all you have to do is to use a 3.x client library as
    ) B# n/ f/ B, b; L
  21. "VendorLib" and a 4.x database to connect to.9 R* k0 n# @4 n$ ~) z
  22. If you need more info about dbExpress, you can contact Borland.
    ( g  J5 ]: T% y
  23. % g7 X/ E" V" ~5 m# O
  24. ### Doing the work ###% b) b9 B9 H3 @
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    & w; }4 m9 A/ g$ s2 b
  26. the perquisites right, just open your server.ini file, and add this section at+ f1 }( m4 U6 z1 a0 v  ~8 B
  27. the end:
    1 w8 j; \/ L6 i1 q7 |
  28. ---cut here---
    ) c  x% p( z: p! G7 N5 c0 n
  29. [DBEXPRESS]
    : I( o; c1 o  \) q) r) H
  30. sqldir=mysql_sql" Z" X9 ]/ ~% r! t: |7 D; _% }
  31. Drivername=mysql
    ( V! L  g# C8 L+ X
  32. Database=Your_Database_Name_Here
    3 t$ `$ g7 _5 ~' c: V
  33. Hostname=The_PC_the_MySQL-Server_is_on4 I% E5 x. z, W$ K8 k- Q- U' s
  34. User_name=User_name_on_the_MySQL-Server
    % e4 _9 y8 ^/ i- p3 e6 c
  35. Password=Password_to_go_with_above_user_name
    4 {8 t3 C6 C: g4 i" r% Y8 u
  36. GetDriverFunc=getSQLDriverMYSQL
    ) V( |1 z- T2 ~
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib: W) l, i5 j. ~+ v( V
  38. LibraryName=path_to_libsqlmy_libary+ x7 G! @. c3 e' n' M3 D
  39. Active=1
    7 z0 h# d5 G( v1 f# S3 N
  40. ---cut here---
    ; {- M& {5 \, M
  41. In my environment (a linux box with a MySQL server running locally) I have:' \1 D* U4 f- U
  42. ---example---
    : H3 B4 S  g# j3 C
  43. [DBEXPRESS]4 x6 _5 t6 k- k$ o
  44. sqldir=mysql_sql
    9 r0 P7 ~# H6 [# H. v0 `" _
  45. Drivername=mysql. y5 ^: l: R/ q
  46. Database=test
    & Q2 a; C. r5 i- F+ R/ p
  47. Hostname=localhost
    * _  F5 m4 @8 x8 W6 W4 A
  48. User_name=testuser
    ( c& w9 A" |: r& `! p5 b
  49. Password=my_password. O( b6 B# W( {# p2 k; q
  50. GetDriverFunc=getSQLDriverMYSQL
    " }! S, a+ n4 h% K
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0# e/ {+ j( R$ E/ x9 g, _
  52. LibraryName=./libsqlmy.so
    $ }4 O, q' O4 e3 F5 O- k
  53. Active=1' n; T7 K- ?9 K/ i: \* }: i2 R9 C
  54. ---example---- L& T, M+ s* U9 G

  55. 8 V/ v4 M" k2 C3 z4 `
  56. On a windows box, also running the MySQL server locally, it would be:
    ( y! R. w' |8 A7 c1 U
  57. ---example---+ O; K8 V; z/ T1 e
  58. [DBEXPRESS]9 S3 s; p$ w' {. X6 D
  59. sqldir=mysql_sql: O! j9 P8 c! z6 K* f
  60. Drivername=mysql
    " F  b, g" \3 \7 F* h& k, Y
  61. Database=test+ o5 G% W5 V/ V
  62. Hostname=127.0.0.1
    " c& |# w. q3 W% m
  63. User_name=testuser  R% F- ?* k: Z
  64. Password=my_password" e9 |$ M& k/ }* d) Z2 h" U2 _$ n# i
  65. GetDriverFunc=getSQLDriverMYSQL
    , d% }8 j4 q' P# v: G1 C
  66. VendorLib=libmysql.dll6 J; z4 N3 Z0 m8 P( m2 g5 j
  67. LibraryName=dbexpmysql.dll. Q) A& l- K5 C+ f% Z( J5 ?
  68. Active=14 P: w; P! B9 N
  69. ---example----! }: _" R7 O7 _  u3 e3 o8 K8 Y- e
  70. - written 02.03.04 by pwk.linuxfan) v0 \  b+ f) C% F8 L4 V

  71. 9 j$ _, U3 A2 t' C& a
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看4 E. s0 G5 j1 h8 [
  1. 2 u. \+ H: X. g: R8 l+ {4 z
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### * i) |6 p6 g3 A) P, T- C+ V

  3. ' l# J6 D9 u) D# j0 u8 k
  4. # # #我们所需要# # #
    " Z  I4 o4 }! t
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    7 H- L# `  g! G* e! O% b* J' R  X) |
  6. 不会解释如何做到这一点-也有文件存在,为* h, O/ Q" h4 Q/ E
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    0 ?+ Q. C  V2 E. A
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西7 g- w: `& x- x1 L4 h2 s7 V
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    4 l: T' U8 t1 E8 p7 K
  10. 本地机器,这是我的MySQL安装。   W) m- O0 M7 v7 T2 u( ^' E
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    * j9 G9 [5 a6 k( }4 s
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    5 V' B2 @& b# U* m) K1 L7 w
  13. 数据库。
    ' O3 b; T! h1 G
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    . K- H0 B% e  _9 _7 J
  15. 编写本报告的时候,仍然有太多的问题-检查现状
      G0 a: E$ u" Y
  16. 在teamspeak论坛,如果你有兴趣。
    ( x+ a6 D$ _2 P2 A* @- V9 u
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    - j9 U9 P+ q+ r8 K. u. J- P" s
  18. Borland公司使用。这个司机只能界面与客户端库6 w1 m# |8 a9 \4 X! A
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ( X, M6 i  F9 }# S) d! L2 I# v
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为9 \! J' T, j$ r0 G+ r
  21. " vendorlib " ,并解数据库连接。
    8 t  U" y' @# B* d1 s
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 + |* V- W- n- w
  23. 3 Y2 o( i& e" N) c8 K9 b4 L0 L
  24. # # #做好工作# # # $ H% ^# u: G. ?6 I- f0 C" Z8 n' n
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都! r  i' A8 ?& c9 C& T
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在. I7 r( o* g: s) v1 g
  27. 结束:
    . b1 t% E$ m, U9 e
  28. ---削减这里---
    , T, b! I. ?, R# R
  29. [ dbexpress ]
    / u  p3 U% L. i. d8 {" \4 u: t
  30. sqldir = mysql_sql + W3 e+ e1 C* ]- _. ?& c5 Q$ e5 j
  31. drivername = MySQL中# f9 |% q8 h; i! ~# k! z
  32. 数据库= your_database_name_here
    ' F1 j/ |5 [# _4 L3 N# ]9 f- o
  33. 主机= the_pc_the_mysql - server_is_on
    * d& u6 _( Z& A& q+ b0 ^
  34. user_name = user_name_on_the_mysql服务器
    6 w5 K$ C! h5 B4 j6 c. p
  35. 密码= password_to_go_with_above_user_name
    . Y9 b  P% ]% N/ T5 H7 l
  36. getdriverfunc = getsqldrivermysql 3 {* T5 y1 ~0 O6 t4 I
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib # \  D! Z, ]+ ]3 r4 _
  38. libraryname = path_to_libsqlmy_libary
    4 j4 B% z. C9 D( h8 U: a( q* `
  39. 积极= 1 7 _, q3 S3 C  n0 M, i. N* }, r
  40. ---削减这里---
    & D2 o# t! ^3 ^# D2 b8 j; b
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    6 `% [4 s+ w" x
  42. ---例如---
    2 y1 y- b5 s6 b- Y4 Y6 Y) {) ~
  43. [ dbexpress ] * b2 E/ }. ], E: W1 Q$ z
  44. sqldir = mysql_sql
    " ^3 B& R! q9 e# g; U) g
  45. drivername = MySQL中- C" F8 X0 t# a2 ?* \4 T: h
  46. 数据库=测试8 W7 S. P& S) ]' M1 f
  47. 主机=本地主机
    - f* b; |2 n9 ~! X/ L. |: g
  48. user_name = testuser
    & e. `' {' e  l3 R: x) c: \
  49. 密码= my_password   r4 M4 k( G) e4 @. B
  50. getdriverfunc = getsqldrivermysql
    : T+ ?# E% Z# L% s  T( o% L
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 0 k) F6 |7 W/ z. }  d/ J3 ^
  52. libraryname =. / libsqlmy.so
    0 I* [6 e# o! A( @" g5 ^
  53. 积极= 1 . n  a+ @% r$ u5 Y
  54. ---例如--- # n1 s1 R: X( r7 a. H

  55. ; y0 c* U3 G8 S. g. g/ u/ S  R
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 0 l9 e( Z! [6 D( O
  57. ---例如---
    % A2 G5 E) {( V" W2 U9 R
  58. [ dbexpress ]
    ! O# K# {* m. S6 _
  59. sqldir = mysql_sql * ]  ~6 T* o9 V: B
  60. drivername = MySQL中5 d2 I0 r5 {6 d
  61. 数据库=测试
    . `% j( y4 E5 b" b4 A8 {  K2 u
  62. 主机= 127.0.0.1 $ N* ^- i6 T7 t) C- C
  63. user_name = testuser $ F: \% U5 _6 j2 J/ ~
  64. 密码= my_password 8 Y9 F( W; d, A' N" j  R
  65. getdriverfunc = getsqldrivermysql   y6 _* j( }! e+ K/ H
  66. vendorlib = libmysql.dll在) T! [4 F& P$ _  r3 A& r. K
  67. libraryname = dbexpmysql.dll * I& M# p( P+ d" f. A' j
  68. 积极= 1
      N7 [9 y0 a; a" a3 p0 x. y  T3 z
  69. ---例如---- ( S" {% O$ D* \/ d; J
  70. -写在0 2.03.04由p wk.linuxfan) O7 R# X5 U( l/ \  f* w7 M) F4 i" I
复制代码
发表于 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
  O6 L, W+ U+ N9 s3 k/ F1 h2 Y; r' X
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-29 18:55 , Processed in 0.113026 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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