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

2258 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan   F+ {9 p( O7 l% H7 |; y- e" w

0 m% ]4 }, b% n( I# t
  1. " F# G& j8 k0 u: O
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######. H" K, C# K1 ?. ?' m' M( ~
  3. / D) S# N- h6 C( E
  4. ### What we need ###
    9 U# t4 }; R: Z
  5. Naturally, we will need a MySQL server to store the data for us, this document % E* t; N: Y' {6 H& f& v6 P$ O
  6. will not explain how this can be done - there are documents out there for the ) b1 w* m9 Y$ K6 E3 Z' M
  7. interested. The requirements include a (empty) database for TeamSpeak to use- {% f! G3 O& Q) u# ]4 d
  8. and a user account (username + password) that has the permissions to do stuff
    ' _" P- q, Q; j6 Q' P/ F7 T
  9. with the database. Additionally, you will need a vendor library installed on the
    0 n/ Z' D" Z7 `# {1 a7 h, b+ l
  10. local machine, this came with my MySQL install.
    / E/ \2 i& o2 z% E+ x1 t* _% T$ C
  11. These instructions will not tell you how you might transfer your data from the) O. A8 n& @2 J: A& g" g2 E" y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ( s. b; y6 E. w: q% I+ L
  13. database.7 k3 W4 N8 j* H6 w) R' q" j
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    * W: j! z3 {2 B1 r6 q
  15. the time of writing, there are still too many issues - check the current status
    % L( x( {2 V) R
  16. in the TeamSpeak forums if you are interested.
    : J3 ?7 y$ d/ M) Q6 ~$ O
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from6 @" Q/ z# Q/ [9 R+ V! Y
  18. Borland was used. This driver can only interface with the client library that & g, f8 @" K# U# z. e
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    6 w2 u. z) L# `5 Z
  20. client library - basically all you have to do is to use a 3.x client library as 5 N% R+ o6 }5 D" x' z- q4 z
  21. "VendorLib" and a 4.x database to connect to.( Y" u* M0 i" c  w. z, d
  22. If you need more info about dbExpress, you can contact Borland.
    # ^5 j2 R+ M  _# O

  23. 0 T0 ~" \& L6 r9 K) b
  24. ### Doing the work ###  E! j: @2 Q% j& O
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    2 D( z, Z: Z0 x$ j
  26. the perquisites right, just open your server.ini file, and add this section at
    ' l  f9 G# w5 l8 q6 B4 X! \( F$ y
  27. the end:
    * L, Q/ L4 ]7 e' l: w  ]
  28. ---cut here---6 Q: h4 X1 G4 I& J, h" W
  29. [DBEXPRESS]8 X4 U6 \7 H/ H
  30. sqldir=mysql_sql8 f6 H: i7 x+ z1 }" j5 ^2 W
  31. Drivername=mysql
    * d& u5 |1 B% |' t# I; D, q
  32. Database=Your_Database_Name_Here
    3 @8 U2 y( r8 E8 d* ^& M6 m
  33. Hostname=The_PC_the_MySQL-Server_is_on
    2 w2 n4 F+ |- `
  34. User_name=User_name_on_the_MySQL-Server7 n3 P! [) P# S) I! N1 R! X
  35. Password=Password_to_go_with_above_user_name
    ! p8 I$ @* Y, o+ H7 Y1 [
  36. GetDriverFunc=getSQLDriverMYSQL8 T7 j9 W# f5 |& y  N
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib7 N' Z- ?' G# ]1 I. R! `
  38. LibraryName=path_to_libsqlmy_libary0 K* Z9 x% g( U% r
  39. Active=1
    ( x6 k4 ^/ b3 }# T' S
  40. ---cut here---# a9 Q* l9 |5 i0 u
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ; n. l7 P8 n. l
  42. ---example---7 e$ I' M6 i' L; N6 ~/ w
  43. [DBEXPRESS]
    7 G  _2 v6 ?3 H7 I( E; W
  44. sqldir=mysql_sql# g$ G, h+ ]  N
  45. Drivername=mysql; @8 F1 R3 f, ^) V% y% _
  46. Database=test
    * m  m; o1 x% H  E
  47. Hostname=localhost& r/ I% N4 N! e# i: D5 C, ]3 p# D
  48. User_name=testuser% p4 w+ z" i( a$ i5 }/ b& z
  49. Password=my_password5 e: s: d# \' A- r. c& z
  50. GetDriverFunc=getSQLDriverMYSQL1 \! p, k6 s0 R+ g  g. j! n
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ! s9 u6 |( c/ y$ `; K4 J
  52. LibraryName=./libsqlmy.so
    - p4 y8 Z; S: R3 c
  53. Active=1. q3 w. w& ]2 G  k
  54. ---example---
    . f- Y  ]! b* K5 C
  55. 0 j$ D$ i* g3 c7 M9 {8 ^; _, _
  56. On a windows box, also running the MySQL server locally, it would be:
    " c/ A* z1 l5 X9 d
  57. ---example---$ B# @+ j6 c9 t6 S4 q' A5 {
  58. [DBEXPRESS]
    ( a0 w1 j7 @% ^) c/ _5 u
  59. sqldir=mysql_sql
    ( m* f# {0 h( y- |
  60. Drivername=mysql8 ?: [( L3 t* Q6 w' `1 C, k
  61. Database=test$ R$ V' @) {' ~- F3 ^8 r
  62. Hostname=127.0.0.1
    ! J3 p7 @. L9 L7 A! B& x1 r: }
  63. User_name=testuser  }- ^) m) y: s2 S' B( K
  64. Password=my_password
    & [6 Y: k( g: {3 C8 e
  65. GetDriverFunc=getSQLDriverMYSQL. b1 k6 ^8 R6 R: e) ]5 y
  66. VendorLib=libmysql.dll1 ?' \0 U$ e5 Q
  67. LibraryName=dbexpmysql.dll
    ! M- I$ m6 O# n; k! v  J( h
  68. Active=1
    ! T0 E1 @" e1 R- o5 Y
  69. ---example----
    9 b7 t/ w& X& M
  70. - written 02.03.04 by pwk.linuxfan  q) u# @% d4 u) N2 ~# z

  71. ! \" Z* O7 m% r
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看6 \& u- R- q/ e* a  P9 T
  1. 2 U- g& K8 V% @0 k( d4 v/ p
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ) T0 U6 p% k+ k6 W7 P/ a! n7 e

  3. 0 e; o- |) u$ R
  4. # # #我们所需要# # #
    ' [( ?' y& {6 ~- w1 s
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    $ J2 S1 h/ S  p% x) ]: Y
  6. 不会解释如何做到这一点-也有文件存在,为# C/ B# M5 T# S8 i. R9 ?
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用9 K/ ?) W; D) N) S) \( Z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ) L3 Z/ S; I6 K. ?. }
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ! w6 b5 u# ]4 D. H0 F5 q
  10. 本地机器,这是我的MySQL安装。
    * b( f8 h  q6 H6 L# I
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从, _$ P$ q4 {" d* H+ @
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    % l( w' H8 C. i* M" i& ?
  13. 数据库。 ; @# U  b% b0 a- _
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在  H5 G) H3 G; u3 o
  15. 编写本报告的时候,仍然有太多的问题-检查现状( b4 E) Q0 O* H" T) k9 V
  16. 在teamspeak论坛,如果你有兴趣。 4 P7 h1 g) b+ x! [7 ^1 P' ^- o* {
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机3 V- }* {# Z: `$ v* y* N6 t
  18. Borland公司使用。这个司机只能界面与客户端库/ S, B& v4 K% f- G- V. g1 Z+ D
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这* K1 Q# n; f. V! j' {5 G5 K
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - y8 v- R! ]7 V7 T) V# v' V
  21. " vendorlib " ,并解数据库连接。 2 J) t7 n2 w1 a" w+ B
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ( r% Z# ^2 t0 d

  23. ! W8 B9 I* d# \: J" s0 i6 U
  24. # # #做好工作# # # 7 @# x& y$ H" Y# H, Q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都2 g; U. S) S! `5 l% q* y$ G
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    & W( p8 A# L4 u: I* b  H2 I
  27. 结束:
    ; n( C, H' t( T3 U3 ]! Z
  28. ---削减这里--- ' j  _) Q6 ?3 }' U1 V
  29. [ dbexpress ] ; }/ v% M( Z9 N6 ~
  30. sqldir = mysql_sql
    " j6 l( `2 G) S! t
  31. drivername = MySQL中5 W- I; i* \  g8 B# c
  32. 数据库= your_database_name_here - l: S4 m4 c$ b5 t5 b
  33. 主机= the_pc_the_mysql - server_is_on
    9 p' \1 F) l% r% x! O
  34. user_name = user_name_on_the_mysql服务器0 P: g; |: Z& N: \4 D" u4 l; o5 F
  35. 密码= password_to_go_with_above_user_name
    ' [( y! p- @2 K5 d( _
  36. getdriverfunc = getsqldrivermysql
    9 p# U* L  _0 T  F5 u  n8 V' `
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib , Y" A5 t% z8 R0 @: l" R' K
  38. libraryname = path_to_libsqlmy_libary
    ( s  k' D9 U. ?
  39. 积极= 1
    1 ]; I1 S5 M% L0 D/ }6 `- D( ]! I
  40. ---削减这里--- ' J" u: G6 g( ?/ f5 X. Q4 Z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    - i, ~) Z+ d+ {( D1 ~* M2 e) m) ^
  42. ---例如--- 5 y. Q" ^, \5 a  K5 f3 _5 W! l& t: q
  43. [ dbexpress ] + Y' k% F2 L9 Q% @4 g
  44. sqldir = mysql_sql
    # v3 l0 Y# Q5 Y/ p( S. K
  45. drivername = MySQL中, t8 P  ^+ A0 p0 c% N- v, r  f
  46. 数据库=测试7 |; x1 D6 i( K7 ~
  47. 主机=本地主机
    2 ^/ I# \+ @3 W9 J+ r* L: n
  48. user_name = testuser
    , h% m, T+ t  ^( O
  49. 密码= my_password
    2 A& }2 G3 S1 k  H5 H$ n8 {2 V
  50. getdriverfunc = getsqldrivermysql & y5 o+ e2 a. \2 u- n
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    5 g) ]( b' l/ z5 Q3 ^( M
  52. libraryname =. / libsqlmy.so # K) a* a' _( u& F0 @6 K- v9 y- p  @
  53. 积极= 1
    6 j* `! p. R2 K6 j! a0 S( L# j
  54. ---例如--- : }. ~  U2 a7 C6 h+ R  a+ m$ P
  55. ! a/ ]% C1 R- c) [) k/ v
  56. 对Windows中,也运行MySQL服务器本地的,那就是: * Q( ^9 a' m! ?% L0 I) {$ O) g3 D
  57. ---例如---
    1 [3 ^* V# A5 i( s% Y
  58. [ dbexpress ] ( C! S9 x8 n4 m; {
  59. sqldir = mysql_sql 1 N) A  s8 N. i) M0 W
  60. drivername = MySQL中
    . ^1 Q, F5 Q# y1 D" X) N, \
  61. 数据库=测试7 @; ^5 J; g2 Q7 W
  62. 主机= 127.0.0.1
    7 q$ [9 F+ X0 F& x2 C* P5 ^9 x
  63. user_name = testuser $ l+ x* Q+ Z" e4 H0 ~
  64. 密码= my_password 5 Z  x/ U$ Y5 T6 j
  65. getdriverfunc = getsqldrivermysql 0 R' F! s2 Z; w- ^# O
  66. vendorlib = libmysql.dll在& D: V2 I# v  H) Z, C, x1 `
  67. libraryname = dbexpmysql.dll 9 K4 s1 O: ^; Z, n! [! [
  68. 积极= 1 ! U* g4 l% k$ f3 t, e7 F) d# s
  69. ---例如---- & W$ O* _+ t8 ?: O
  70. -写在0 2.03.04由p wk.linuxfan
    " U& x) M0 b; {8 j- ~; ~* I% B
复制代码
发表于 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) m# F4 ~4 a* r( Z/ y5 g- Z
2 Y6 a  h" N) f. g: B$ 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-2-3 08:08 , Processed in 0.102933 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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