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

2996 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
5 i% K' i; ^( o8 @: d& E3 h) K# m% p$ n, M' P" d( ]7 A- a

  1. & o0 o, f' J! x% H" T, x, r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######) K/ m! c9 `  _* n$ N
  3. 7 j1 @* r( O0 _4 H! f9 h
  4. ### What we need ###' [; H, @4 u. N# K+ E
  5. Naturally, we will need a MySQL server to store the data for us, this document ( S2 x6 O3 t  }, R
  6. will not explain how this can be done - there are documents out there for the % \) Z" Z. M6 Q* F' H0 A+ Y6 j1 i7 k
  7. interested. The requirements include a (empty) database for TeamSpeak to use% ^0 H) t( N6 F3 r
  8. and a user account (username + password) that has the permissions to do stuff
    2 D$ I+ f; p5 G- D( O8 S1 ?+ o
  9. with the database. Additionally, you will need a vendor library installed on the
    & U8 j8 Q7 A4 k' E$ H# u$ d. g9 U
  10. local machine, this came with my MySQL install.$ p) W6 F9 z- e/ F! ?0 z* N
  11. These instructions will not tell you how you might transfer your data from the: Y1 Y- h' s2 N
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL6 }/ W$ J0 L: g( K
  13. database.$ N) c, I  b! F4 w# [4 ?
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    7 B7 X# E5 |% `  z1 R4 U
  15. the time of writing, there are still too many issues - check the current status
    . [- N0 [) D8 H6 N2 h
  16. in the TeamSpeak forums if you are interested.$ J, U. x, {' Z# N1 _! ~4 T
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    : J3 L1 a$ ~  p- O
  18. Borland was used. This driver can only interface with the client library that ( z# k5 f! B7 i- T* r$ \
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this' Q# E+ ?# z4 v; ]
  20. client library - basically all you have to do is to use a 3.x client library as 5 R9 }8 M# w! E: W* Q5 }8 U/ F
  21. "VendorLib" and a 4.x database to connect to.) O% I7 o5 l9 Y5 p. D
  22. If you need more info about dbExpress, you can contact Borland.8 B* ]/ q  M& g1 r  ~
  23. . U& O6 B& h2 C+ A
  24. ### Doing the work ###
    + Z0 q& @& T5 s
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all# M, y: b( W- ]8 L) {% X; b
  26. the perquisites right, just open your server.ini file, and add this section at2 Y. x6 S: k. k% m" Z7 v8 u( u: D
  27. the end:4 k- A- N' N. w, Q+ H
  28. ---cut here---
    1 J! m2 g2 H3 R
  29. [DBEXPRESS]
    , X9 p4 c- q* B' i
  30. sqldir=mysql_sql
    : x8 O, }: L& _: O
  31. Drivername=mysql
    9 ~  O6 |  X2 u0 V. ~
  32. Database=Your_Database_Name_Here4 i- [1 H6 b1 V1 v
  33. Hostname=The_PC_the_MySQL-Server_is_on( y& _' D: x& c! r
  34. User_name=User_name_on_the_MySQL-Server* {0 j, f- C8 N2 i+ ~4 g2 ]
  35. Password=Password_to_go_with_above_user_name
    , `. j/ G1 b- y( f4 D
  36. GetDriverFunc=getSQLDriverMYSQL* |9 X+ X. j9 l1 j( A: v
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib8 @' s9 K/ C3 J
  38. LibraryName=path_to_libsqlmy_libary
    * F% I2 }1 x) M# L' e7 {! f& q+ y
  39. Active=1' P+ x8 ^' L1 ^' Q/ c) m+ \- ]5 Z
  40. ---cut here---/ r$ ~. d6 h( o( J# g- E
  41. In my environment (a linux box with a MySQL server running locally) I have:5 b2 i, D) T  u9 B
  42. ---example---: w' z9 k, p* i- l4 u# z( [4 j. q
  43. [DBEXPRESS]0 m9 t# v$ s. l8 V: o! P& j
  44. sqldir=mysql_sql" |1 f* o+ d1 x& B" q% I
  45. Drivername=mysql
    7 L2 D: S, t$ {# r
  46. Database=test: j! M0 ]1 A; |! h! q
  47. Hostname=localhost5 C7 t# K2 T: L# [* u
  48. User_name=testuser
    # T( B( V7 W6 }: A3 j. l
  49. Password=my_password/ h: B" j% q0 u5 x1 w7 U
  50. GetDriverFunc=getSQLDriverMYSQL
    . E! c% s& k  L* [  H- |
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0. y5 @5 _* p: d, l8 p' s
  52. LibraryName=./libsqlmy.so) p3 `5 D2 H. J  P% |9 \" y
  53. Active=1; c) s  O1 A; t' a' @
  54. ---example---1 f6 x9 E* y& S: j3 o# \
  55. ' _' s' a( A' D% b: Q
  56. On a windows box, also running the MySQL server locally, it would be:! u6 t, V: w! o6 e
  57. ---example---. q5 m, L' I# v9 k, C
  58. [DBEXPRESS]
    0 Z: k9 L) g& j/ d- o
  59. sqldir=mysql_sql
    2 x6 H: d+ Q  _" O0 G$ Q8 f0 F6 _' p
  60. Drivername=mysql6 p; ~( p' T$ H4 j! i; h9 K# [
  61. Database=test
    & v3 w1 U  j9 ]
  62. Hostname=127.0.0.1
    " ?9 |8 f- ]8 _; N; C% L
  63. User_name=testuser
    , j: ~( Y4 t) a7 P9 C
  64. Password=my_password
    1 e8 W" D* y2 @
  65. GetDriverFunc=getSQLDriverMYSQL! V+ [3 C+ c+ x1 X0 U$ H9 E- y: d* s/ O
  66. VendorLib=libmysql.dll
    # z8 R; v2 t% t. f1 H5 ~$ P
  67. LibraryName=dbexpmysql.dll7 }5 s, E9 l; X5 L
  68. Active=1
    5 N- K+ y/ T( E
  69. ---example----% _+ F3 [  \7 O; h9 ?
  70. - written 02.03.04 by pwk.linuxfan( {4 _2 C. j( X" N' b+ o! G
  71. 7 ~  L  ?- ^7 {7 o/ A3 L1 X4 Z" \# g
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看9 i& n0 [& d: v

  1. ( o* V7 _2 t8 Z$ B
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    + A) L) A  a* _# F
  3. % L* V. N( F) I  a* `
  4. # # #我们所需要# # # " x7 G9 E+ b2 L: F
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件9 j2 @) X! h* E& e3 v
  6. 不会解释如何做到这一点-也有文件存在,为
    4 V  a) d8 p* O# F. V
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    % ?; O0 }+ \% k% b3 k+ t4 Y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    1 X0 n- ]5 I* e
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 C+ T" z- K6 |  L' _" l, `4 Z
  10. 本地机器,这是我的MySQL安装。
    ) v$ t, @$ T# t" d, W2 B
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    5 z- E  n: P& U5 X- [# i; y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL + s. ]0 @; z4 P2 O
  13. 数据库。
    " v0 F) n# T$ N0 l% z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    1 C5 N3 z5 o8 W/ Q: Y$ s" S1 |+ X
  15. 编写本报告的时候,仍然有太多的问题-检查现状) m: V# M6 A0 n! V" z
  16. 在teamspeak论坛,如果你有兴趣。 % u4 v7 r" D+ V5 s- o; x  d: k
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    2 ]- j' o6 K- M3 G) V& n% F
  18. Borland公司使用。这个司机只能界面与客户端库$ ?+ V/ X0 b7 X* V' P' J
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这$ P% k" R2 S9 |% E
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为% N, T  |0 ~$ u9 Y+ _( ^. F
  21. " vendorlib " ,并解数据库连接。
    & T4 ?/ V/ v7 J* S- ]2 C7 j
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ) z. K1 A, q! q5 v0 l+ ?

  23. ; u0 t6 K' M: A: `/ c
  24. # # #做好工作# # #
    + l: h, }1 M+ S; [% @' h
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都3 R) E% d8 N3 x
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    6 l0 ]9 p3 E" {/ S
  27. 结束:
    , v3 Q$ n( C+ d7 e+ C- K# g
  28. ---削减这里---
    4 m% N+ R. i4 k; ?2 u6 G
  29. [ dbexpress ]
    / x- V6 w4 C3 X
  30. sqldir = mysql_sql
    4 t( g& b1 B, g* G" H
  31. drivername = MySQL中
    ) ]5 y1 J6 ^# R$ \7 T6 v
  32. 数据库= your_database_name_here ; Z1 w! }9 W5 O# U' P" i/ K
  33. 主机= the_pc_the_mysql - server_is_on 1 [- j6 {# m7 E3 a7 @! [
  34. user_name = user_name_on_the_mysql服务器
    : k( g6 c/ \$ \8 a
  35. 密码= password_to_go_with_above_user_name
    & g9 p. P; l& Z3 F) R: N0 B5 d6 F+ R
  36. getdriverfunc = getsqldrivermysql # ^" N, B5 A" |$ e; z" v5 P
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ! j3 J1 b7 y+ K4 O
  38. libraryname = path_to_libsqlmy_libary
    3 v7 W) q# i& d/ d; U
  39. 积极= 1 % \6 r0 s3 t2 ?* [- F& l6 y
  40. ---削减这里--- ( j& d  g9 Z2 T$ X- f
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 2 C% O9 J; C# F
  42. ---例如---
    6 {5 I9 c) ?4 g8 K1 t  w, P
  43. [ dbexpress ] & }6 [5 c; w! i7 V, ^
  44. sqldir = mysql_sql
    ) a  F+ D3 E9 y" }( J
  45. drivername = MySQL中$ g. m' Y4 Z8 {: w9 c; r" N! ?. {, W! @
  46. 数据库=测试4 v2 ]/ E* S1 Y) Y, p% F: X* {
  47. 主机=本地主机
    ) P6 E% M$ W# {( N
  48. user_name = testuser # p% h3 ]1 e6 @) |5 |; R
  49. 密码= my_password
      u; v7 j! U5 `& v1 C# Z4 ?
  50. getdriverfunc = getsqldrivermysql
    $ ~9 v9 s. Y% F6 g
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 # |1 j; {2 Q1 _4 X; `
  52. libraryname =. / libsqlmy.so + ~" j3 w8 C& ?- H0 v  u" Z; r
  53. 积极= 1 * d' ]% H5 V, E
  54. ---例如--- 4 Y6 H# r$ x8 y% D0 E! Z8 y

  55. " l& u( @2 r' t% x
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ( y/ Q3 F$ k) D; b. _
  57. ---例如--- % h- p4 {$ h* ^0 Y
  58. [ dbexpress ]
    # ^7 J2 K6 e- Z0 o( H
  59. sqldir = mysql_sql
    + ?4 t. @, c* k1 }( q2 k& ]7 L
  60. drivername = MySQL中* ^4 m/ `- m: L0 m! D. u0 o
  61. 数据库=测试
    : {; g7 [, n' A2 ^
  62. 主机= 127.0.0.1 - p6 b: v5 Y3 K# `& {$ P0 T) {
  63. user_name = testuser
    6 w. A2 u) N5 O: k9 B1 x+ _
  64. 密码= my_password
    ! S: T$ ?) X% e8 g% b0 F
  65. getdriverfunc = getsqldrivermysql
    * _: b+ h0 g, @, b9 Y9 N' d, f
  66. vendorlib = libmysql.dll在: W6 O9 v3 M' l& Y
  67. libraryname = dbexpmysql.dll
    1 G% M+ T( X3 o) e
  68. 积极= 1
    1 z9 G" P! _1 [7 R8 i; _
  69. ---例如----
    ( [* u  Z) e9 {# D9 ^2 W4 z
  70. -写在0 2.03.04由p wk.linuxfan
    9 n2 ^3 d! k# a% }, ]5 M' Y# D
复制代码
发表于 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; ^4 O$ r9 w9 ]4 d9 ~
9 z& x, u; E# ?  J2 D/ L$ W
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-8 05:31 , Processed in 0.090992 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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