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

2782 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
4 ~# m, z+ ?! E% y" h* _/ O( W! Z1 P' {; I9 V. ?  [

  1. 9 Q1 `, o5 h/ g7 I
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    - D  M, F* j# B. z- H0 a! T
  3. 7 s+ e- J0 u6 h* F4 A
  4. ### What we need ###7 c" c. \) b( j; N9 |& L; f
  5. Naturally, we will need a MySQL server to store the data for us, this document
    " q7 q  O  W  X% @: y: p
  6. will not explain how this can be done - there are documents out there for the
    : p4 k, ~' o9 w. D4 ]' x1 T) j
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    6 L8 l" |* b* {8 j2 L
  8. and a user account (username + password) that has the permissions to do stuff
    2 [- p' v- X4 f5 N
  9. with the database. Additionally, you will need a vendor library installed on the! t# d$ v; |, Q2 e. J! G" V
  10. local machine, this came with my MySQL install.. Z) f- W3 K' u% O1 b
  11. These instructions will not tell you how you might transfer your data from the. S0 u, I* j& W7 u7 a+ u
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL& |4 V- O2 t% ]8 \* H2 E- [
  13. database.: V8 ^  g% o4 H: @$ R
  14. Some users have reported ways to import a SQLite database into MySQL, but at5 _% N6 @; G& x" w4 n4 S
  15. the time of writing, there are still too many issues - check the current status
    " b2 G7 s( t( ]7 G6 s* L2 `: h
  16. in the TeamSpeak forums if you are interested.
    * @" \1 l' x0 }% L
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from0 O* p7 c$ ~8 g% `. C/ Q# q( b
  18. Borland was used. This driver can only interface with the client library that ) `' k- N% b2 Z9 @# B. n$ u
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this+ v2 B9 m9 t# U6 e
  20. client library - basically all you have to do is to use a 3.x client library as
    " M1 t- D2 u" S$ R6 [% y
  21. "VendorLib" and a 4.x database to connect to.
    # z/ Q9 y1 h# a
  22. If you need more info about dbExpress, you can contact Borland./ ?7 _. @/ Q1 l# J; O

  23. & F) r* X8 S* o7 X$ l, o! {' l
  24. ### Doing the work ###; M8 o+ A! h; U; [! o. l6 b) d
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    # B; A, q# F7 ^2 J1 R# A
  26. the perquisites right, just open your server.ini file, and add this section at* v0 @; h) L: A
  27. the end:
    6 i; `! x, u$ I/ {+ D8 H+ L
  28. ---cut here---
      Y9 g# _- x4 w1 D  r; Y
  29. [DBEXPRESS]# m( Y' }; e, Y" [3 v) l5 v
  30. sqldir=mysql_sql
    # D1 C2 u) J6 h+ R; I1 G
  31. Drivername=mysql7 t1 w  }9 {- j' X- H& k3 T1 O' s
  32. Database=Your_Database_Name_Here# I/ A) d/ e* q
  33. Hostname=The_PC_the_MySQL-Server_is_on
    - S0 B' W2 f' T" B! h, r
  34. User_name=User_name_on_the_MySQL-Server0 Y* E, g) F4 U' S. @3 G* r0 Y
  35. Password=Password_to_go_with_above_user_name
    ( U2 V) D2 h! p0 P
  36. GetDriverFunc=getSQLDriverMYSQL
    8 m9 |* X3 ~* T3 G- W0 F
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ; s* |! O0 D& U9 t+ |
  38. LibraryName=path_to_libsqlmy_libary
    8 Z* @% w/ u( v
  39. Active=1+ p, q7 L; J5 `/ N
  40. ---cut here---
    + a# x; I4 H: c, o
  41. In my environment (a linux box with a MySQL server running locally) I have:
    8 N6 j0 A% s9 s# o7 Y
  42. ---example---, Z( E1 Y  x1 s8 M) y4 B1 o
  43. [DBEXPRESS]
    1 ?' I: ]. c  N% }- [' O
  44. sqldir=mysql_sql7 T4 T: y0 \; n" D4 S' _
  45. Drivername=mysql4 h! M! E7 b( U, B) B! X
  46. Database=test, t# D& }* Q# i! p) j1 F% u* Q
  47. Hostname=localhost
    ) @- B  v0 p# I, d
  48. User_name=testuser' X1 D/ R+ q1 u9 B
  49. Password=my_password* q; P8 [9 l; L+ E3 l, n
  50. GetDriverFunc=getSQLDriverMYSQL
    ! w# f3 u& t$ C+ D4 m
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.01 \: s; z7 o5 y$ S4 t5 W
  52. LibraryName=./libsqlmy.so
    * Z2 ^$ M) t( C: P( |
  53. Active=1* E1 {% d! {. q
  54. ---example---
    9 N- ^8 }* L: U

  55. 7 w, ?; `" P. I0 f
  56. On a windows box, also running the MySQL server locally, it would be:
    0 e0 @; }3 E: G
  57. ---example---) |! e1 Q2 Q) d7 t# \
  58. [DBEXPRESS]) n) k" C" p" x: d& _
  59. sqldir=mysql_sql. z  h. E4 C2 N1 u; E% D% }0 O6 T5 y
  60. Drivername=mysql
      f* w2 r+ m2 m4 g$ k
  61. Database=test
    * n( U1 X: r+ P; `9 {
  62. Hostname=127.0.0.14 l  Z; ?  P0 V: K
  63. User_name=testuser* u" z1 l8 P  x" Q, Y% d! ]
  64. Password=my_password
    9 s7 W1 C$ z  v! ?, }" U1 N# b
  65. GetDriverFunc=getSQLDriverMYSQL
    9 t" M/ f1 w1 Q4 F9 \7 b) S1 Z! Z
  66. VendorLib=libmysql.dll3 @8 f; f3 O  R" J
  67. LibraryName=dbexpmysql.dll
    2 e. W3 X# Q( t# i
  68. Active=1& y, w' D( m- u' G
  69. ---example----* M  c1 y7 Y2 m4 g3 r( [9 _) \
  70. - written 02.03.04 by pwk.linuxfan
    : b! B6 T  O; l  `: l4 M4 K

  71. & k$ P0 p" E* }. q4 ^, b
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
" l/ h' [2 R" R- f1 X

  1. - _$ I* |. d2 C9 W1 m
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      s+ ^0 i% H$ ~9 K" ?# h" k
  3. # a9 p9 `' x9 g3 I! g2 k$ T' l) o: b
  4. # # #我们所需要# # #
    ' q5 `+ `8 {" Q. q8 A
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    4 U3 }% O3 C% }+ Z& u
  6. 不会解释如何做到这一点-也有文件存在,为$ o: g: c, @9 W4 A
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用) V) u# s; @( _. q" R# u5 j
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & n9 x$ S& ^) q) E
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ) k& R4 h  X. E' l- n9 ]* j
  10. 本地机器,这是我的MySQL安装。 9 y. D1 E0 R' V/ n, N
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    5 J+ m7 [4 }& f% K
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL & F  c9 n3 i8 _- Q/ e% ^1 S+ `0 k
  13. 数据库。
    ) K3 g+ O6 O! p8 O6 g& o  {) `
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在& `% U8 [" I- u3 t. c* u/ q% e
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    7 u0 Z) {$ _' {( Q& G, a5 l3 A9 I6 C% G
  16. 在teamspeak论坛,如果你有兴趣。 $ n4 }) g. @- ?1 p/ ^( \
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机+ e3 i4 J% ?" q) m- X  o
  18. Borland公司使用。这个司机只能界面与客户端库
    ! _/ N- T9 l; J8 X2 n1 i( m
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    , B; d& l' d! m# l" ]: o! J9 J. C
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为& e& E: I$ H1 I; o: E4 a- T! a9 x
  21. " vendorlib " ,并解数据库连接。 3 W8 V7 J  H4 D8 I! k0 @# e
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 $ Z# M( a7 x5 A9 t

  23. $ k: d% S2 V* a: j" m4 K1 M) e
  24. # # #做好工作# # #
    ! e" Z% _0 o4 M% r" m2 }
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ! u/ P$ {9 h) Q, ]! R
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在4 t- D4 H2 e% J% p' x6 A' x! e
  27. 结束: % c, I8 W/ h3 E0 C7 }7 \
  28. ---削减这里---
    % O, x, Y+ ~% p7 Y, q6 ^" l, B
  29. [ dbexpress ]
    , ]- ^$ E6 d+ k/ k
  30. sqldir = mysql_sql
    - j2 u, w. J( W$ s. k
  31. drivername = MySQL中2 [. F5 R9 Q8 J. u2 s6 b+ ?/ `, a9 `
  32. 数据库= your_database_name_here 6 ^4 F7 N8 G$ X" s( K
  33. 主机= the_pc_the_mysql - server_is_on
    , O9 q" i9 _4 C) a+ n2 o1 u
  34. user_name = user_name_on_the_mysql服务器) m' l; @2 m: h* V) Q2 B
  35. 密码= password_to_go_with_above_user_name 9 y: J5 ~7 H2 @' U
  36. getdriverfunc = getsqldrivermysql
    8 ~, P2 a8 o4 K0 a5 K
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    & M3 {1 u8 J1 [( \, _
  38. libraryname = path_to_libsqlmy_libary 9 {& ^/ u3 a" |( \) E8 z
  39. 积极= 1
    - a6 s( }& m. S7 B4 K
  40. ---削减这里---
    + ]1 H. @: a) T( a
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 2 H+ c% ]. a. X" p$ [: {
  42. ---例如---
    ( V. _1 D/ x6 }$ i. b* i  Q
  43. [ dbexpress ]
    $ z" I  I0 M$ B7 D8 S# l! ~7 c; n
  44. sqldir = mysql_sql
    " U6 U! p, n/ q% j& J0 X
  45. drivername = MySQL中, Y# U" E# E* m5 q% v" G0 `9 }
  46. 数据库=测试! ~. |0 K" V1 g! r9 b$ T
  47. 主机=本地主机
    ! [! c3 D: }' K( _. `( D" T
  48. user_name = testuser 7 Y; d3 O% ^/ t+ X, j
  49. 密码= my_password : W3 l% c3 h/ z) V3 v$ E
  50. getdriverfunc = getsqldrivermysql
    9 I5 C. J" v( m0 `) I' v- B
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ' `) o) i! B( H- s$ c# Y; `! m- F
  52. libraryname =. / libsqlmy.so - d' m! P1 i: F. g% Z- ~1 `$ E
  53. 积极= 1
    " J4 |  g4 \, ~" k$ o( ?; j
  54. ---例如--- 9 C  }7 K% v, i* l2 e
  55. ) W6 l' m8 ~0 b4 ^  H" O( U, N
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ' v3 D$ l6 o# }% o" P
  57. ---例如--- 0 d, ?7 T/ f9 x. o! o
  58. [ dbexpress ]
    ) q0 b/ V" N4 P+ ]
  59. sqldir = mysql_sql 7 o' N: X. H( U4 b1 g. U
  60. drivername = MySQL中
    $ X- ]4 N0 j) B2 A
  61. 数据库=测试
    ; r, Y- w; Y1 S6 m( u' N& U3 w
  62. 主机= 127.0.0.1
    : K% m, @1 `' e% E3 r( D' f5 p5 p0 W
  63. user_name = testuser + z  k! I9 r! }- r7 g) ~; k0 E( g
  64. 密码= my_password
    : Q& W% K$ L2 F
  65. getdriverfunc = getsqldrivermysql & a4 |9 S" x- P. b8 H0 [0 }! N
  66. vendorlib = libmysql.dll在
    / @( m* I) h& f
  67. libraryname = dbexpmysql.dll
    , p$ o8 J% l) a  c2 t% W7 C9 _6 `
  68. 积极= 1
    - W) t; P# P" ^: x' d0 Y
  69. ---例如---- * `$ a' h' Z( }" v$ s
  70. -写在0 2.03.04由p wk.linuxfan
    / Z) @9 z! A# p/ Z6 ^/ ^
复制代码
发表于 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
3 c5 [6 e! B) N. m7 j7 d; ]3 h
& T0 f% A6 Z: ^- 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-20 12:25 , Processed in 0.090743 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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